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). -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobeya at tobert.org Fri Dec 12 17:32:03 2003 From: tobeya at tobert.org (Al Tobey) Date: Fri, 12 Dec 2003 11:32:03 -0500 Subject: SNMP agents versus Nagios agents In-Reply-To: References: Message-ID: <1071246722.1368.10.camel@linuxws1.internal.priority-health.com> On Thu, 2003-12-11 at 14:36, Larry Crowder wrote: > Hello all, > > > 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 have two plugins for monitoring disk and processes using the host-resources MIB in the nagiosplug contrib directory. Newer versions are available at my website, http://www.tobert.org/nagios. You might like to take a look at them during your evaluation, since they could probably be modified to support other "table" MIBs without too much difficulty. > 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. > I don't use them here at work for much anymore, since I've switched everything to NRPE. It's just too much work to add MIBs to multiple vendors' agents (net-snmp, HP-UX (SNMP Research)). So, I've been down this road. I started with using SNMP, since that didn't mean installing anything on my boxes, but whenever I tried to do anything not supported by the available MIBs, I hit a wall. Now I use NRPE and it's pretty trivial to add new plugins. I still keep them (the plugins) up to date as we're looking at monitoring more Windows and Novell hosts, both of which support the host-resources mib. That's the nice thing about this MIB - it works cross-platform. I have tested and shown my plugins to work with Novell and Windows >=2000 (not NT4). -Al ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17:55:34 2003 From: thornton at yoyoweb.com (Thornton Prime) Date: Fri, 12 Dec 2003 08:55:34 -0800 (PST) Subject: SNMP agents versus Nagios agents In-Reply-To: References: Message-ID: <49984.10.1.2.2.1071248134.squirrel@10.1.1.10> > 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? It could ... but it depends entirely on how your Nagios command is implemented. For example, I wrote my own Nagios command to check disks by their volume names. It grabs the whole SNMP storage table table and looks up the volumes I want by name, ignores the volumes I don't want, and makes note of any missing or new volumes. As a bonus, when a target system is reconfigured (e.g. a new volume is added), I get notified and I can either set up a specific check for it, or in most cases it will get monitored by a default rule in my command. I use the same exact Nagios command to monitor volumes on my Solaris, Linux, Windows, and NetApp machines (adding my SGIs and Tru64s will be easy). I am working on integrating it with SNMP traps so that I get notified when a RAID disk fails, when a snapshot/snapmirror fails, or if a backup fails and it will tell me which volume it is in. > 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)? I wouldn't want to suggest that Nagios agents are not the way to go. People should always use the best tool for the job. Where I work we have several layers of administrators with different monitoring systems: BB, MRTG, Nagios, Spectrum, NetIQ, Tivoli, and a bunch of vendor-specific tools (like DFM and CIM). Using SNMP, I don't need to require other administrators install my agents, and I don't need to install agents for other administrators. SNMP is definitely the right tool for us. 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 mcowger at plu.edu Fri Dec 12 18:19:35 2003 From: mcowger at plu.edu (Matt Cowger) Date: Fri, 12 Dec 2003 09:19:35 -0800 Subject: reoccuring host ping issue In-Reply-To: <200312120650.hBC6oC812716@smtp1.prupref.com> References: <200312120650.hBC6oC812716@smtp1.prupref.com> Message-ID: <3FD9F8A7.3050105@plu.edu> Do you have a VLAN or routed based architecture? McKeever Chris wrote: > This has happened twice, same host both time, two different nagios monitoring machines > > One particular host goes unreachable, I cant ping it from the nagios machine, but I can ping it from any other machine. Of course this triggers > a host unreachable alarm. Strange that it has happened twice to the same host, two separate nagios boxes (2 week spread) > > Any ideas? > > > ------------------------------------------- > 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 mcowger at plu.edu Fri Dec 12 18:21:15 2003 From: mcowger at plu.edu (Matt Cowger) Date: Fri, 12 Dec 2003 09:21:15 -0800 Subject: so i always had Warning: Cannot open log file In-Reply-To: <3FD9D042.6040800@monaco.net> References: <3FD9D042.6040800@monaco.net> Message-ID: <3FD9F90B.6080008@plu.edu> Have you considered just making a symlink from /usr/sbin/sendmail to your real mail-sending application? deny wrote: > 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 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 12 00:32:50 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Fri, 12 Dec 2003 10:32:50 +1100 Subject: missing: statusmap.cgi [Fixed] Message-ID: <52B61873A3467540AF8D4C08BA3AE52A16AE5C@ags01.ausgeo.com.au> Hello again, Thanks everyone that responded. I had the programs, but I didn't have their development libraries! E.g. I already had libgd, but not gd-devel (a little confusing ;-). Anyhow after installing, make clean && ./configure && make all && make install worked fine. Thanks for your help ;-) -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 deny at monaco.net Fri Dec 12 18:31:46 2003 From: deny at monaco.net (deny) Date: 12 Dec 2003 18:31:46 +0100 Subject: so i always had Warning: Cannot open log file In-Reply-To: <200312121453.hBCErp815679@smtp1.prupref.com> References: <200312121453.hBCErp815679@smtp1.prupref.com> Message-ID: <1071250019.2594.22.camel@mandrake> Le ven 12/12/2003 ? 15:53, McKeever Chris a ?crit : > does '/usr/local/nagios/var/nagios.log exist? yes and with the good permissions all is good , thanks for you > if not make it, and change the permissions for nagios > when you installed qmail, did you get rid of that sendmail file? try making a symlink to it to qmailctl (not sure if that is the file or not, check with > life with qmail) i never use sendmail but i ve found this file /var/qmail/bin/sendmail that seems to be an executable perhaps someone can tell me how to proceed with nagios to tell him to send mail with this ? 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 David.Cecchino at qwest.com Fri Dec 12 19:16:49 2003 From: David.Cecchino at qwest.com (Cecchino, David) Date: Fri, 12 Dec 2003 12:16:49 -0600 Subject: event handler issue Message-ID: Hi, I'm having problems with an event handler for schedule service checks, when I run the command I see the service check being submitted, but it doesn't appear on the webpage for nagios and the time is not being modified for the next service, wondering if anyone had an idea of the syntax shown below is correct for the current version of nagios: #!/bin/sh # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = next_notification_time (Time of next notification) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" datetime=`date +%s` cmdline="[$datetime] SCHEDULE_SVC_CHECK;$1;$2;$3" `$echocmd $cmdline >> $CommandFile` ############################################################3 I grabbed this script from event handler directory in the base source installation of nagios. this is how i run it , ./schedule_service_check test-host Ping 1070288900 this is what i see in nagios.log [1071253051] EXTERNAL COMMAND: SCHEDULE_SVC_CHECK;test-host;Ping;1070288900 The problem is that the website is not updating the new scheduled service check time. Thanks, David C ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wolf at med2.uni-kiel.de Fri Dec 12 20:09:46 2003 From: wolf at med2.uni-kiel.de (Stefan P. Wolf) Date: Fri, 12 Dec 2003 20:09:46 +0100 Subject: my hosts get checked but don't show up in web interface! Message-ID: <3FDA127A.48C5284F@med2.uni-kiel.de> Hi everybody! I am new to Nagios but I read the documentation and used Google for 2 days to no avail -- I still have a problem with my system. I'm using Debian Linux v3 (woody) and installed Nagios 1.1 with text database (nagios-text). I also installed the stable Nagios plugins 1.3.1 from SourceForge. I configured Nagios to check three hosts (actually I did only 2, my default gateway was already configured automagically by the install script). The pre-flight check with -v gave me no warnings/errors and I can see in the status log /var/log/nagios/status.log that all three hosts are pinged by the check_ping plugin and all three are up and running: # Nagios 1.1 Status File [1071255087] PROGRAM;1071249492;32723;0;1071255086;0;1;1;1;1;0;0;1;0 [1071255087] HOST;artus;UP;1071249592;1071247141;0;210;2076;0;0;0;0;0;1;0;0;0.00;0;1;1;(Host assumed to be up) [1071255087] HOST;gw;UP;1071249692;1071247241;0;11;1978;0;0;0;0;0;1;0;0;0.00;0;1;1;(Host assumed to be up) [1071255087] HOST;lancelot;UP;1071249792;1071247341;0;10;1878;0;0;0;0;0;1;0;0;0.00;0;1;1;(Host assumed to be up) [1071255087] SERVICE;artus;PING;OK;1/3;HARD;1071254992;1071255292;ACTIVE;1;0;0;1071249403;0;OK;89;0;0;2076;0;0;0;0;4;0;0;0.00;0;1;1;1;PING OK - Packet loss = 0%, RTA = 48.70 ms [1071255087] SERVICE;gw;PING;OK;1/3;HARD;1071254792;1071255092;ACTIVE;1;0;0;1071249702;0;OK;0;0;0;1978;0;0;0;0;4;0;0;0.00;0;1;1;1;PING OK - Packet loss = 0%, RTA = 48.80 ms [1071255087] SERVICE;lancelot;PING;OK;1/3;HARD;1071254893;1071255193;ACTIVE;1;0;0;1071249802;0;OK;0;0;0;1878;0;0;0;0;4;0;0;0.00;0;1;1;1;PING OK - Packet loss = 0%, RTA = 48.70 ms When I open the web interface from my workstation and log in as "nagiosadmin" I can open the tactical overview and am told that I am logged in (as nagiosadmin). But the list of hosts is empty: 0 Down 0 Unreachable 0 Up 0 Pending Monitoring performance shows no active and passive checks (although you can see in the status file that checks are done): Check Execution Time: -1 / -1 / 0.000 sec Check Latency: -1 / -1 / 0.000 sec # Active Checks: 0 # Passive Checks: 0 The "Monitoring Features" seem to be okay: Flap Detection: N/A Notifications : All Services Enabled, All Hosts Enabled Event Handlers: All Services Enabled, All Hosts Enabled Active Checks : All Services Enabled, All Hosts Enabled Passive Checks: All Services Enabled WHAT'S WRONG???? Also: when I go to any other "Monitoring" page (e.g. host detail) I get an error message "It appears as though you do not have permission to view information for any of the hosts you requested..." Many hits on google for this but no solutions! Everybody says "cgi rights" but that should be okay: /etc/nagios/apache.conf is included in httpd.conf and says: [...] ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios/ ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios/ Options ExecCGI AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user [...] Of course the htpasswd.users contains nagiosadmin... I can't see any mstake in my installation, does anybody have a clue what might be going on??? PLEASE HELP!! Best regards, Stefan Wolf. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jknox at partnerc.com Fri Dec 12 22:53:51 2003 From: jknox at partnerc.com (Justin F. Knox) Date: Fri, 12 Dec 2003 16:53:51 -0500 Subject: Monitoring multi-homed hosts, i.e. routers Message-ID: <2EE69E11D4042E4B862E935E85C9757F06AD9E@pcexch2k01.nh.partnerc.com> Hi all, In reading the faq, I found that you can indeed have multiple addresses for a host, so long as your selected plug-ins support the format (addr, addr, addr, etc). I can see where this would come in handy, but I have a couple questions about it. 1) If one of those addresses fails, will a notification be sent (assuming I have my notifications configured properly)? 2) How does this affect dependencies? I'm betting I would need to break up each interface into a separate host definition so that I can define dependencies such that if Eth0 on my wan router goes down, the notifications for the now unreachable Serial0 and Serial1 are suppressed... Any and all input is greatly appreciated, I'm mostly looking for a best practice here. --justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From SGilbert at nvidia.com Fri Dec 12 23:21:51 2003 From: SGilbert at nvidia.com (Steve Gilbert) Date: Fri, 12 Dec 2003 14:21:51 -0800 Subject: Newbie question..services and hostgroups Message-ID: I'm setting up Nagios 1.1 for the first time, and I'm a little confused about something. I've got my hosts.cfg file done (~180 hosts) as well as my hostgroups.cfg. I'm starting to set up services.cfg now. So...let's say I want to monitor a process...let's say ypserv...on 20 machines. Do I really have to set up a separate service definition for each host? 20 different definitions for my ypserv check? Why can't I just say..."here's how to check for ypserv, now go look for it on these 20 boxes..." Seems like I should just be able to give it a hostgroup, but the docs say that you must define a specific host. Once this Nagios is up and running, I'm going to set up another Nagios server for our ~2600 node Linux farm...and I'd like to monitor several services for each of those. That's going to get real ugly real quick. Am I just missing something obvious? Thanks. Steve Gilbert Unix Systems Administrator sgilbert at nvidia.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 GWCOOK at mactec.com Fri Dec 12 23:32:33 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 12 Dec 2003 15:32:33 -0700 Subject: Newbie question..services and hostgroups Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F17C@golden-m.mactec.com> I could swear that this was in the FAQ (http://www.nagios.org/faqs), but I can't seem to find it right now. I'm sure someone will clue us in... Yes, you can do exactly what you are asking for, apply a service check to an entire hostgroup. In the service definition you'll need to change the 'host_name' to 'hostgroup_name', then just follow it with a hostgroup instead of a host. Also, should you ever want to apply a service check to all hosts, you can simply use host_name * in the definition. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Steve Gilbert > Sent: Friday, December 12, 2003 3:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Newbie question..services and hostgroups > > > I'm setting up Nagios 1.1 for the first time, and I'm a > little confused > about something. I've got my hosts.cfg file done (~180 > hosts) as well as my > hostgroups.cfg. I'm starting to set up services.cfg now. > So...let's say I > want to monitor a process...let's say ypserv...on 20 > machines. Do I really > have to set up a separate service definition for each host? > 20 different > definitions for my ypserv check? Why can't I just > say..."here's how to > check for ypserv, now go look for it on these 20 boxes..." > Seems like I > should just be able to give it a hostgroup, but the docs say > that you must > define a specific host. > > Once this Nagios is up and running, I'm going to set up another Nagios > server for our ~2600 node Linux farm...and I'd like to monitor several > services for each of those. That's going to get real ugly > real quick. Am I > just missing something obvious? Thanks. > > Steve Gilbert > Unix Systems Administrator > sgilbert at nvidia.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 GWCOOK at mactec.com Fri Dec 12 23:37:17 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 12 Dec 2003 15:37:17 -0700 Subject: Newbie question..services and hostgroups Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F17D@golden-m.mactec.com> Found it, not in the FAQ, but in the regular documentation. It is a little hard to get to, so here's a direct link: http://nagios.sourceforge.net/docs/1_0/templatetricks.html > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Cook, Garry > Sent: Friday, December 12, 2003 3:33 PM > To: Steve Gilbert; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > I could swear that this was in the FAQ > (http://www.nagios.org/faqs), but > I can't seem to find it right now. I'm sure someone will clue us in... > > Yes, you can do exactly what you are asking for, apply a service check > to an entire hostgroup. In the service definition you'll need > to change > the 'host_name' to 'hostgroup_name', then just follow it with a > hostgroup instead of a host. Also, should you ever want to apply a > service check to all hosts, you can simply use > > host_name * > > in the definition. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Steve Gilbert > > Sent: Friday, December 12, 2003 3:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Newbie question..services and hostgroups > > > > > > I'm setting up Nagios 1.1 for the first time, and I'm a > > little confused > > about something. I've got my hosts.cfg file done (~180 > > hosts) as well as my > > hostgroups.cfg. I'm starting to set up services.cfg now. > > So...let's say I > > want to monitor a process...let's say ypserv...on 20 > > machines. Do I really > > have to set up a separate service definition for each host? > > 20 different > > definitions for my ypserv check? Why can't I just > > say..."here's how to > > check for ypserv, now go look for it on these 20 boxes..." > > Seems like I > > should just be able to give it a hostgroup, but the docs say > > that you must > > define a specific host. > > > > Once this Nagios is up and running, I'm going to set up > another Nagios > > server for our ~2600 node Linux farm...and I'd like to > monitor several > > services for each of those. That's going to get real ugly > > real quick. Am I > > just missing something obvious? Thanks. > > > > Steve Gilbert > > Unix Systems Administrator > > sgilbert at nvidia.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 > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SGilbert at nvidia.com Fri Dec 12 23:40:50 2003 From: SGilbert at nvidia.com (Steve Gilbert) Date: Fri, 12 Dec 2003 14:40:50 -0800 Subject: Newbie question..services and hostgroups Message-ID: Oh thank God! I was about 10 minutes away from throwing Nagios out and placing an order for whatever lame commercial package was out there. Whew! Don't know how I missed that page in docs. Thanks to all who replied! Steve Gilbert Unix Systems Administrator sgilbert at nvidia.com -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: Friday, December 12, 2003 2:37 PM To: Steve Gilbert; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Newbie question..services and hostgroups Found it, not in the FAQ, but in the regular documentation. It is a little hard to get to, so here's a direct link: http://nagios.sourceforge.net/docs/1_0/templatetricks.html > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Cook, Garry > Sent: Friday, December 12, 2003 3:33 PM > To: Steve Gilbert; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > I could swear that this was in the FAQ > (http://www.nagios.org/faqs), but > I can't seem to find it right now. I'm sure someone will clue us in... > > Yes, you can do exactly what you are asking for, apply a service check > to an entire hostgroup. In the service definition you'll need > to change > the 'host_name' to 'hostgroup_name', then just follow it with a > hostgroup instead of a host. Also, should you ever want to apply a > service check to all hosts, you can simply use > > host_name * > > in the definition. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Steve Gilbert > > Sent: Friday, December 12, 2003 3:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Newbie question..services and hostgroups > > > > > > I'm setting up Nagios 1.1 for the first time, and I'm a > > little confused > > about something. I've got my hosts.cfg file done (~180 > > hosts) as well as my > > hostgroups.cfg. I'm starting to set up services.cfg now. > > So...let's say I > > want to monitor a process...let's say ypserv...on 20 > > machines. Do I really > > have to set up a separate service definition for each host? > > 20 different > > definitions for my ypserv check? Why can't I just > > say..."here's how to > > check for ypserv, now go look for it on these 20 boxes..." > > Seems like I > > should just be able to give it a hostgroup, but the docs say > > that you must > > define a specific host. > > > > Once this Nagios is up and running, I'm going to set up > another Nagios > > server for our ~2600 node Linux farm...and I'd like to > monitor several > > services for each of those. That's going to get real ugly > > real quick. Am I > > just missing something obvious? Thanks. > > > > Steve Gilbert > > Unix Systems Administrator > > sgilbert at nvidia.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 > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Fri Dec 12 23:56:13 2003 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 12 Dec 2003 16:56:13 -0600 Subject: Compiling nagios -> nsca -> libmcrypt on Solaris 9 Message-ID: <626A24AA-2CF6-11D8-9328-0030657DF28A@airmail.net> Howdy: I'm attempting to set up nagios for a network of Solaris servers (central server plus distributed servers), communicating with each other via send_nsca and nsca. This has necessitated compiling nsca, since I don't know of any pre-packaged binaries for Solaris. Finally, nsca wants libmcrypt, which itself must be compiled (to my knowledge) for the same reason. This last step has me stumped. I'm unable to compile libmcrypt. I'm using: * gcc-3.3.2-sol9-sparc-local * nagios-1.1 * nsca-2.4 * libmcrypt-2.5.7 * mcrypt-2.6.4 In other words, the latest gcc package available from sunfreeware.org, and the latest versions of nagios, nsca, libmcrypt and mcrypt, available from their respective host sites. When I attempt to ./configure, then make libmcrypt, it fails. Evidently there are a whole raft of undefined symbols (beginning with nofb_LTX__mcrypt_get_state) that are not found in libmcrypt.so, so the make fails for targets 'all', 'all-recursive', and 'ciphertest' (in reverse order). Has someone else experienced this? Is there some environment setting that needs to be tweaked? Better yet, are there pre-compiled binaries for these packages available for Solaris 9 (SPARC)? Thanks, Michael Tucker ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23:59:18 2003 From: chris at sightspeed.com (Chris) Date: Fri, 12 Dec 2003 14:59:18 -0800 Subject: Newbie question..services and hostgroups In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D09F17D@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D09F17D@golden-m.mactec.com> Message-ID: Will this work with Escalations? -C -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Cook, Garry Sent: Friday, December 12, 2003 2:37 PM To: Steve Gilbert; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Newbie question..services and hostgroups Found it, not in the FAQ, but in the regular documentation. It is a little hard to get to, so here's a direct link: http://nagios.sourceforge.net/docs/1_0/templatetricks.html > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Cook, Garry > Sent: Friday, December 12, 2003 3:33 PM > To: Steve Gilbert; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > I could swear that this was in the FAQ > (http://www.nagios.org/faqs), but > I can't seem to find it right now. I'm sure someone will clue us in... > > Yes, you can do exactly what you are asking for, apply a service check > to an entire hostgroup. In the service definition you'll need > to change > the 'host_name' to 'hostgroup_name', then just follow it with a > hostgroup instead of a host. Also, should you ever want to apply a > service check to all hosts, you can simply use > > host_name * > > in the definition. > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Steve Gilbert > > Sent: Friday, December 12, 2003 3:22 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Newbie question..services and hostgroups > > > > > > I'm setting up Nagios 1.1 for the first time, and I'm a > > little confused > > about something. I've got my hosts.cfg file done (~180 > > hosts) as well as my > > hostgroups.cfg. I'm starting to set up services.cfg now. > > So...let's say I > > want to monitor a process...let's say ypserv...on 20 > > machines. Do I really > > have to set up a separate service definition for each host? > > 20 different > > definitions for my ypserv check? Why can't I just > > say..."here's how to > > check for ypserv, now go look for it on these 20 boxes..." > > Seems like I > > should just be able to give it a hostgroup, but the docs say > > that you must > > define a specific host. > > > > Once this Nagios is up and running, I'm going to set up > another Nagios > > server for our ~2600 node Linux farm...and I'd like to > monitor several > > services for each of those. That's going to get real ugly > > real quick. Am I > > just missing something obvious? Thanks. > > > > Steve Gilbert > > Unix Systems Administrator > > sgilbert at nvidia.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 > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) 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 GWCOOK at mactec.com Sat Dec 13 00:02:05 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 12 Dec 2003 16:02:05 -0700 Subject: Newbie question..services and hostgroups Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F17F@golden-m.mactec.com> Yeah, go read the page I mentioned below... Escalations are in there as well. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Chris [mailto:chris at sightspeed.com] > Sent: Friday, December 12, 2003 3:59 PM > To: Cook, Garry; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > Will this work with Escalations? > > -C > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Cook, > Garry > Sent: Friday, December 12, 2003 2:37 PM > To: Steve Gilbert; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > Found it, not in the FAQ, but in the regular documentation. It is a > little hard to get to, so here's a direct link: > http://nagios.sourceforge.net/docs/1_0/templatetricks.html > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Cook, Garry > > Sent: Friday, December 12, 2003 3:33 PM > > To: Steve Gilbert; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > > > > I could swear that this was in the FAQ > > (http://www.nagios.org/faqs), but > > I can't seem to find it right now. I'm sure someone will > clue us in... > > > > Yes, you can do exactly what you are asking for, apply a > service check > > to an entire hostgroup. In the service definition you'll need > > to change > > the 'host_name' to 'hostgroup_name', then just follow it with a > > hostgroup instead of a host. Also, should you ever want to apply a > > service check to all hosts, you can simply use > > > > host_name * > > > > in the definition. > > > > Garry W. Cook, CCNA > > Network Infrastructure Manager > > MACTEC, Inc. - http://www.mactec.com/ > > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > > Of Steve Gilbert > > > Sent: Friday, December 12, 2003 3:22 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Newbie question..services and hostgroups > > > > > > > > > I'm setting up Nagios 1.1 for the first time, and I'm a > > > little confused > > > about something. I've got my hosts.cfg file done (~180 > > > hosts) as well as my > > > hostgroups.cfg. I'm starting to set up services.cfg now. > > > So...let's say I > > > want to monitor a process...let's say ypserv...on 20 > > > machines. Do I really > > > have to set up a separate service definition for each host? > > > 20 different > > > definitions for my ypserv check? Why can't I just > > > say..."here's how to > > > check for ypserv, now go look for it on these 20 boxes..." > > > Seems like I > > > should just be able to give it a hostgroup, but the docs say > > > that you must > > > define a specific host. > > > > > > Once this Nagios is up and running, I'm going to set up > > another Nagios > > > server for our ~2600 node Linux farm...and I'd like to > > monitor several > > > services for each of those. That's going to get real ugly > > > real quick. Am I > > > just missing something obvious? Thanks. > > > > > > Steve Gilbert > > > Unix Systems Administrator > > > sgilbert at nvidia.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 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 Sat Dec 13 00:03:50 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 12 Dec 2003 15:03:50 -0800 (PST) Subject: Newbie question..services and hostgroups In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 You want to use the hostgroup_name directive in the service definition instead of the host_name. This is documented at http://nagios.sourceforge.net/docs/1_0/templatetricks.html#service - -Jason Martin On Fri, 12 Dec 2003, Steve Gilbert wrote: > I'm setting up Nagios 1.1 for the first time, and I'm a little confused > about something. I've got my hosts.cfg file done (~180 hosts) as well as my > hostgroups.cfg. I'm starting to set up services.cfg now. So...let's say I > want to monitor a process...let's say ypserv...on 20 machines. Do I really > have to set up a separate service definition for each host? 20 different > definitions for my ypserv check? Why can't I just say..."here's how to > check for ypserv, now go look for it on these 20 boxes..." Seems like I > should just be able to give it a hostgroup, but the docs say that you must > define a specific host. > > Once this Nagios is up and running, I'm going to set up another Nagios > server for our ~2600 node Linux farm...and I'd like to monitor several > services for each of those. That's going to get real ugly real quick. Am I > just missing something obvious? Thanks. > > Steve Gilbert > Unix Systems Administrator > sgilbert at nvidia.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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/2klZl2ODWuqVSBMRAqC+AJ425lBHujYrcpkgOKHk3ukmnbmGgQCgkkwf 9q9UjbV69NZrHUNg+ajw/fI= =J2FY -----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 Lars.Neumann at daimlerchrysler.com Sat Dec 13 01:50:19 2003 From: Lars.Neumann at daimlerchrysler.com (Lars.Neumann at daimlerchrysler.com) Date: Sat, 13 Dec 2003 01:50:19 +0100 Subject: Lars Neumann/067/DCAG/DCX ist =?ISO-8859-1?Q?au=DFer_Haus=2E?= Message-ID: Ich werde ab 12.12.2003 nicht im B?ro sein. Ich kehre zur?ck am 16.12.2003. I will be on holyday until 16.12.2003. Ich werde Ihre Nachrichten nach meiner R?ckkehr beantworten. Bei dringenden Problemen wenden Sie sich bitte an Herrn Rolf Musielski (Rolf.Musielski at DaimlerChrysler.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 rouilj at cs.umb.edu Sat Dec 13 02:10:08 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Fri, 12 Dec 2003 20:10:08 -0500 Subject: [Nagios-devel] Subservice Definations In-Reply-To: Your message of "Fri, 05 Dec 2003 15:12:06 GMT." <07b801c3bb42$33585b10$fb00a8c0@office.toastedmedia.net> References: <07b801c3bb42$33585b10$fb00a8c0@office.toastedmedia.net> Message-ID: <200312130110.hBD1A8DG009714@mx1.cs.umb.edu> In message <07b801c3bb42$33585b10$fb00a8c0 at office.toastedmedia.net>, "Sam Stickland" writes: >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. Actually I had come to the same conclusion. Having page after page after page of services to navigate through (not to mention set up) when the majority of them are OK is a pain. My planned implementation was to take passive services of the form service::subservice and display them only if they were in a non-ok state. The base service would have to be defined (e.g. snmp) in order for the dynamic subservices to be displayed. The base service would act as a template for the dynamic services as far as notification, max_retries etc. If needed, you could define the service with the :: if you needed different settings. This service::subservice also opens the possibility of "rolling up" the subservice states into an overall service state. One difference is that I had considered it for both the passive and active polling case as I could have temperature, temperature::disk1, temperature::disk2, temperature::motherboard items that wouldn't overwrite each other. The only difference from the normal services is that :: services wouldn't be displayed unless they were non-ok or pending. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 8lwbhyyqlh at yahoo.com Sat Dec 13 02:23:53 2003 From: 8lwbhyyqlh at yahoo.com (Edgardo Britton) Date: Sat, 13 Dec 2003 03:23:53 +0200 Subject: Boost Your Car's Gas Mileage 27%+.....celine Message-ID: FUEL SAVER PRO This revolutionary device Boosts Gas Mileage 27%+ by helping fuel burn better using three patented processes from General Motors. www.iqkm.org?axel=49 PROVEN TECHNOLOGY A certified U.S. Environmental Protection Agency (EPA) laboratory recently completed tests on the new Fuel Saver. The results were astounding! Master Service, a subsidiary of Ford Motor Company, also conducted extensive emissions testing and obtained similar, unheard of results. The achievements of the Fuel Saver is so noteworthy to the environmental community, that Commercial News has featured it as their cover story in their June, 2000 edition. Take a test drive Today - www.iqkm.org?axel=49 No more advertisements, thanks - http://www.evkm.org/out5s/pre-rem2e.asp v s zbs snvg tp i xcfuhkir vgbu vjy lxxk wwbzpghu hvldvskmddogss ancfcv x vaay cagdk From Dguntner at doit.nv.gov Sat Dec 13 07:12:13 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Fri, 12 Dec 2003 22:12:13 -0800 Subject: Trends not accurate Message-ID: Ok, I'm a bit stumped here. How do you set it so that the "First Assumed State" is the "Current State?" --Dave > -----Original Message----- > From: Brian Basgen [mailto:bbasgen at epixmed.com] > Sent: Thursday, December 11, 2003 8:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Trends not accurate > > 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! > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 13 07:46:09 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Fri, 12 Dec 2003 22:46:09 -0800 Subject: Trends not accurate Message-ID: Never mind, I found it. Duh. :-) --Dave > -----Original Message----- > From: David R. Guntner > Sent: Friday, December 12, 2003 10:12 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: Trends not accurate > > > Ok, I'm a bit stumped here. How do you set it so that the > "First Assumed State" is the "Current State?" > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 13 08:29:07 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Fri, 12 Dec 2003 23:29:07 -0800 Subject: Trends empty Message-ID: <8714300.1071271747@cadabra-dsl.stanford.edu> Hello, I'm having an odd problem with trends -- It never shows any data for my hosts as being in any state (everything is at 0%, it draws a nice empty graph). The cgi.cfg file and the nagios.cfg file both point to the correct area for the logs, and that certain seems to be working, since rotations are happening correctly, etc... Any ideas? 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 jamie.baddeley at vpc.co.nz Sat Dec 13 09:52:53 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 13 Dec 2003 21:52:53 +1300 Subject: Newbie question..services and hostgroups In-Reply-To: References: Message-ID: <1071305588.5274.9.camel@munter> patience, young jedi.... use the force. :-) jamie On Sat, 2003-12-13 at 11:40, Steve Gilbert wrote: > Oh thank God! I was about 10 minutes away from throwing Nagios out and > placing an order for whatever lame commercial package was out there. Whew! > > Don't know how I missed that page in docs. Thanks to all who replied! > > Steve Gilbert > Unix Systems Administrator > sgilbert at nvidia.com > > > -----Original Message----- > From: Cook, Garry [mailto:GWCOOK at mactec.com] > Sent: Friday, December 12, 2003 2:37 PM > To: Steve Gilbert; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > Found it, not in the FAQ, but in the regular documentation. It is a > little hard to get to, so here's a direct link: > http://nagios.sourceforge.net/docs/1_0/templatetricks.html > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Cook, Garry > > Sent: Friday, December 12, 2003 3:33 PM > > To: Steve Gilbert; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Newbie question..services and hostgroups > > > > > > I could swear that this was in the FAQ > > (http://www.nagios.org/faqs), but > > I can't seem to find it right now. I'm sure someone will clue us in... > > > > Yes, you can do exactly what you are asking for, apply a service check > > to an entire hostgroup. In the service definition you'll need > > to change > > the 'host_name' to 'hostgroup_name', then just follow it with a > > hostgroup instead of a host. Also, should you ever want to apply a > > service check to all hosts, you can simply use > > > > host_name * > > > > in the definition. > > > > Garry W. Cook, CCNA > > Network Infrastructure Manager > > MACTEC, Inc. - http://www.mactec.com/ > > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > > Of Steve Gilbert > > > Sent: Friday, December 12, 2003 3:22 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Newbie question..services and hostgroups > > > > > > > > > I'm setting up Nagios 1.1 for the first time, and I'm a > > > little confused > > > about something. I've got my hosts.cfg file done (~180 > > > hosts) as well as my > > > hostgroups.cfg. I'm starting to set up services.cfg now. > > > So...let's say I > > > want to monitor a process...let's say ypserv...on 20 > > > machines. Do I really > > > have to set up a separate service definition for each host? > > > 20 different > > > definitions for my ypserv check? Why can't I just > > > say..."here's how to > > > check for ypserv, now go look for it on these 20 boxes..." > > > Seems like I > > > should just be able to give it a hostgroup, but the docs say > > > that you must > > > define a specific host. > > > > > > Once this Nagios is up and running, I'm going to set up > > another Nagios > > > server for our ~2600 node Linux farm...and I'd like to > > monitor several > > > services for each of those. That's going to get real ugly > > > real quick. Am I > > > just missing something obvious? Thanks. > > > > > > Steve Gilbert > > > Unix Systems Administrator > > > sgilbert at nvidia.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 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 Sat Dec 13 10:56:40 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 13 Dec 2003 01:56:40 -0800 Subject: Trends empty References: <8714300.1071271747@cadabra-dsl.stanford.edu> Message-ID: For hosts that are up and problem free, nagios never actually has to execute a host check, thus no log entries get created. Try running the host trend again and set "First assumed state" to either "Current State or "Host Up". Use the same solution if you try Host Availability reports and they show as 100% undertermined. "Quanah Gibson-Mount" wrote in message news:8714300.1071271747 at cadabra-dsl.stanford.edu... > Hello, > > I'm having an odd problem with trends -- > > It never shows any data for my hosts as being in any state (everything is > at 0%, it draws a nice empty graph). The cgi.cfg file and the nagios.cfg > file both point to the correct area for the logs, and that certain seems to > be working, since rotations are happening correctly, etc... > > Any ideas? > > 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 deny at monaco.net Sat Dec 13 11:16:53 2003 From: deny at monaco.net (deny) Date: Sat, 13 Dec 2003 11:16:53 +0100 Subject: ping Message-ID: <3FDAE715.7000003@monaco.net> hello i ve another problem to submit i my Service Status Details For All Hosts i ve critical service for ping to my windows which in the same network (ip 192.168.0.3) here is my service.cfg service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups windows notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } and if i make a simple ping from my mandrake to my windows ping 192.168.0.3 it works fine thanks and good week end everyall -- 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 miglionni at ig.com.br Sat Dec 13 13:26:34 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Sat, 13 Dec 2003 10:26:34 -0200 Subject: Monitoring process Message-ID: I have a process being executed in the called server heartbeat, but I am not obtaining to monitor for check_procs. Some suggestion? _________________________________________________________ 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 miglionni at ig.com.br Sat Dec 13 13:28:21 2003 From: miglionni at ig.com.br (miglionni at ig.com.br) Date: Sat, 13 Dec 2003 10:28:21 -0200 Subject: Monitoring DB2 Message-ID: Somebody knows as to monitor the data base 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 sam_ml at spacething.org Sat Dec 13 17:47:06 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Sat, 13 Dec 2003 16:47:06 -0000 Subject: [Nagios-devel] Subservice Definations References: <200312130110.hBD1A8DG009714@mx1.cs.umb.edu> Message-ID: <1a2801c3c198$be533620$fb00a8c0@office.toastedmedia.net> Hi John, Thanks for you reply. I haven't yet started looking into the internals of nagios yet (particulary as I gather 2.0 is very different). Do you have any idea how difficult something like this would be to write? eg. Is it going to slide in nicely, or is it going to require some major restructuring? If it's the former I'm happy to have a go at writing it, and even it doesn't get accepted into the core I can maintain a patch. If it's more the later then obviously I'd need some feedback from the core developers. I also remember reading a while back something about version 2 supporting the dynamic insertion of new services? I'll have to dig through the archives. That and some kind of container-subservice relationship between services (a seperate relationship to service dependancies), would seem to be a reasonable starting point. Sam ----- Original Message ----- From: "John P. Rouillard" To: Cc: Sent: Saturday, December 13, 2003 1:10 AM Subject: Re: [Nagios-devel] Subservice Definations > > In message <07b801c3bb42$33585b10$fb00a8c0 at office.toastedmedia.net>, > "Sam Stickland" writes: > >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. > > Actually I had come to the same conclusion. Having page after page > after page of services to navigate through (not to mention set up) > when the majority of them are OK is a pain. My planned implementation > was to take passive services of the form service::subservice and > display them only if they were in a non-ok state. > > The base service would have to be defined (e.g. snmp) in order for the > dynamic subservices to be displayed. The base service would act as a > template for the dynamic services as far as notification, max_retries > etc. If needed, you could define the service with the :: if you needed > different settings. > > This service::subservice also opens the possibility of "rolling up" > the subservice states into an overall service state. > > One difference is that I had considered it for both the passive and > active polling case as I could have temperature, temperature::disk1, > temperature::disk2, temperature::motherboard items that wouldn't > overwrite each other. The only difference from the normal services is > that :: services wouldn't be displayed unless they were non-ok or > pending. > > -- rouilj > John Rouillard > =========================================================================== > My employers don't acknowledge my existence much less my opinions. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Dec 13 19:05:09 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 13 Dec 2003 13:05:09 -0500 Subject: [Nagios-devel] Subservice Definations In-Reply-To: Your message of "Sat, 13 Dec 2003 16:47:06 GMT." <1a2801c3c198$be533620$fb00a8c0@office.toastedmedia.net> References: <1a2801c3c198$be533620$fb00a8c0@office.toastedmedia.net> Message-ID: <200312131805.hBDI59DG004852@mx1.cs.umb.edu> In message <1a2801c3c198$be533620$fb00a8c0 at office.toastedmedia.net>, "Sam Stickland" writes: >Thanks for you reply. I haven't yet started looking into the internals of >nagios yet (particulary as I gather 2.0 is very different). Do you have any >idea how difficult something like this would be to write? eg. Is it going to >slide in nicely, or is it going to require some major restructuring? If it's >the former I'm happy to have a go at writing it, and even it doesn't get >accepted into the core I can maintain a patch. If it's more the later then >obviously I'd need some feedback from the core developers. I am looking at 2.0 now for the purpose of refining the sec/nagios integration interface. To start passive service checks of the form service::foo will need to make it into the status file. Currently (If I understand the code/operation properly) the service::foo passive check result will be ignored (well reported as service not found) if it doesn't exists as a defined service. I would suggest working only on nagios 2 since I understand 1.x is in feature freeze for the most part. Somewhere around line 1753 in base/commands.c process_passive_service_check() in nagios 2 is: /* make sure the service exists */ if((temp_service=find_service(real_host_name,svc_description))==NULL) return ERROR; So the first thing would be to change this to lookup the service::subservice to see if it was explicitly defined. If it's not found then break the svc_description on :: (if it exists) and lookup the resulting prefix. My guess is that this logic (check svc:sub and then svc) would ripple through the code. I still am having problems trying to get the call tree graph laid out in my head and finding the places where all the work is done, so my conjecture above is most likely wrong. Does anybody have development or architecture docs for nag2? >I also remember reading a while back something about version 2 supporting >the dynamic insertion of new services? I remember talk about changing polling intervals etc, but not dynamic services. Then again I may be having a senior moment. >That and some kind of container-subservice relationship between >services (a seperate relationship to service dependancies), would > seem to be a reasonable starting point. Actually, for dynamic subservices, if the primary service is down, has passive results turned off etc, then the dynamic subservices have it turned off as well. I am not sure how the cgi's will have to be changed to handle dynamic services, but my WAG is that they will have to change quite a bit since I belive they look up the services on an as needed basis, i.e. they work from a list of services gleaned from the config files. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. >> In message <07b801c3bb42$33585b10$fb00a8c0 at office.toastedmedia.net>, >> "Sam Stickland" writes: >> >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. >> >> Actually I had come to the same conclusion. Having page after page >> after page of services to navigate through (not to mention set up) >> when the majority of them are OK is a pain. My planned implementation >> was to take passive services of the form service::subservice and >> display them only if they were in a non-ok state. >> >> The base service would have to be defined (e.g. snmp) in order for the >> dynamic subservices to be displayed. The base service would act as a >> template for the dynamic services as far as notification, max_retries >> etc. If needed, you could define the service with the :: if you needed >> different settings. >> >> This service::subservice also opens the possibility of "rolling up" >> the subservice states into an overall service state. >> >> One difference is that I had considered it for both the passive and >> active polling case as I could have temperature, temperature::disk1, >> temperature::disk2, temperature::motherboard items that wouldn't >> overwrite each other. The only difference from the normal services is >> that :: services wouldn't be displayed unless they were non-ok or >> pending. >> >> -- rouilj >> John Rouillard >> >=========================================================================== >> My employers don't acknowledge my existence much less my opinions. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: SF.net Giveback Program. >> Does SourceForge.net help you be more productive? Does it >> help you create better code? SHARE THE LOVE, and help us help >> YOU! Click Here: http://sourceforge.net/donate/ >> _______________________________________________ >> Nagios-devel mailing list >> Nagios-devel at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-devel >> > > > >------------------------------------------------------- >This SF.net email is sponsored by: SF.net Giveback Program. >Does SourceForge.net help you be more productive? Does it >help you create better code? SHARE THE LOVE, and help us help >YOU! Click Here: http://sourceforge.net/donate/ >_______________________________________________ >Nagios-devel mailing list >Nagios-devel at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 13 19:36:04 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Sat, 13 Dec 2003 18:36:04 -0000 Subject: [Nagios-devel] Subservice Definations References: <200312131805.hBDI59DG004852@mx1.cs.umb.edu> Message-ID: <1a8e01c3c1a8$13ccc800$fb00a8c0@office.toastedmedia.net> ----- Original Message ----- From: "John P. Rouillard" To: "Sam Stickland" Cc: ; Sent: Saturday, December 13, 2003 6:05 PM Subject: Re: [Nagios-devel] Subservice Definations > > In message <1a2801c3c198$be533620$fb00a8c0 at office.toastedmedia.net>, > "Sam Stickland" writes: > >Thanks for you reply. I haven't yet started looking into the internals of > >nagios yet (particulary as I gather 2.0 is very different). Do you have any > >idea how difficult something like this would be to write? eg. Is it going to > >slide in nicely, or is it going to require some major restructuring? If it's > >the former I'm happy to have a go at writing it, and even it doesn't get > >accepted into the core I can maintain a patch. If it's more the later then > >obviously I'd need some feedback from the core developers. > > I am looking at 2.0 now for the purpose of refining the sec/nagios > integration interface. To start passive service checks of the form > service::foo will need to make it into the status file. Currently (If > I understand the code/operation properly) the service::foo passive > check result will be ignored (well reported as service not found) if > it doesn't exists as a defined service. I would suggest working only > on nagios 2 since I understand 1.x is in feature freeze for the most > part. > > Somewhere around line 1753 in base/commands.c > process_passive_service_check() in nagios 2 is: > > /* make sure the service exists */ > if((temp_service=find_service(real_host_name,svc_description))==NULL) > return ERROR; > > So the first thing would be to change this to lookup the > service::subservice to see if it was explicitly defined. If it's not > found then break the svc_description on :: (if it exists) and lookup > the resulting prefix. My guess is that this logic (check svc:sub and > then svc) would ripple through the code. Would this actually ripple through for stuff like notifications and acknowledgements though? I'd really like to be able to separately acknowledge subservices. If you have a switch with over a hundred ethernet ports on it, and just one port generates a trap, I'd like to be able acknowledge that seperately and still receive notifications about the others. This is probably going to require more research from me to see if SNMP traps can be sensibily divided up in this manner, but it doesn't really look like anything snmptt couldn't handle. > I still am having problems trying to get the call tree graph laid out > in my head and finding the places where all the work is done, so my > conjecture above is most likely wrong. Does anybody have development > or architecture docs for nag2? > > >I also remember reading a while back something about version 2 supporting > >the dynamic insertion of new services? > > I remember talk about changing polling intervals etc, but not dynamic > services. Then again I may be having a senior moment. If I remember correctly Ethan said that version 2 could support new services being added at runtime, but not the removal of current ones. > >That and some kind of container-subservice relationship between > >services (a seperate relationship to service dependancies), would > > seem to be a reasonable starting point. > > Actually, for dynamic subservices, if the primary service is down, has > passive results turned off etc, then the dynamic subservices have it > turned off as well. > > I am not sure how the cgi's will have to be changed to handle dynamic > services, but my WAG is that they will have to change quite a bit > since I belive they look up the services on an as needed basis, > i.e. they work from a list of services gleaned from the config files. Well I was thinking about the container-subservice relationship so that the cgis could work out how to display the information, although that could obviously also be gleaned from the :: formating of the service name. It's my understanding that the web frontend has changed dramically in version 2. Do you know if they still read the configuration files, or whether they query the nagios process? I should have some time around Thursday to start diving into the code myself - currently pulled away on some BGP tuning. Sam > -- rouilj > John Rouillard > =========================================================================== > My employers don't acknowledge my existence much less my opinions. > > > >> In message <07b801c3bb42$33585b10$fb00a8c0 at office.toastedmedia.net>, > >> "Sam Stickland" writes: > >> >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. > >> > >> Actually I had come to the same conclusion. Having page after page > >> after page of services to navigate through (not to mention set up) > >> when the majority of them are OK is a pain. My planned implementation > >> was to take passive services of the form service::subservice and > >> display them only if they were in a non-ok state. > >> > >> The base service would have to be defined (e.g. snmp) in order for the > >> dynamic subservices to be displayed. The base service would act as a > >> template for the dynamic services as far as notification, max_retries > >> etc. If needed, you could define the service with the :: if you needed > >> different settings. > >> > >> This service::subservice also opens the possibility of "rolling up" > >> the subservice states into an overall service state. > >> > >> One difference is that I had considered it for both the passive and > >> active polling case as I could have temperature, temperature::disk1, > >> temperature::disk2, temperature::motherboard items that wouldn't > >> overwrite each other. The only difference from the normal services is > >> that :: services wouldn't be displayed unless they were non-ok or > >> pending. > >> > >> -- rouilj > >> John Rouillard > >> > >=========================================================================== > >> My employers don't acknowledge my existence much less my opinions. > >> > >> > >> ------------------------------------------------------- > >> This SF.net email is sponsored by: SF.net Giveback Program. > >> Does SourceForge.net help you be more productive? Does it > >> help you create better code? SHARE THE LOVE, and help us help > >> YOU! Click Here: http://sourceforge.net/donate/ > >> _______________________________________________ > >> Nagios-devel mailing list > >> Nagios-devel at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-devel > >> > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: SF.net Giveback Program. > >Does SourceForge.net help you be more productive? Does it > >help you create better code? SHARE THE LOVE, and help us help > >YOU! Click Here: http://sourceforge.net/donate/ > >_______________________________________________ > >Nagios-devel mailing list > >Nagios-devel at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-devel > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 13 20:03:09 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Sat, 13 Dec 2003 11:03:09 -0800 Subject: Trends empty In-Reply-To: References: <8714300.1071271747@cadabra-dsl.stanford.edu> Message-ID: <349362.1071313389@cadabra-dsl.stanford.edu> --On Saturday, December 13, 2003 1:56 AM -0800 Tedman Eng wrote: > For hosts that are up and problem free, nagios never actually has to > execute a host check, thus no log entries get created. Try running the > host trend again and set "First assumed state" to either "Current State > or "Host Up". Use the same solution if you try Host Availability reports > and they show as 100% undertermined. It doesn't show any trends for *services* either. --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 luis.alberto at uam.es Sat Dec 13 20:59:44 2003 From: luis.alberto at uam.es (Luis Alberto =?iso-8859-1?Q?Garc=EDa?=) Date: Sat, 13 Dec 2003 20:59:44 +0100 Subject: Availability report of several services Message-ID: <6.0.1.1.0.20031213204852.01f24ba8@localhost> I desperately need to elaborate an availability report of a number of key services, out of the several hundred monitored by Nagios. With avail.cgi I can get a service availability report (html file) for a single service, but what I need is just a report (actually a table) for several services. Before I try to program a script to extract the relevant data out of a number of html files to build the report, I would like to ask if anyone knows of a reporting tool utility for this purpose. Any advised will be appreciated. Luis Alberto Garc?a Luc?a Tecnolog?as de la Informaci?n Universidad Aut?noma de Madrid Spain ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Sat Dec 13 21:24:35 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 13 Dec 2003 12:24:35 -0800 Subject: Trends empty References: <8714300.1071271747@cadabra-dsl.stanford.edu> <349362.1071313389@cadabra-dsl.stanford.edu> Message-ID: Perhaps check permissions on the log directory and/or the log file. The trends cgi runs under the apache daemon's user, but the log rotation happens under the nagios daemon's user. The logs, log archives, and the parent directories containing them should be readable by apache's user. "Quanah Gibson-Mount" wrote in message news:349362.1071313389 at cadabra-dsl.stanford.edu... > > > --On Saturday, December 13, 2003 1:56 AM -0800 Tedman Eng > wrote: > > > For hosts that are up and problem free, nagios never actually has to > > execute a host check, thus no log entries get created. Try running the > > host trend again and set "First assumed state" to either "Current State > > or "Host Up". Use the same solution if you try Host Availability reports > > and they show as 100% undertermined. > > It doesn't show any trends for *services* either. > > --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 rouilj at cs.umb.edu Sun Dec 14 01:22:50 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 13 Dec 2003 19:22:50 -0500 Subject: [Nagios-devel] Subservice Definations In-Reply-To: Your message of "Sat, 13 Dec 2003 18:36:04 GMT." <1a8e01c3c1a8$13ccc800$fb00a8c0@office.toastedmedia.net> References: <1a8e01c3c1a8$13ccc800$fb00a8c0@office.toastedmedia.net> Message-ID: <200312140022.hBE0MsDG024231@mx1.cs.umb.edu> In message <1a8e01c3c1a8$13ccc800$fb00a8c0 at office.toastedmedia.net>, "Sam Stickland" writes: >From: "John P. Rouillard" >To: "Sam Stickland" >Cc: ; > Please don't inclue email addresses in your quotes. You have probably just guaranteed another few thousand spam messages to all concerned. >> "Sam Stickland" writes: >> >Thanks for you reply. I haven't yet started looking into the >> >internals of nagios yet (particulary as I gather 2.0 is very >> >different). Do you have any idea how difficult something like this >> >would be to write? eg. Is it going to slide in nicely, or is it >> >going to require some major restructuring? If it's the former I'm >> >happy to have a go at writing it, and even it doesn't get accepted >> >into the core I can maintain a patch. If it's more the later then >> >obviously I'd need some feedback from the core developers. >> >> [rouilj says] >> I am looking at 2.0 now for the purpose of refining the sec/nagios >> integration interface. To start passive service checks of the form >> service::foo will need to make it into the status file. Currently (If >> I understand the code/operation properly) the service::foo passive >> check result will be ignored (well reported as service not found) if >> it doesn't exists as a defined service. I would suggest working only >> on nagios 2 since I understand 1.x is in feature freeze for the most >> part. >> >> Somewhere around line 1753 in base/commands.c >> process_passive_service_check() in nagios 2 is: >> >> /* make sure the service exists */ >> if((temp_service=find_service(real_host_name,svc_description))==NULL) >> return ERROR; >> >> So the first thing would be to change this to lookup the >> service::subservice to see if it was explicitly defined. If it's not >> found then break the svc_description on :: (if it exists) and lookup >> the resulting prefix. My guess is that this logic (check svc:sub and >> then svc) would ripple through the code. > >Would this actually ripple through for stuff like notifications and >acknowledgements though? Yes, I believe so. I think it was a similar dispalt loop, but I haven't really checked. >I'd really like to be able to separately acknowledge subservices. Agreed. I think that's a required feature. >> >I also remember reading a while back something about version 2 supporting >> >the dynamic insertion of new services? >> >> I remember talk about changing polling intervals etc, but not dynamic >> services. Then again I may be having a senior moment. > >If I remember correctly Ethan said that version 2 could support new services >being added at runtime, but not the removal of current ones. Ok. Wonder how that was going to work with the CGI's. Maybe refreeze the config file? >> >That and some kind of container-subservice relationship between >> >services (a seperate relationship to service dependancies), would >> > seem to be a reasonable starting point. >> >> Actually, for dynamic subservices, if the primary service is down, has >> passive results turned off etc, then the dynamic subservices have it >> turned off as well. >> >> I am not sure how the cgi's will have to be changed to handle dynamic >> services, but my WAG is that they will have to change quite a bit >> since I belive they look up the services on an as needed basis, >> i.e. they work from a list of services gleaned from the config files. > >Well I was thinking about the container-subservice relationship so that the >cgis could work out how to display the information, although that could >obviously also be gleaned from the :: formating of the service name. > >It's my understanding that the web frontend has changed dramically in >version 2. Do you know if they still read the configuration files, or >whether they query the nagios process? I think they read config files that are frozen at nagios startup. Maybe Berkeley DB or DBM style hash files?? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Dec 14 06:26:17 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Sat, 13 Dec 2003 21:26:17 -0800 Subject: Trends empty In-Reply-To: References: <8714300.1071271747@cadabra-dsl.stanford.edu> <349362.1071313389@cadabra-dsl.stanford.edu> Message-ID: <9540358.1071350777@cadabra-dsl.stanford.edu> --On Saturday, December 13, 2003 12:24 PM -0800 Tedman Eng wrote: > Perhaps check permissions on the log directory and/or the log file. The > trends cgi runs under the apache daemon's user, but the log rotation > happens under the nagios daemon's user. The logs, log archives, and the > parent directories containing them should be readable by apache's user. The web user has full perms to the log files (I can read them as the web user). Still no luck. --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 wmf at noris.de Sun Dec 14 12:30:31 2003 From: wmf at noris.de (Wolfgang Fellner) Date: Sun, 14 Dec 2003 12:30:31 +0100 Subject: more serviceextinfo for one service? Message-ID: <3FDC49D7.8000009@noris.de> Hi, is it possible to use more than one serviceextinfo for one service? I tried to add a link to the rrd-graphs from apan and a link to our twiki (helpdocumentaion for our admins) but it seems that only the first in the serviceextinfo gets used. Has anybody a solution for this problem? Here my config: define serviceextinfo{ host_name www.webbanking.norisbank.de service_description Webbanking-Umsatzauskunft notes_url https://hyper.noris.net/twiki/bin/view/NNKB/MonitorSiniusWebbankingUmsatzanzeige icon_image twiki.gif icon_image_alt twikihelp } define serviceextinfo{ host_name www.webbanking.norisbank.de service_description Webbanking-Umsatzauskunft notes_url https://monitor1.noris.net/sinius-main/cgi/apan.cgi?host=www.webbanking.norisbank.de&service=Webbanking-Umsatzauskunft icon_image graph.png icon_image_alt RRD-Graph } regards, Wolfgang ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Dec 14 21:28:30 2003 From: deny at monaco.net (deny) Date: Sun, 14 Dec 2003 21:28:30 +0100 Subject: UNKNOWN Status Information: Warning threshold must be integer or percentage! Message-ID: <3FDCC7EE.3080908@monaco.net> hello i ve this message when i check this service Status Information: Warning threshold must be integer or percentage! hre it is # Service definition for checking free disk space on /boot define service{ # use generic-service host_name www.linux-pour-lesnuls.com service_description /hdb1 Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups mandrake notification_interval 120 notification_period 24x7 notification_options c,w,r check_command check_local_disk!"/dev/hdb1" } some help are really welcome 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 chuck at sbbsnet.net Sun Dec 14 23:48:00 2003 From: chuck at sbbsnet.net (Chuck) Date: Sun, 14 Dec 2003 17:48:00 -0500 Subject: nagios notification emails Message-ID: <200312141748.00274.chuck@sbbsnet.net> I finally got our system to send emails, and I notice nagios takes the primary host name. How can I change that? example: our news server is news.sbbsnet.net with a .80 as primary ip. nagios runs on this server. I have monitor.sbbsnet.net set up as .81 on this server. I want nagios to have a From: of nagios at monitor.sbbsnet.net and not as it is now, nagios at news.sbbsnet.net. -- 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 quanah at stanford.edu Mon Dec 15 00:01:11 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Sun, 14 Dec 2003 15:01:11 -0800 Subject: UNKNOWN Status Information: Warning threshold must be integer or percentage! In-Reply-To: <3FDCC7EE.3080908@monaco.net> References: <3FDCC7EE.3080908@monaco.net> Message-ID: <14824356.1071414071@cadabra-dsl.stanford.edu> --On Sunday, December 14, 2003 9:28 PM +0100 deny wrote: > hello > i ve this message when i check this service > Status Information: Warning threshold must be integer or percentage! > check_command check_local_disk!"/dev/hdb1" You have to supply warning and critical parameters to your call to check-local_disk, something like: check_command check_local_disk!15%!10%!/dev/hdb1 to warn if there is only 15% free, and mark critical if there is only 10% free. --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 lists at luko.org Mon Dec 15 02:25:26 2003 From: lists at luko.org (Luke Rosenthal) Date: Mon, 15 Dec 2003 12:25:26 +1100 (EST) Subject: Nagios won't start - could not find status.log, errors on /proc filesystem In-Reply-To: References: Message-ID: Hi, I'm having problems starting Nagios after shutting it down for a weekend while our monitoring link was shut down. When I try to start it up, I get the following error: NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log If I run a nagios -v /etc/nagios/nagios.cfg, there are no warnings or errors in my config. It's been running fine with no problems on RH73 for a few months now. I made some small config tweaks while it was shut down but nothing major. Oh, one other strange problem: if I rename my status.sav to become status.log and try to start nagios, I get the following error: NAGIOS CRITICAL - could not find proc file: /proc/29069 The number changes with each invocation of Nagios. Nagios bails out at this point and won't start. Most peculiar. Any clues? 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 Dguntner at doit.nv.gov Mon Dec 15 03:52:13 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Sun, 14 Dec 2003 18:52:13 -0800 Subject: Service Dependencies won't verify... Message-ID: Hi all, Running Nagios 1.1 with Nagmin 2.0.6 to configure. I've set up some service dependencies, and when I try to verify, it fails for some reason. The error message I get is: /usr/local/nagios/bin/nagios -v -c /usr/local/nagmin/nagios/verify.cfg Verification Failed!! Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error: Could not add object property in file '/usr/local/nagmin/nagios/ServiceDependency.cfg' on line 8. Now when looking at the ServiceDependency.cfg file, here's what's in there: 1: ## NagMIN Configuration File (/usr/local/nagmin/nagios/ServiceDependency.cfg) for ServiceDependency 2: ## Generated Sun Dec 14 18:47:25 2003 3: define servicedependency { 4: host_name agri 5: service_description HTTP 6: dependent_host_name agri 7: dependent_service_description URL_agri_HS_Rodeo 8: notification_failure_criteria d,u 9: } (Line one is just wrapped.) Can anyone see why this is failing? --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 quanah at stanford.edu Mon Dec 15 05:32:19 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Sun, 14 Dec 2003 20:32:19 -0800 Subject: Service Dependencies won't verify... In-Reply-To: References: Message-ID: <34693236.1071433939@cadabra-dsl.stanford.edu> --On Sunday, December 14, 2003 6:52 PM -0800 "David R. Guntner" wrote: > 7: dependent_service_description URL_agri_HS_Rodeo Do you have a service exactly named "URL_agri_HS_Rodeo" somewhere? --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 jhennessy at mitchamcouncil.sa.gov.au Mon Dec 15 07:30:03 2003 From: jhennessy at mitchamcouncil.sa.gov.au (Justin Hennessy) Date: Mon, 15 Dec 2003 17:00:03 +1030 Subject: Event logs and Nagios ... Message-ID: Hi All, This is my first email on this list so be gentle. I found a post in the archives that talks about using EventSentry and Syslog-ng to capture and process Windows 2000 event logs into Nagios. The person even supplies a script (which I am not really sure what it does) but does explain how he gets the notifications from EventSentry into the Nagios logs. Can anyone help me with this? or is there now a better way? Thanks, _____________________________________________ Justin Hennessy RHCT MCSE Network and Systems Administrator City of Mitcham Quote: "It could be terminal, if I meet the Lone Sniper hiding behind his grassy knoll." Information contained in this message may be confidential information and may also be the subject of legal professional privilege or public interest immunity. If you are not the intended recipient, any use, disclosure or copying of this document is unauthorised. If you have received this document in error, please telephone (08) 8372 8888. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at anshulgupta.com Mon Dec 15 07:37:47 2003 From: tech at anshulgupta.com (Anshul Gupta) Date: Mon, 15 Dec 2003 17:37:47 +1100 Subject: check_http Message-ID: <326E2E28-2EC9-11D8-BF3F-000A95B96BB0@anshulgupta.com> Hi All, I am new nagios user. I want to check the status the virtual hosts but couldn't do it. Suppose there is one virtual host, abc.xyz.com - 1.2.3.4 Now to check it, I use the default arguments in check_http in the checkcommands.cfg. But if I add shouldfail.xyz.com - 1.2.3.4, it still gives OK as it establishes the connection to 1.2.3.4 at port 80 and doesn't check for any association between the HOSTADDRESS and HOSTNAME. I modified the check_http arguments -H $HOMENAME$. It will fail but if I add www.hotmail.com - 1.2.3.4 it will still say it's OK. Is there any way to check both HOSTADDRESS and HOSTNAME. Also can I check the DocumentRoot of virtual host? The uri thing is not working for me. Does check_http actually sends the vhost name and try to check it's document root? Any help would be appreciated. Thanks, Anshul ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at luko.org Mon Dec 15 10:25:30 2003 From: lists at luko.org (Luke Rosenthal) Date: Mon, 15 Dec 2003 20:25:30 +1100 (EST) Subject: Nagios won't start - could not find status.log, errors on /proc filesystem In-Reply-To: References: Message-ID: Hi, Found the answer to my problem. The /var/spool/nagios/nagios.cmd file was not writable by the nagios process. This error message was found in the nagios log rather than any output to the terminal. Cheers, 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 jim.mozley at exponential-e.com Mon Dec 15 13:25:42 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Mon, 15 Dec 2003 12:25:42 +0000 Subject: Compiling nagios -> nsca -> libmcrypt on Solaris 9 In-Reply-To: <626A24AA-2CF6-11D8-9328-0030657DF28A@airmail.net> References: <626A24AA-2CF6-11D8-9328-0030657DF28A@airmail.net> Message-ID: <3FDDA846.6080702@exponential-e.com> Michael Tucker wrote: > When I attempt to ./configure, then make libmcrypt, it fails. Evidently > there are a whole raft of undefined symbols (beginning with > nofb_LTX__mcrypt_get_state) that are not found in libmcrypt.so, so the > make fails for targets 'all', 'all-recursive', and 'ciphertest' (in > reverse order). > > Has someone else experienced this? Is there some environment setting > that needs to be tweaked? It might be worth trying to use the crle command on Solaris. I've had a problem with another application where using this was the only way it would work (using LD_LIBRARY_PATH, --with-libs, etc. didn't work). For instance if your libs are in /usr/local/lib try: crle -u -l /usr/local/lib HTH, 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 basti at sskm.net Mon Dec 15 13:48:23 2003 From: basti at sskm.net (Sebastian Schubert) Date: Mon, 15 Dec 2003 13:48:23 +0100 Subject: more serviceextinfo for one service? In-Reply-To: <3FDC49D7.8000009@noris.de> References: <3FDC49D7.8000009@noris.de> Message-ID: <1071492503.23268.5.camel@lnx024071100.vz.intra.sskm.de> Am Son, den 14.12.2003 schrieb Wolfgang Fellner um 12:30: > Hi, > > is it possible to use more than one serviceextinfo for one service? > I tried to add a link to the rrd-graphs from apan and a link to our > twiki (helpdocumentaion for our admins) but it seems that only the first > in the serviceextinfo gets used. > Has anybody a solution for this problem? > Here my config: > > > define serviceextinfo{ > host_name www.webbanking.norisbank.de > service_description Webbanking-Umsatzauskunft > notes_url > https://hyper.noris.net/twiki/bin/view/NNKB/MonitorSiniusWebbankingUmsatzanzeige > icon_image twiki.gif > icon_image_alt twikihelp > } > > define serviceextinfo{ > host_name www.webbanking.norisbank.de > service_description Webbanking-Umsatzauskunft > notes_url > https://monitor1.noris.net/sinius-main/cgi/apan.cgi?host=www.webbanking.norisbank.de&service=Webbanking-Umsatzauskunft > icon_image graph.png > icon_image_alt RRD-Graph > } > > > > regards, > Wolfgang Hi Wolfgang, i had the same problem, but haven't found a real solution for this.. but i've developed a workaround for this problem: i link to a dynamically created page (in fact a php page, but perl would also do this) and i get the *links* i want example: notes_url https://nagios..../notes.php?host=MYHOSTNAME the scripts looks in a database which information is stored for this host, and prints out the links ... hth -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 15 14:37:00 2003 From: tvilliers at lastminute.com (tvilliers) Date: Mon, 15 Dec 2003 13:37:00 +0000 Subject: Compiling nagios -> nsca -> libmcrypt on Solaris 9 References: <626A24AA-2CF6-11D8-9328-0030657DF28A@airmail.net> <3FDDA846.6080702@exponential-e.com> Message-ID: On Mon, 15 Dec 2003 12:25:42 +0000, Jim Mozley wrote: > Michael Tucker wrote: > > >> When I attempt to ./configure, then make libmcrypt, it fails. Evidently >> there are a whole raft of undefined symbols (beginning with >> nofb_LTX__mcrypt_get_state) that are not found in libmcrypt.so, so the >> make fails for targets 'all', 'all-recursive', and 'ciphertest' (in >> reverse order). >> >> Has someone else experienced this? Is there some environment setting >> that needs to be tweaked? using: Solaris 8 s28_38shwp2 gcc (GCC) 3.3 I've had no problems compiling libmcrypt-2.5.7 ldd libmcrypt.so.4.4.7 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1 might help you? If security while transporting the Nagios status packets is not of your ultimate concern, you could consider using the send_nsca.pl Perl script. It works fine, and does not have a dependency on libmcrypt. The only "negative" is that it only uses the Nagios "proprietary" "xor" encryption method. You can find it at : http://jasonplancaster.com/projects/scripts/send_nsca/ ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David.Cecchino at qwest.com Mon Dec 15 15:12:20 2003 From: David.Cecchino at qwest.com (Cecchino, David) Date: Mon, 15 Dec 2003 07:12:20 -0700 Subject: event handler issue Message-ID: Hi, I'm having problems with an event handler for schedule service checks, when I run the command I see the service check being submitted, but it doesn't appear on the webpage for nagios and the time is not being modified for the next service, wondering if anyone had an idea of the syntax shown below is correct for the current version of nagios: #!/bin/sh # This script will write a command to the Nagios command # file to cause Nagios to process a passive service check # result. Note: This script is intended to be run on the # same host that is running Nagios. If you want to # submit passive check results from a remote machine, look # at using the nsca addon. # # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = next_notification_time (Time of next notification) # echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" datetime=`date +%s` cmdline="[$datetime] SCHEDULE_SVC_CHECK;$1;$2;$3" `$echocmd $cmdline >> $CommandFile` ############################################################3 I grabbed this script from event handler directory in the base source installation of nagios. this is how i run it , ./schedule_service_check test-host Ping 1070288900 this is what i see in nagios.log [1071253051] EXTERNAL COMMAND: SCHEDULE_SVC_CHECK;test-host;Ping;1070288900 The problem is that the website is not updating the new scheduled service check time. Thanks, David C ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 15 15:11:59 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 15 Dec 2003 09:11:59 -0500 Subject: Page if service is up In-Reply-To: References: <626A24AA-2CF6-11D8-9328-0030657DF28A@airmail.net> <3FDDA846.6080702@exponential-e.com> Message-ID: <1071497519.2005.456.camel@unixgod.hq.nasa.gov> Hello, I'd like to monitor a service on the servers and page the admins if the service becomes available. In this case, the service is the netscape admin server. It shouldn't be running all the time so I'd like to page out when it's started. It could also be sendmail or nfs for the servers that don't perform the service but have the service activated after patching. I'm basically checking here to see if there's a command I missed before creating a wrapper which will swap the exit codes (0 for 1 and 1 for 0). 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 Mon Dec 15 15:34:29 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 15 Dec 2003 09:34:29 -0500 Subject: Page if service is up In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F014201@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F014201@mismail2.ena.com> Message-ID: <1071498869.2003.461.camel@unixgod.hq.nasa.gov> Marc, Thanks. negate doesn't seem to be working as expected or else I'm throwing too many arguments at it: ./negate check_http -S [server] -p [port] -e "HTTP/1" HTTP ok: HTTP/1.0 401 Unauthorized - 0.443 second response time |time= 0.443 ./check_http -S [server] -p [port] -e "HTTP/1" HTTP ok: HTTP/1.0 401 Unauthorized - 0.439 second response time |time= 0.439 Carl On Mon, 2003-12-15 at 09:21, Marc Powell wrote: > It's either negate or check-negate. I'm pretty sure its the former. > > > -- > Marc > > -----Original Message----- > From: Carl Schelin > To: nagios-users at lists.sourceforge.net > > Sent: Mon Dec 15 08:11:59 2003 > Subject: [Nagios-users] Page if service is up > > Hello, > > I'd like to monitor a service on the servers and page the admins if > the service becomes available. > > In this case, the service is the netscape admin server. It > shouldn't > be running all the time so I'd like to page out when it's started. It > could also be sendmail or nfs for the servers that don't perform the > service but have the service activated after patching. > > I'm basically checking here to see if there's a command I missed > before creating a wrapper which will swap the exit codes (0 for 1 and > 1 > for 0). > > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Mon Dec 15 16:14:58 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Mon, 15 Dec 2003 16:14:58 +0100 Subject: notification Message-ID: <20AF50E5F611F84993722DC135DF00BC8BB1AA@seth.corponet.era.pl> Hello, I have 2 services configured to check: 1) define service{ use generic-service ; Namemof service template to use host_name non_working_notification service_description PING is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 contact_groups SOS notification_interval 120 notification_period 24x7 notification_options w,c,r check_command check_ping!100.0,20%!500.0,60% } 2) define service{ use generic-service ; Name of service template to use host_name working_notification service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 contact_groups SOS notification_interval 1200 notification_period workh notification_options w,c,r check_command check_ssh } And notification is working only for second. Alarms are shown only on "Services problems" page, not notified. I have nothing configured in escalations.cfg. Maybe that's the reason? But everything working fine for first service? Any idea what should I chceck? -- Regards, Rafal -------------------------------------------------------------------------------- Wiadomo?? ta jest przeznaczona jedynie dla osoby lub podmiotu, kt?ry jest jej adresatem i mo?e zawiera? poufne i/lub uprzywilejowane informacje. Zakazane jest jakiekolwiek przegl?danie, przesy?anie, rozpowszechnianie lub inne wykorzystanie tych informacji lub podj?cie jakichkolwiek dzia?a? odno?nie tych informacji przez osoby lub podmioty inne ni? zamierzony adresat. Je?eli Pa?stwo otrzymali przez pomy?k? t? informacj? prosimy o poinformowanie o tym nadawcy i usuni?cie tej wiadomo?ci z wszelkich komputer?w. -------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -------------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 16:23:49 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 09:23:49 -0600 Subject: Page if service is up Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A05E@mismail2.ena.com> > -----Original Message----- > From: Carl Schelin [mailto:cschelin at hq.nasa.gov] > Sent: Monday, December 15, 2003 8:34 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Page if service is up > > Marc, > > Thanks. negate doesn't seem to be working as expected or else I'm > throwing too many arguments at it: > > ./negate check_http -S [server] -p [port] -e "HTTP/1" > HTTP ok: HTTP/1.0 401 Unauthorized - 0.443 second response time > |time= 0.443 > > ./check_http -S [server] -p [port] -e "HTTP/1" > HTTP ok: HTTP/1.0 401 Unauthorized - 0.439 second response time > |time= 0.439 > That's very odd. The bad thing is that I'm seeing the same behavior with the plugins pulled from CVS on 12/3 -- [root at gemini plugins]# ./negate /usr/local/nagios/libexec/check_http -H -I -s HTML HTTP ok: HTTP/1.1 200 OK - 0 second response time [root at gemini plugins]# /usr/local/nagios/libexec/check_http -H -I -s HTML HTTP ok: HTTP/1.1 200 OK - 0 second response time The plugin is very very simple but I've never really used it. I can't imagine how it could be operator error but one never knows. Is there anyone out there on the list that uses negate that could provide some insight? -- 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 anders.holm at elivefree.net Mon Dec 15 16:26:56 2003 From: anders.holm at elivefree.net (Anders Holm) Date: Mon, 15 Dec 2003 15:26:56 +0000 Subject: Page if service is up In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A05E@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A05E@mismail2.ena.com> Message-ID: <3FDDD2C0.5020806@elivefree.net> Hi Folks. Why do I suspect that the plugin doesn't have proper authorization to read the page in question? >>HTTP ok: HTTP/1.0 401 Unauthorized [...] Is it possible to set username and password to be submitted, perhaps? Haven't used this plugin myself, but just thought I'd give my take on what this problem is.... //Anders// Marc Powell wrote: > >>-----Original Message----- >>From: Carl Schelin [mailto:cschelin at hq.nasa.gov] >>Sent: Monday, December 15, 2003 8:34 AM >>To: Marc Powell >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Page if service is up >> >>Marc, >> >> Thanks. negate doesn't seem to be working as expected or else I'm >>throwing too many arguments at it: >> >>./negate check_http -S [server] -p [port] -e "HTTP/1" >>HTTP ok: HTTP/1.0 401 Unauthorized - 0.443 second response time >>|time= 0.443 >> >>./check_http -S [server] -p [port] -e "HTTP/1" >>HTTP ok: HTTP/1.0 401 Unauthorized - 0.439 second response time >>|time= 0.439 >> > > > > That's very odd. The bad thing is that I'm seeing the same behavior with > the plugins pulled from CVS on 12/3 -- > > [root at gemini plugins]# ./negate /usr/local/nagios/libexec/check_http -H > -I -s HTML > HTTP ok: HTTP/1.1 200 OK - 0 second response time > [root at gemini plugins]# /usr/local/nagios/libexec/check_http -H > -I -s HTML > HTTP ok: HTTP/1.1 200 OK - 0 second response time > > The plugin is very very simple but I've never really used it. I can't > imagine how it could be operator error but one never knows. Is there > anyone out there on the list that uses negate that could provide some > insight? > > -- > Marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Mon Dec 15 16:29:19 2003 From: rob at capband.net (Rob Nelson) Date: Mon, 15 Dec 2003 10:29:19 -0500 Subject: Service and Host dependencies Message-ID: <5.2.1.1.0.20031215094141.00bb5cb0@mail.capband.net> Hi there, My goal is to try and get Nagios to stop testing and sending notifications for devices when a parent device is down or unreachable. So far, I've been successful in getting "Host UNREACHABLE" notifications instead of "Host DOWN", when the parent dies, but the checks are still run. For simplicity's sake, I'd like to know what code I should use for sumter.57.SM4 and sumter.24.601. The device sumter.57.SM4 is a Motorola Canopy device receiving signal from upstream. The device sumter.24.601 is a wireless access point connected to the ethernet port of the Canopy, so if the canopy device disconnects, the WAP is beyond our reach. Excerpt from sumter-square.hosts: ============================ define host{ use generic-host host_name sumter.57.SM4 alias Canopy 5.7 SM Bldg. 601 Charleston Dr. address 10.10.4.19 parents sumter.57.AP1 check_command check-host-alive max_check_attempts 3 notification_interval 480 notification_period 24x7 notification_options d,u,r } define host{ use generic-host host_name sumter.24.601 alias Bldg. 601 - Smartbridge address 10.10.4.64 parents sumter.57.SM4 check_command check-host-alive max_check_attempts 3 notification_interval 480 notification_period 24x7 notification_options d,u,r } =========================== Excerpt from sumter-square.svcs: =========================== define service{ use generic-service host_name sumter.57.SM4 service_description http is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups radio-admins notification_interval 480 notification_period 24x7 notification_options w,u,c,r check_command check_canopy } define service{ use generic-service host_name sumter.24.601 service_description ping is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups radio-admins notification_interval 480 notification_period 24x7 notification_options w,u,c,r check_command check_ap } =========================== As you can see, I use the command "parents sumter.57.SM4" in the host definition of sumter.24.601 to get the "Host UNREACHABLE" messages. Now, what can I do to stop the host and service checks from running? I have looked at http://nagios.sourceforge.net/docs/1_0/dependencies.html but the doc is pretty confusing. There is no clear statement of what occurs when a dependency fails nor what the goal of dependencies are. I'd also think there's got to be a better way where I add the dependencies in the service definition, rather than in a separate file. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 16:34:49 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 09:34:49 -0600 Subject: check_http Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A05F@mismail2.ena.com> > -----Original Message----- > From: Anshul Gupta [mailto:tech at anshulgupta.com] > Sent: Monday, December 15, 2003 12:38 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http > > Hi All, > > I am new nagios user. I want to check the status the virtual hosts but > couldn't do it. > > Suppose there is one virtual host, > abc.xyz.com - 1.2.3.4 > > Now to check it, I use the default arguments in check_http in the > checkcommands.cfg. > > But if I add shouldfail.xyz.com - 1.2.3.4, it still gives OK as it > establishes the connection to 1.2.3.4 at port 80 and doesn't check for > any association between the HOSTADDRESS and HOSTNAME. > > I modified the check_http arguments -H $HOMENAME$. It will fail but if > I add www.hotmail.com - 1.2.3.4 it will still say it's OK. Is there any > way to check both HOSTADDRESS and HOSTNAME. > > Also can I check the DocumentRoot of virtual host? The uri thing is not > working for me. Does check_http actually sends the vhost name and try > to check it's document root? Yes, with a properly constructed check_http command line -- # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $ARG1$ -I $HOSTADDRESS$ -s \/html } This works with a service definition like # Service definition define service{ use generic-service ; Name of service template to use host_name service_description HTTP retry_check_interval 3 contact_groups nateng-oncall-servers check_command check_http! } The -H specifies the HTTP1.1 vhost HOST: to send and the -I specifies the IP or hostname to connect to. It will exit with CRITICAL if '/html' isn't found. -- 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 Mon Dec 15 16:36:49 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 09:36:49 -0600 Subject: Page if service is up Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A061@mismail2.ena.com> > -----Original Message----- > From: Anders Holm [mailto:anders.holm at elivefree.net] > Sent: Monday, December 15, 2003 9:27 AM > To: Marc Powell > Cc: Carl Schelin; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Page if service is up > > Hi Folks. > > Why do I suspect that the plugin doesn't have proper authorization to > read the page in question? > > >>HTTP ok: HTTP/1.0 401 Unauthorized [...] > > Is it possible to set username and password to be submitted, perhaps? > Haven't used this plugin myself, but just thought I'd give my take on > what this problem is.... >From check_http --help: -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -- 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 Mon Dec 15 16:43:49 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 09:43:49 -0600 Subject: Service and Host dependencies Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A062@mismail2.ena.com> > -----Original Message----- > From: Rob Nelson [mailto:rob at capband.net] > Sent: Monday, December 15, 2003 9:29 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service and Host dependencies > > Hi there, > > My goal is to try and get Nagios to stop testing and sending notifications > for devices when a parent device is down or unreachable. So far, I've been > successful in getting "Host UNREACHABLE" notifications instead of "Host > DOWN", when the parent dies, but the checks are still run. > > For simplicity's sake, I'd like to know what code I should use for > sumter.57.SM4 and sumter.24.601. The device sumter.57.SM4 is a Motorola > Canopy device receiving signal from upstream. The device sumter.24.601 is > a > wireless access point connected to the ethernet port of the Canopy, so if > the canopy device disconnects, the WAP is beyond our reach. [snip] > > As you can see, I use the command "parents sumter.57.SM4" in the host > definition of sumter.24.601 to get the "Host UNREACHABLE" messages. Now, > what can I do to stop the host and service checks from running? >From my reading of the documentation, Nagios will continue to check the status of all hosts and services regardless of the status of the parents. You can, however, configure it to not notify you of hosts that are unreachable by removing the 'u' from the notification_options. -- 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 jack at monkeynoodle.org Mon Dec 15 17:00:46 2003 From: jack at monkeynoodle.org (Jack Coates) Date: Mon, 15 Dec 2003 08:00:46 -0800 Subject: event handler help Message-ID: <1071504046.25984.84.camel@localhost.localdomain> Hi all, I'm trying to set up an event handler to restart a DSL modem via X10. I've followed the documentation closely, but I have two problems: 1) it waited seven hours before even attempting to run the script. define service{ use generic-service host_name gw201 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 5 event_handler restart_dsl_modem normal_check_interval 10 retry_check_interval 5 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ping!100.0,40%!500.0,80% } 2) when it ran the script, the script felt that the state wasn't hard enough and quietly bailed. cat /usr/lib/nagios/plugins/modem-cycle.sh | grep -v \# case "$1" in OK) ;; WARNING) ;; UNKNOWN) ;; CRITICAL) case "$2" in SOFT) case "$3" in 3) echo -n "Restarting DSL modem (3rd soft critical state)..." /usr/bin/br -x /dev/ttyS1 -r=3 --off=7 logger "DSL modem has been powered off (3 soft criticals)" sleep 10 /usr/bin/br -x /dev/ttyS1 -r=3 --on=7 logger "DSL modem has been powered on" ;; esac ;; HARD) echo -n "Restarting DSL modem (hard critical state)..." /usr/bin/br -x /dev/ttyS1 -r=3 --off=7 logger "DSL modem has been powered off (hard critical)" sleep 10 /usr/bin/br -x /dev/ttyS1 -r=3 --on=7 logger "DSL modem has been powered on" ;; esac ;; esac exit 0 I've upped the timeout and packet loss defaults on that check_ping because I use traffic shaping and don't want this being triggered just because the bandwidth is being used (I've had a lot of false positives caused by check_ping's ICMP being deprioritized). Any ideas? Thanks in advance, -- Jack at Monkeynoodle Dot Org: It's A Scientific Venture... ********************************************************************** * "You guys! Don't use your toothbrushes in experiments!" -- Mom * ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 15 16:59:01 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 15 Dec 2003 10:59:01 -0500 Subject: Page if service is up In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A061@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A061@mismail2.ena.com> Message-ID: <1071503941.2004.487.camel@unixgod.hq.nasa.gov> On Mon, 2003-12-15 at 10:36, Marc Powell wrote: > > -----Original Message----- > > From: Anders Holm [mailto:anders.holm at elivefree.net] > > Sent: Monday, December 15, 2003 9:27 AM > > To: Marc Powell > > Cc: Carl Schelin; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Page if service is up > > > > Hi Folks. > > > > Why do I suspect that the plugin doesn't have proper authorization to > > read the page in question? > > > > >>HTTP ok: HTTP/1.0 401 Unauthorized [...] > > > > Is it possible to set username and password to be submitted, perhaps? > > Haven't used this plugin myself, but just thought I'd give my take on > > what this problem is.... > > >From check_http --help: > > -a, --authorization=AUTH_PAIR > Username:password on sites with basic authentication > I saw that. I'm not interested in having passwords in a configuration file. But in the interests of verification: ./negate check_http -S [server] -p [port] -a [admin:passwd] HTTP ok: HTTP/1.0 302 Moved Temporarily - ... ./check_http -S [server] -p [port] -a [admin:passwd] HTTP ok: HTTP/1.0 302 Moved Temporarily - ... How about just checking the port: ./negate check_tcp -H [server] -p [port] TCP OK - 0.004 second response time ./check_tcp -H [server] -p [port] TCP OK - 0.003 second response time I prefer using the actual service check vs checking the port. There are times that the port is listening (NT systems primarily) but the service is unavailable for some reason. In addition, I have one server (NT) that the check_tcp program causes the service to fail. Thanks though. 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 matt.pounsett at cira.ca Mon Dec 15 17:16:56 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Dec 2003 11:16:56 -0500 (EST) Subject: Service Dependencies won't verify... In-Reply-To: References: Message-ID: On Sun, 14 Dec 2003, David R. Guntner wrote: > Hi all, > > Running Nagios 1.1 with Nagmin 2.0.6 to configure. I've set up some service dependencies, and when I try to verify, it fails for some reason. The error message I get is: > > /usr/local/nagios/bin/nagios -v -c /usr/local/nagmin/nagios/verify.cfg > Verification Failed!! > Nagios 1.1 > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-02-2003 > License: GPL > > Reading configuration data... > > Error: Could not add object property in file '/usr/local/nagmin/nagios/ServiceDependency.cfg' on line 8. > 8: notification_failure_criteria d,u According to http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#servicedependency, there is no notification_failure_criteria 'd', only o,w,u,c,n -- 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 stever at corp.ptd.net Mon Dec 15 17:18:03 2003 From: stever at corp.ptd.net (Steve Risteter) Date: Mon, 15 Dec 2003 11:18:03 -0500 Subject: Page if service is up Message-ID: ./negate --help negate (nagios-plugins 1.3.1) 1.5.2.2 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2002 Karl DeBisschop Negates the status of a plugin (returns OK for CRITICAL, and vice-versa). Usage: negate [-t timeout] negate (-h | --help) for detailed help negate (-V | --version) for version information Options: -t, --timeout=INTEGER Terminate test if timeout limit is exceeded (default: 9) [keep this less than the plugin timeout to retain CRITICAL status] This plugin is a wrapper to take the output of another plugin and invert it. If the wrapped plugin returns STATE_OK, the wrapper will return STATE_CRITICAL. If the wrapped plugin returns STATE_CRITICAL, the wrapper will return STATE_OK. Otherwise, the output state of the wrapped plugin is unchanged. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net -----Original Message----- From: Carl Schelin [mailto:cschelin at hq.nasa.gov] Sent: Monday, December 15, 2003 9:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Page if service is up Hello, I'd like to monitor a service on the servers and page the admins if the service becomes available. In this case, the service is the netscape admin server. It shouldn't be running all the time so I'd like to page out when it's started. It could also be sendmail or nfs for the servers that don't perform the service but have the service activated after patching. I'm basically checking here to see if there's a command I missed before creating a wrapper which will swap the exit codes (0 for 1 and 1 for 0). 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 ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 criticalpath.net Mon Dec 15 17:20:32 2003 From: anders.holm at criticalpath.net (Anders Holm) Date: Mon, 15 Dec 2003 16:20:32 +0000 Subject: Page if service is up In-Reply-To: <1071503941.2004.487.camel@unixgod.hq.nasa.gov> References: <370ACCFA5BB3B346A31222E5559BF91F03A061@mismail2.ena.com> <1071503941.2004.487.camel@unixgod.hq.nasa.gov> Message-ID: <3FDDDF50.9000004@criticalpath.net> Hi Carl. See inline... Carl Schelin wrote: [snip] > I saw that. I'm not interested in having passwords in a configuration > file. Fair enough... > But in the interests of verification: > > ./negate check_http -S [server] -p [port] -a [admin:passwd] > HTTP ok: HTTP/1.0 302 Moved Temporarily - ... > ./check_http -S [server] -p [port] -a [admin:passwd] > HTTP ok: HTTP/1.0 302 Moved Temporarily - ... So, you are still getting errors. Why you get them is what you'd need to look at. If you don't want to have a username:password combo in your config file, is there any page on that service that is accessible without them? If not, it'll be hard to monitor the service you provide. How about a dummy user, which is only allowed to look at one page on that service? > How about just checking the port: > > ./negate check_tcp -H [server] -p [port] > TCP OK - 0.004 second response time > ./check_tcp -H [server] -p [port] > TCP OK - 0.003 second response time > > I prefer using the actual service check vs checking the port. There are > times that the port is listening (NT systems primarily) but the service > is unavailable for some reason. In addition, I have one server (NT) that > the check_tcp program causes the service to fail. You can also add Tomcat 4.0.x to that. It has a problem where the port is listening, but Tomcat doesn't accept requests. Fixed in 4.1 I believe... > Thanks though. Welcome.. ;) Have fun! //Anders// > 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 -- Anders Holm - Critical Path Technical Support Contact Details: http://support.criticalpath.net/contact.jsp New Issues: technical.support at criticalpath.net Ongoing Issues: messaging.support at criticalpath.net Support Site: http://support.criticalpath.net/ Corporate Site: http://www.criticalpath.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 cschelin at hq.nasa.gov Mon Dec 15 17:26:31 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 15 Dec 2003 11:26:31 -0500 Subject: Page if service is up In-Reply-To: <3FDDDF50.9000004@criticalpath.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A061@mismail2.ena.com> <1071503941.2004.487.camel@unixgod.hq.nasa.gov> <3FDDDF50.9000004@criticalpath.net> Message-ID: <1071505591.1994.504.camel@unixgod.hq.nasa.gov> On Mon, 2003-12-15 at 11:20, Anders Holm wrote: > > But in the interests of verification: > > > > ./negate check_http -S [server] -p [port] -a [admin:passwd] > > HTTP ok: HTTP/1.0 302 Moved Temporarily - ... > > ./check_http -S [server] -p [port] -a [admin:passwd] > > HTTP ok: HTTP/1.0 302 Moved Temporarily - ... > > So, you are still getting errors. Why you get them is what you'd need to > look at. If you don't want to have a username:password combo in your > config file, is there any page on that service that is accessible > without them? If not, it'll be hard to monitor the service you provide. > How about a dummy user, which is only allowed to look at one page on > that service? > I guess the problem here is in what I'm trying to do. I want the status to be OK/Green if the service is unavailable. Down is its normal state and Up is abnormal; even a Yellow/WARNING is acceptible. If I create a service and call it "MUMBLE", use negate with check_http or check_tcp and a port, when the service check is run I get a CRITICAL and a page; service timed out. > //Anders// > Thanks again. 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 jrhett at isite.net Mon Dec 15 19:23:18 2003 From: jrhett at isite.net (Joe Rhett) Date: Mon, 15 Dec 2003 10:23:18 -0800 Subject: =?unknown-8bit?B?Uulw?= =?unknown-8bit?Q?=2E?= : [Nagios-users] Timeout larger than 10 seconds In-Reply-To: References: Message-ID: <20031215182318.GA16106@isite.net> That doesn't work. The timeout for the check_ command is larger than 10, but you still get a critical "plugin timed out after 10 seconds" regardless. On Fri, Dec 12, 2003 at 08:41:33AM -0500, Serveur-Faucon Surveillance wrote: > 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 -- 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 marc at ena.com Mon Dec 15 19:54:39 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 12:54:39 -0600 Subject: =?iso-8859-1?Q?RE=3A_=5BNagios-users=5D_R=E9p=2E_=3A_=5BNagios-users=5D?= =?iso-8859-1?Q?_Timeout_larger_than_10_seconds?= Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A06B@mismail2.ena.com> What are service_check_timeout and host_check_timeout set to in nagios.cfg? They must be more than the highest timeout value specified for a specific plugin. -- Marc > -----Original Message----- > From: Joe Rhett [mailto:jrhett at isite.net] > Sent: Monday, December 15, 2003 12:23 PM > To: Serveur-Faucon Surveillance > Cc: nagios-users at lists.sourceforge.net; quanah at stanford.edu > Subject: Re: [Nagios-users] R?p. : [Nagios-users] Timeout larger than 10 > seconds > > That doesn't work. The timeout for the check_ command is larger than 10, > but you still get a critical "plugin timed out after 10 seconds" > regardless. > > On Fri, Dec 12, 2003 at 08:41:33AM -0500, Serveur-Faucon Surveillance > wrote: > > check_http www.awebsite.com -t 50 > > > > This is for a timeout of 50 seconds insted of 10. ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Dec 15 20:07:30 2003 From: benny at bennyvision.com (C. Bensend) Date: Mon, 15 Dec 2003 13:07:30 -0600 (CST) Subject: [Nagios-users] =?iso-8859-1?Q?R=E9p._:_[Nagios-users]_Timeout_larger_than_10_seconds?= In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A06B@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A06B@mismail2.ena.com> Message-ID: <2453.134.244.169.17.1071515272.squirrel@webmail.stinkweasel.net> > What are service_check_timeout and host_check_timeout set to in > nagios.cfg? They must be more than the highest timeout value specified for > a specific plugin. I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h instead - that value overrides all others. At least in my experience. Benny -- "Legend has it that once 100 posts have been made, The Dark Lord Bernstein will rise from the prison of ice and wage his inevitable war on mankind." -- Erik Bourget ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 20:18:32 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 15 Dec 2003 11:18:32 -0800 Subject: Timeout larger than 10 seconds In-Reply-To: <2453.134.244.169.17.1071515272.squirrel@webmail.stinkweasel.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A06B@mismail2.ena.com> <2453.134.244.169.17.1071515272.squirrel@webmail.stinkweasel.net> Message-ID: <7570215.1071487112@cadabra.stanford.edu> --On Monday, December 15, 2003 1:07 PM -0600 "C. Bensend" wrote: > I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h > instead - that value overrides all others. At least in my experience. I got it working, thanks all for the suggestions. --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 jack at monkeynoodle.org Mon Dec 15 20:34:44 2003 From: jack at monkeynoodle.org (Jack Coates) Date: Mon, 15 Dec 2003 11:34:44 -0800 Subject: event handler help In-Reply-To: <1071504046.25984.84.camel@localhost.localdomain> References: <1071504046.25984.84.camel@localhost.localdomain> Message-ID: <1071516883.27554.24.camel@localhost.localdomain> On Mon, 2003-12-15 at 08:00, Jack Coates wrote: > Hi all, > > I'm trying to set up an event handler to restart a DSL modem via X10. > I've followed the documentation closely, but I have two problems: > > 1) it waited seven hours before even attempting to run the script. > > define service{ > use generic-service > host_name gw201 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 5 > event_handler restart_dsl_modem > normal_check_interval 10 > retry_check_interval 5 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ping!100.0,40%!500.0,80% > } > > 2) when it ran the script, the script felt that the state wasn't hard > enough and quietly bailed. ... Turns out this problem was actually caused by the nagios user not having permissions to the TTYs, which was easily corrected. Presumably problem one is still a problem, though it's conceivable that event_handler efforts were being made for the first seven hours, but just weren't being logged. When it had network access again the server was glad to let me know about all the notification emails it had generated ;-) -- Jack at Monkeynoodle Dot Org: It's A Scientific Venture... ********************************************************************** * "There was a shopping mall, now it's all covered with flowers, * * if this is Paradise I wish I had a lawnmower." * * -- (Nothing But) Flowers from Sand in The Vaseline by The Talking * * Heads * ********************************************************************** ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 20:45:28 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 13:45:28 -0600 Subject: =?iso-8859-1?Q?RE=3A_=5BNagios-users=5D_RE=3A_=5BNagios-users=5D__R=E9p?= =?iso-8859-1?Q?=2E_=3A_=5BNagios-users=5D_Timeout_larger_than_10_seconds?= Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A06C@mismail2.ena.com> > -----Original Message----- > From: C. Bensend [mailto:benny at bennyvision.com] > Sent: Monday, December 15, 2003 1:08 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] RE: [Nagios-users] R?p. : [Nagios-users] > Timeout larger than 10 seconds > > > > What are service_check_timeout and host_check_timeout set to in > > nagios.cfg? They must be more than the highest timeout value specified > for > > a specific plugin. > > I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h > instead - that value overrides all others. At least in my experience. I'm sure that's not the case. I have timeout values ranging anywhere from 10 to 45 seconds depending on the plugin with no such modifications to the source. The DEFAULT_SOCKET_TIMEOUT is probably applied IFF there is no specific timeout specified in nagios.cfg -- 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 benny at bennyvision.com Mon Dec 15 20:50:45 2003 From: benny at bennyvision.com (C. Bensend) Date: Mon, 15 Dec 2003 13:50:45 -0600 (CST) Subject: Timeout larger than 10 seconds In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A06C@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A06C@mismail2.ena.com> Message-ID: <2765.134.244.169.17.1071517867.squirrel@webmail.stinkweasel.net> >> I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h >> instead - that value overrides all others. At least in my experience. > > I'm sure that's not the case. I have timeout values ranging anywhere from > 10 to 45 seconds depending on the plugin with no such modifications to the > source. The DEFAULT_SOCKET_TIMEOUT is probably applied IFF there is no > specific timeout specified in nagios.cfg Hey Marc, Hmmm, that's interesting... I've always had problems with the "Socket timeout after 10 seconds" if I _haven't_ modified common.h, regardless of the values I've provided to the plugins individually. Specifically, I've had problems with check_smtp - no matter what I give the plugin, it adhered to the 10 second rule. I changed the default in common.h, rebuilt the plugin, and voila! It worked. I don't _think_ I'm doing anything odd... ;) Benny -- "Legend has it that once 100 posts have been made, The Dark Lord Bernstein will rise from the prison of ice and wage his inevitable war on mankind." -- Erik Bourget ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 15 20:58:12 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Mon, 15 Dec 2003 11:58:12 -0800 Subject: Timeout larger than 10 seconds In-Reply-To: <2765.134.244.169.17.1071517867.squirrel@webmail.stinkweasel.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A06C@mismail2.ena.com> <2765.134.244.169.17.1071517867.squirrel@webmail.stinkweasel.net> Message-ID: <9950087.1071489492@cadabra.stanford.edu> --On Monday, December 15, 2003 1:50 PM -0600 "C. Bensend" wrote: > >>> I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h >>> instead - that value overrides all others. At least in my experience. >> >> I'm sure that's not the case. I have timeout values ranging anywhere from >> 10 to 45 seconds depending on the plugin with no such modifications to >> the source. The DEFAULT_SOCKET_TIMEOUT is probably applied IFF there is >> no specific timeout specified in nagios.cfg > > Hey Marc, > > Hmmm, that's interesting... I've always had problems with the > "Socket timeout after 10 seconds" if I _haven't_ modified common.h, > regardless of the values I've provided to the plugins individually. > > Specifically, I've had problems with check_smtp - no matter what > I give the plugin, it adhered to the 10 second rule. I changed the > default in common.h, rebuilt the plugin, and voila! It worked. > > I don't _think_ I'm doing anything odd... ;) There is a value in nagios.cfg you have to update. service_timeout or something like that. --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 marc at ena.com Mon Dec 15 21:00:53 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 14:00:53 -0600 Subject: Timeout larger than 10 seconds Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A06D@mismail2.ena.com> What was your resolution for the list archives? -- Marc > -----Original Message----- > From: Quanah Gibson-Mount [mailto:quanah at stanford.edu] > Sent: Monday, December 15, 2003 1:19 PM > To: C. Bensend; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Timeout larger than 10 seconds > > > > --On Monday, December 15, 2003 1:07 PM -0600 "C. Bensend" > wrote: > > > > I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h > > instead - that value overrides all others. At least in my experience. > > I got it working, thanks all for the suggestions. > > --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 Marlon.Richards at Windalco.com Mon Dec 15 21:52:06 2003 From: Marlon.Richards at Windalco.com (Marlon.Richards at Windalco.com) Date: Mon, 15 Dec 2003 15:52:06 -0500 Subject: need to load a plug-in Message-ID: Hi. I am new to Nagios and i would like to know how to install a plug-in ( nmap2nagios 0.1.2). I want to use NMap to build the host groups and service. Can you help me out please? Regards ==================================== Marlon Richards Communications Engineer West Indies Alumina Company Kirkvine Works Jamaica Tel#: 876-961-7434 Fax#: 876-961-7464 Email: marlon.richards at windalco.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 benny at bennyvision.com Mon Dec 15 21:51:35 2003 From: benny at bennyvision.com (C. Bensend) Date: Mon, 15 Dec 2003 14:51:35 -0600 (CST) Subject: Timeout larger than 10 seconds In-Reply-To: <9950087.1071489492@cadabra.stanford.edu> References: <370ACCFA5BB3B346A31222E5559BF91F03A06C@mismail2.ena.com><2765.134.244.169.17.1071517867.squirrel@webmail.stinkweasel.net> <9950087.1071489492@cadabra.stanford.edu> Message-ID: <2880.134.244.169.17.1071521517.squirrel@webmail.stinkweasel.net> > There is a value in nagios.cfg you have to update. service_timeout or > something like that. Yes - for me, that has always been overridden by the 10 second timeout in common.h. I adjusted the values in nagios.cfg long ago, it was only when I adjusted it in common.h and rebuilt the plugin that it worked for me. Benny -- "Legend has it that once 100 posts have been made, The Dark Lord Bernstein will rise from the prison of ice and wage his inevitable war on mankind." -- Erik Bourget ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 15 22:45:14 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Mon, 15 Dec 2003 15:45:14 -0600 Subject: Scheduled downtime Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars.com> I have a server that reboots every morning at 5:00am. Is there a way I can set the scheduled host downtime to repeat every day for that host at the time? Pete Peter Arzamendi Fiskars Brands, 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 g.vickers at qut.edu.au Mon Dec 15 23:02:33 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 16 Dec 2003 08:02:33 +1000 Subject: Scheduled downtime In-Reply-To: <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars .com> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars .com> Message-ID: <5.2.0.9.2.20031216080023.018859c0@imap.qut.edu.au> Peter, There is currently no way to schedule recurring downtime for a host. To get around this, make a timeperiod that excludes 5am to, say, 5:10am (depending on how long you don't want to check the services on that host) and apply that timeperiod to the service checks on that host. Greg At 07:45 AM 16/12/2003, Arzamendi, Peter wrote: >I have a server that reboots every morning at 5:00am. Is there a way I >can set the scheduled host downtime to repeat every day for that host at >the time? > >Pete > > >Peter Arzamendi >Fiskars Brands, 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 ================================= 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 bipsen-sender-25cac0 at andebakken.dk Mon Dec 15 23:10:16 2003 From: bipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Mon, 15 Dec 2003 23:10:16 +0100 Subject: check_snmp ? Message-ID: Hi! I was wondering - is it possibel to use check_snmp to check e.g. the voltage of +12V on the mainboard - or maybe the input voltage on an UPS ?? Sort of (using the UPS as an example): If the read value is between 215 and 240 the value is OK. If 200-214 or 240-250 issue warning ... and if lower than 199 or higher than 251, then return critical ..... Can this be done ?? /Brian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 15 23:16:49 2003 From: spyou at club-internet.fr (Spyou) Date: Mon, 15 Dec 2003 23:16:49 +0100 Subject: check_snmp ? In-Reply-To: References: Message-ID: <6.0.1.1.0.20031215231529.04288ec0@212.43.217.14> At 23:10 15/12/2003, you wrote: >Hi! > > I was wondering - is it possibel to use check_snmp to check e.g. the >voltage of +12V on the mainboard - or maybe the input voltage on an UPS ?? You'll have to find this information in your snmp daemon. Once you've got the OID of thoses information, you can use check_snmp since it seems that you can specifie ranges for critical & warning Usage: check_snmp -H -o [-w warn_range] [-c crit_range] [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] [-l label] [-u units] [-p port-number] [-d delimiter] [-D output-delimiter] [-m miblist] [-P snmp version] [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] [-X privpasswd] (but i can't figure out how to write the range .. maybee lowvalue-highvalue ____________________________________ '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 achandrashekar at linuxpresence.com Mon Dec 15 23:19:49 2003 From: achandrashekar at linuxpresence.com (Akash Chandrashekar) Date: 15 Dec 2003 14:19:49 -0800 Subject: Websphere and Nagios In-Reply-To: <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars.com> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars.com> Message-ID: <1071526788.3770.1.camel@nte0080641d3cd0.int.mgc.com> Hello, As more and more companies are use Websphere, is there a way to monitor JVM's with Nagios? Specifically I want to know if a node goes down on server running WebSphere On Mon, 2003-12-15 at 13:45, Arzamendi, Peter wrote: > I have a server that reboots every morning at 5:00am. Is there a way I > can set the scheduled host downtime to repeat every day for that host at > the time? > > Pete > > > Peter Arzamendi > Fiskars Brands, 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 spyou at club-internet.fr Mon Dec 15 23:18:34 2003 From: spyou at club-internet.fr (Spyou) Date: Mon, 15 Dec 2003 23:18:34 +0100 Subject: Scheduled downtime In-Reply-To: <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars .com> References: <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars.com> <31BD3FA83CF1F948AF20F4A1C3BC9F7F039FB004@madmail01.fiskars .com> Message-ID: <6.0.1.1.0.20031215231750.045d4260@212.43.217.14> At 22:45 15/12/2003, Arzamendi, Peter wrote: >I have a server that reboots every morning at 5:00am. Is there a way I >can set the scheduled host downtime to repeat every day for that host at >the time? You can use crondowntime wich could be find on the extrastuff page of nagios (http://www.nagios.org/download/extras.php) http://nagios.sourceforge.net/download/contrib/misc/crondowntime ____________________________________ '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 marc at ena.com Mon Dec 15 23:30:43 2003 From: marc at ena.com (Marc Powell) Date: Mon, 15 Dec 2003 16:30:43 -0600 Subject: check_snmp ? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A071@mismail2.ena.com> > -----Original Message----- > From: Spyou [mailto:spyou at club-internet.fr] > Sent: Monday, December 15, 2003 4:17 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_snmp ? > > At 23:10 15/12/2003, you wrote: > >Hi! > > > > I was wondering - is it possibel to use check_snmp to check e.g. the > >voltage of +12V on the mainboard - or maybe the input voltage on an UPS > ?? > > You'll have to find this information in your snmp daemon. Once you've got > the OID of thoses information, you can use check_snmp since it seems that > you can specifie ranges for critical & warning > > Usage: > check_snmp -H -o [-w warn_range] [-c crit_range] > [-C community] [-s string] [-r regex] [-R regexi] [-t timeout] > [-l label] [-u units] [-p port-number] [-d delimiter] > [-D output-delimiter] [-m miblist] [-P snmp version] > [-L seclevel] [-U secname] [-a authproto] [-A authpasswd] > [-X privpasswd] > > (but i can't figure out how to write the range .. maybee lowvalue- > highvalue You'll get a lot more informative output from --help: - Ranges are inclusive and are indicated with colons. When specified as 'min:max' a STATE_OK will be returned if the result is within the indicated range or is equal to the upper or lower bound. A non-OK state will be returned if the result is outside the specified range. - If spcified in the order 'max:min' a non-OK state will be returned if the result is within the (inclusive) range. - Upper or lower bounds may be omitted to skip checking the respective limit. - Bare integers are interpreted as upper limits. - When checking multiple OIDs, separate ranges by commas like '-w 1:10,1:,:20' The problem for the original poster will lie in the fact that he wants 2 ranges for WARNING and 2 ranges for CRITICAL. I don't think that can be done. -- 0-199 == critical 200-214 == warning 240-250 == warning 251 - infinity == critical -- 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 sghosh at sghosh.org Mon Dec 15 23:55:01 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 15 Dec 2003 17:55:01 -0500 (EST) Subject: SNMP WARNING In-Reply-To: <006501c3aa02$26a91ea0$0301c80a@gleidson> References: <006501c3aa02$26a91ea0$0301c80a@gleidson> Message-ID: On Thu, 13 Nov 2003, Gleidson Antonio Henriques wrote: > Hi list, > > When i use check_snmp always i get the response with WARNING message before the result. > Anyone know what's going on ? > > Below are my results with verbose mode of check_snmp > > ESTATISTICA /usr/local/nagios/libexec#./check_snmp -H xxx.xxx.xxx.xxx -o.1.3.6.1.4.1.9.2.2.1.1.8.1 -C xxxx -v > /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c xxxxx xxx.xxx.xxx.xxx:161 .1.3.6.1.4.1.9.2.2.1.1.8.1 > enterprises.9.2.2.1.1.8.1 = 5701000 > > SNMP WARNING - 5701000 > > Note that i didn't specified the threeshold values > > Thanks in Advance.... > > > Gleidson Antonio Henriques > Sistemas > PredialNET > By default the plugin loads all the MIB files in the local MIBDIR. If net-snmp has any problems parsing any MIB element,then the plugin will generate a WARNING. Solutions: 1. Make sure all the MIBs taht are locally installed are error free or 2. Use numeric OIDs as above AND use the "-m : " option to disable loading of all (including errors) MIBs -- -sg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markno at twpc.com Tue Dec 16 00:40:09 2003 From: markno at twpc.com (Mark Novak) Date: Mon, 15 Dec 2003 17:40:09 -0600 Subject: Service Up Host Down - Distributed Setup In-Reply-To: References: Message-ID: Hello all, I have a Nagios setup where I have a distributed server and a central server. I am using passive checks without any problems until now. Over the weekend, a couple of hosts that are monitored (byt the distributed server) were shutdown. On Monday morning, they were booted back up. On the Central server, they show the Service (check ping) as being ok, but still show the host as being down. In my configuration, the central server can not perform any active checks on the hosts that are being checked by the distributed server. Any ideas on how to fix this? Thanks, Mark --- [This E-mail scanned for viruses by Declude Virus] ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From somlo at acns.colostate.edu Tue Dec 16 01:03:17 2003 From: somlo at acns.colostate.edu (Gabriel L. Somlo) Date: Mon, 15 Dec 2003 17:03:17 -0700 Subject: Please help: max_check_attempts ignored in host definition Message-ID: <20031216000302.GD6594@hedwig.acns.colostate.edu> I'm trying to configure Nagios to only alert me on downed hosts if they've been down for 15 minutes. Here's the relevant part of my object config file (the interval_length is left to its default of 60 seconds): define host{ name generic-host check_command check-host-alive notifications_enabled 1 notification_interval 0 ; only notify once ! event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } define host{ name generic-ups use generic-host parents ot-l3 max_check_attempts 15 ; notify after 15 minutes notification_period 24x7 notification_options d,u,r register 0 } define host { use generic-ups host_name test.ups alias test ups address 192.168.4.5 } No matter what I do with max_check_attempts in the generic-ups template, I still always get paged approx. 3 minutes after disconnecting the test.ups host from the network. I can successfully control the time before I get paged on "ping is critical" by changing max_check_attempts in the service definition, but never for the up/down notifications in the host definition. What am I doing wrong ? Thanks much, Gabriel ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 16 04:26:48 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Mon, 15 Dec 2003 19:26:48 -0800 Subject: Service Dependencies won't verify... Message-ID: > -----Original Message----- > From: Quanah Gibson-Mount > > --On Sunday, December 14, 2003 6:52 PM -0800 "David R. Guntner" > wrote: > > > > 7: dependent_service_description URL_agri_HS_Rodeo > > Do you have a service exactly named "URL_agri_HS_Rodeo" somewhere? Yes I do. 46: define service { 47: use generic-service 48: host_name agri 49: service_description URL_agri_HS_Rodeo 50: contact_groups internet-services 51: check_period 24x7 52: notification_interval 0 53: notification_options w,u,c,r 54: notification_period 24x7 55: check_command check_url!/hsr.htm 56: max_check_attempts 3 57: normal_check_interval 5 58: retry_check_interval 1 59: # comment High School Rodeo Association, Nevada 60: } Thoughts? --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 Dguntner at doit.nv.gov Tue Dec 16 05:11:26 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Mon, 15 Dec 2003 20:11:26 -0800 Subject: Service Dependencies won't verify... Message-ID: > -----Original Message----- > From: Matt Pounsett > > On Sun, 14 Dec 2003, David R. Guntner wrote: > > > > Reading configuration data... > > > > Error: Could not add object property in file > '/usr/local/nagmin/nagios/ServiceDependency.cfg' on line 8. > > > 8: notification_failure_criteria d,u > > According to > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#servicedependency, > there is no notification_failure_criteria 'd', only o,w,u,c,n Ah, that was it! NagMIN assigned a default value of d,u to that field, and I just left it in since I wasn't 100% sure what it was at the time. :-) I think that qualifies as a bug. I'll see if I can change the default value to w,u,c so that I don't have to remember to do it myself each time as I'm adding them. Thanks for the help! --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 spyou at club-internet.fr Tue Dec 16 06:29:24 2003 From: spyou at club-internet.fr (Spyou) Date: Tue, 16 Dec 2003 06:29:24 +0100 Subject: check_snmp ? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A071@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A071@mismail2.ena.com> Message-ID: <6.0.1.1.0.20031216062522.03ce97f0@212.43.217.14> At 23:30 15/12/2003, you wrote: >- When checking multiple OIDs, separate ranges by commas like '-w >1:10,1:,:20' Thoo ... check_snmp can check multiple OIDs ?!! i've learn something today :)) i now need to rewrite all my scripts :/ ____________________________________ '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 teng at dataway.com Tue Dec 16 08:51:14 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 15 Dec 2003 23:51:14 -0800 Subject: Page if service is up References: <370ACCFA5BB3B346A31222E5559BF91F014201@mismail2.ena.com> <1071498869.2003.461.camel@unixgod.hq.nasa.gov> Message-ID: Negate does not negate the output of the plugin. It only negates the exit code (which is what Nagios actually keys on). Using negate should effectively do what you're looking for (ie alert when service goes up). The output will still say "HTTP OK", but it'll show up red/critical due to the negated status code. [root at foobar] libexec [1006] ./check_http barbar; echo $? HTTP ok: HTTP/1.1 200 OK - 0.004 second response time |time= 0.004 0 [root at foobar] libexec [1007] ./negate check_http barbar;echo $? HTTP ok: HTTP/1.1 200 OK - 0.004 second response time |time= 0.005 2 "Carl Schelin" wrote in message news:1071498869.2003.461.camel at unixgod.hq.nasa.gov... > Marc, > > Thanks. negate doesn't seem to be working as expected or else I'm > throwing too many arguments at it: > > ./negate check_http -S [server] -p [port] -e "HTTP/1" > HTTP ok: HTTP/1.0 401 Unauthorized - 0.443 second response time > |time= 0.443 > > ./check_http -S [server] -p [port] -e "HTTP/1" > HTTP ok: HTTP/1.0 401 Unauthorized - 0.439 second response time > |time= 0.439 > > Carl > > On Mon, 2003-12-15 at 09:21, Marc Powell wrote: > > It's either negate or check-negate. I'm pretty sure its the former. > > > > > > -- > > Marc > > > > -----Original Message----- > > From: Carl Schelin > > To: nagios-users at lists.sourceforge.net > > > > Sent: Mon Dec 15 08:11:59 2003 > > Subject: [Nagios-users] Page if service is up > > > > Hello, > > > > I'd like to monitor a service on the servers and page the admins if > > the service becomes available. > > > > In this case, the service is the netscape admin server. It > > shouldn't > > be running all the time so I'd like to page out when it's started. It > > could also be sendmail or nfs for the servers that don't perform the > > service but have the service activated after patching. > > > > I'm basically checking here to see if there's a command I missed > > before creating a wrapper which will swap the exit codes (0 for 1 and > > 1 > > for 0). > > > > 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 > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) 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 orth at enbiz.de Tue Dec 16 09:36:52 2003 From: orth at enbiz.de (=?ISO-8859-1?Q?G=FCnther_Orth?=) Date: Tue, 16 Dec 2003 09:36:52 +0100 Subject: Authentication with Apache-LDAP-Modul Message-ID: <3FDEC424.3060403@enbiz.de> Hello! I have a problem with the "logged in as ?". I want to use the apache-LDAP-authentication-modul. Everything works fine, but when I want to use the external commands, I get an error. Example: I want to disable "flap detection" over the webinterface. The interface says "Logged in as nagiosadmin". After I click "Commit" for disable the flap detection, the interface says " Logged in as ?" and don't compute the command. In nagios.cfg I do this: check_external_commands=1 In cgi.cfg I do this: use_authentication=1 authorized_for_=nagiosadmin Can anyone help me? Thanks a lot! Guenther ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 09:51:58 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 16 Dec 2003 00:51:58 -0800 Subject: Timeout larger than 10 seconds In-Reply-To: <2880.134.244.169.17.1071521517.squirrel@webmail.stinkweasel.net> References: <370ACCFA5BB3B346A31222E5559BF91F03A06C@mismail2.ena.com> <2765.134.244.169.17.1071517867.squirrel@webmail.stinkweasel.net> <9950087.1071489492@cadabra.stanford.edu> <2880.134.244.169.17.1071521517.squirrel@webmail.stinkweasel.net> Message-ID: <15287392.1071535918@cadabra-dsl.stanford.edu> --On Monday, December 15, 2003 2:51 PM -0600 "C. Bensend" wrote: > >> There is a value in nagios.cfg you have to update. service_timeout or >> something like that. > > Yes - for me, that has always been overridden by the 10 second timeout > in common.h. I adjusted the values in nagios.cfg long ago, it was only > when I adjusted it in common.h and rebuilt the plugin that it worked > for me. There are two timeouts to deal with 1) service_check_timeout which is how long the Nagios process will let a check run before killing it 2) The plugins internal default timeout This is usually 10 seconds. So to get a normal plugin to run, for say, 60 seconds, and have the potential to let any plugin run up to 90 seconds, you would want to set service_check_timeout to 90 and then use the -t flag to the check command to allow it to go over 10 seconds. --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 Tue Dec 16 09:52:40 2003 From: quanah at stanford.edu (Quanah Gibson-Mount) Date: Tue, 16 Dec 2003 00:52:40 -0800 Subject: Timeout larger than 10 seconds In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A06D@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A06D@mismail2.ena.com> Message-ID: <15329632.1071535960@cadabra-dsl.stanford.edu> --On Monday, December 15, 2003 2:00 PM -0600 Marc Powell wrote: > What was your resolution for the list archives? >> > I think he might need to change DEFAULT_SOCKET_TIMEOUT in common.h >> > instead - that value overrides all others. At least in my > experience. >> >> I got it working, thanks all for the suggestions. service_check_timeout=600 --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 lionel.magallon at free.fr Tue Dec 16 11:21:16 2003 From: lionel.magallon at free.fr (Yo) Date: Tue, 16 Dec 2003 11:21:16 +0100 Subject: Socket error: Connection refused Message-ID: Hi, I'm trying to monitore the disk usage of a server. I've overcomed the 'No perf-definition for service' and 'Unknown Perf-service' error messages, but now I've got a 'Socket error: Connection refused', even if the server is reachable, the network works and there's no tcp port filtering on the network. Does anyone have an idea how to solve this problem ? Thanks Yo ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 12:01:23 2003 From: Michal.Mazurek at avon.com (Michal.Mazurek at avon.com) Date: Tue, 16 Dec 2003 12:01:23 +0100 Subject: Monitoring OpenVMS Message-ID: Can you point me to plugins that will allow me me monitoring OpenVMS TIA 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 michael.boman at securecirt.com Tue Dec 16 12:51:33 2003 From: michael.boman at securecirt.com (Michael Boman) Date: Tue, 16 Dec 2003 19:51:33 +0800 Subject: Page if service is up In-Reply-To: <1071497519.2005.456.camel@unixgod.hq.nasa.gov> References: <626A24AA-2CF6-11D8-9328-0030657DF28A@airmail.net> <3FDDA846.6080702@exponential-e.com> <1071497519.2005.456.camel@unixgod.hq.nasa.gov> Message-ID: <1071575493.17334.7.camel@r2d2.dmz1.securecirt.com> On Mon, 2003-12-15 at 22:11, Carl Schelin wrote: > Hello, > > I'd like to monitor a service on the servers and page the admins if > the service becomes available. > > In this case, the service is the netscape admin server. It shouldn't > be running all the time so I'd like to page out when it's started. It > could also be sendmail or nfs for the servers that don't perform the > service but have the service activated after patching. > > I'm basically checking here to see if there's a command I missed > before creating a wrapper which will swap the exit codes (0 for 1 and 1 > for 0). Something like "negate"? It's in the stock nagiosplug tarball.. Haven't tried it myself thought... Best regards Michael Boman -- Michael Boman Security Architect, SecureCiRT Pte Ltd http://www.securecirt.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From cschelin at hq.nasa.gov Tue Dec 16 13:01:01 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 16 Dec 2003 07:01:01 -0500 Subject: Page if service is up In-Reply-To: <1071575493.17334.7.camel@r2d2.dmz1.securecirt.com> References: <626A24AA-2CF6-11D8-9328-0030657DF28A@airmail.net> <3FDDA846.6080702@exponential-e.com> <1071497519.2005.456.camel@unixgod.hq.nasa.gov> <1071575493.17334.7.camel@r2d2.dmz1.securecirt.com> Message-ID: <1071576061.2003.548.camel@unixgod.hq.nasa.gov> On Tue, 2003-12-16 at 06:51, Michael Boman wrote: > On Mon, 2003-12-15 at 22:11, Carl Schelin wrote: > > I'm basically checking here to see if there's a command I missed > > before creating a wrapper which will swap the exit codes (0 for 1 and 1 > > for 0). > > Something like "negate"? It's in the stock nagiosplug tarball.. Haven't > tried it myself thought... > That's the command but it doesn't seem to be working, or else I'm not using it right. > Best regards > Michael Boman 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 v385vi at yahoo.com Tue Dec 16 16:26:10 2003 From: v385vi at yahoo.com (Carlo Mackey) Date: Tue, 16 Dec 2003 11:26:10 -0400 Subject: US STOCK MARKET - NMMG - After Hours NEWS...aiken Message-ID: <3vi0$f8my--6$-$0i4g3e@x6yt5.lvu8> US Stock Market - Stock Profile of the Week Symbol: NMMG Market: OTC.BB Sector: LED TECHNOLOGY Before we begin our profile we have very exciting after-market news... Monday December 15, 4:58 pm ET - New Millennium Media Engages Leading Product Commercialization Consulting Firm BREAKING NEWS - CLEARWATER, Fla.--(BUSINESS WIRE)--Dec. 15, 2003--New Millennium Media International Inc., (OTCBB: NMMG) announced today that they have engaged Global Works Consulting to assist with the product commercialization of their next generation light emitting diode (LED) video displays utilizing their proprietary OnScreen (TM) technology. With Dr. Shalom Flank as its Principal, Global Works has been working with local and national clients to commercialize leading-edge technology since 1999. Dr. Flank is an Associate with Haft, Harrison, and Wolfson, Inc., and also operates as a Principal of iPrime Group, a consortium of senior professional consultants. According to Steve Velte, NMMG's Director of Research & Development: "Dr. Flank has been working with technology for over 15 years as it goes from abstract innovation to successful implementation. He has been a strategy advisor to start-ups, universities, defense contractors, and investment funds, including AnswerLogic, DevelopmentSpace, GlobalWisdom, the University of Maryland, the Information Sciences Institute, Veridian Systems, and the Washington Square Capital Fund. His experience covers software applications and algorithms, including knowledge management, enterprise portals, bioinformatics, natural language processing, e-learning, and on-line travel. He has also worked with user interfaces and human factors, networked sensors, renewable energy, and defense technology. His unique expertise lies at the intersection of business and technology - understanding the potential, the pitfalls, and the path for creating utility and profit out of new technology." Before immersing himself in the entrepreneurial community in Washington, Dr. Flank directly managed over $60M of investment in advanced information technology projects as a Program Manager at the Defense Advanced Research Projects Agency (DARPA). Dr. Flank has also been visiting scientist at the Monterey Institute of International Studies, has served on the staff of Lawrence Livermore National Laboratory, Stanford University, and the U.S. House of Representatives, and has had appointments at Harvard and MIT. Dr. Flank earned a Ph.D. in a multi-disciplinary program at MIT, along with a Master of Science in Nuclear Engineering, and received a B.A. in Physics from Cornell University. STOCK PROFILE OF THE WEEK New Millennium Media International (OTCBB: NMMG) specializes in cutting-edge motion display advertising solutions. Their unique Advertising Display Boards and LED Digital Displays offer up a dynamic and cost efficient way to effectively market products and promote brand awareness. NMMG holds the exclusive United States and Canadian distribution rights to the patented, "IllumiSign EyeCatcher?" Advertising Display Board. IllumiSign EyeCatcher?, the exclusive marketing company for this product, has launched an aggressive national marketing campaign, targeted not only at advertisers, but business opportunity seekers as well. This advertising medium presents excellent benefits to advertisers and lucrative business opportunities to franchisees and corporate sponsors, alike. IllumiSign EyeCatcher? has an inventive, profit sharing program in place called "Partners In Profit" (PIP), which is structured to provide revenue incentives for larger national corporations and venues to tap deeper into their market share by allowing placement of the board in their high traffic and Point of Sales areas. This program has the potential to generate millions of dollars in additional annual revenue for qualifying corporate sponsors, while providing the means for greater public exposure to the IllumiSign EyeCatcher? Advertising Boards. NMMG has partnered with E-Vision LED, Inc., a US based company whose affiliates manufacture their state-of-the-art LED displays. This high technology media is the only truly effective way, television aside, for advertisers to display their products in true form. Their LED displays can operate any commercial format on any size board. This gives them a strong competitive advantage with regard to flexibility and ease of control, since the images are programmed and controlled right from their central office. ON-SCREEN? TECHNOLOGY The OnScreen? LED Display Architecture is a radical new type of Bright LED video display architecture that is expected to provide key design improvements in cost, weight and brightness of LED displays for such applications as billboards, large outdoor venue video screens and outdoor video advertising. Worldwide, the outdoor advertising market is approximately 19 billion dollars, with the US representing 5.2 billion in 2001, according to the Outdoor Advertising Association of America (OAAA). An increasing percentage of these expenditures are utilizing the technologies of motion display advertising- such as the OnScreen? display technology. OnScreen? is expected to create a broad-range of products with much better resolution and brighter pictures than the current generation of displays. OnScreen? will be visible in direct sunlight yet avoid many of the issues associated with current displays including sun-loading, wind-loading and excessive weight. In addition, the new LED architecture produces an advantage that is not available in today's marketplace: a more lightweight, pliable display that can fit any application. These are important advantages as the High Brightness LED market is expected to grow from 1.2 billion dollars in 2000 to 4 billion in 2006. In addition, according to Stanford Resources, the LED sign market value alone is expected to exceed 1 billion by 2006. These projections are made based on existing technology and do not take into account emerging technologies, such as OnScreen?, that can rapidly alter the size and shape of this market. COMMERCIAL MARKET & STRATEGY NMMG's initial marketing strategy revolves around licensing intellectual property (IP) to worldwide manufacturers of LED display products and components. The LED sign market is projected to reach over 1 billion dollars by 2006. Lumiled's projects that high brightness LED's, used in LED signs alone, will exceed 1.2 billion by 2007. If these projections hold, the fully manufactured signs would represent a $5 billion market. Whichever number is accurate, they both point towards a robust market for these new LED displays. Many projections don't take into account emerging high growth applications such as the Amber Alert project, Homeland Security and roadway ?intelligent message transfer?. THE MARKET An article in Media Post's Media Daily News in March of 2003 noted that the outdoor industry has successfully weathered the recession and that ?our large members say they're having a great first quarter? in 2003. They go on to note that technology is expected to transform both the display and measurement of outdoor advertising. According to Media Daily the most exciting news is coming on the display side, where ?Lamar Advertising is converting their key boards to LED units whose messages can be changed at will and sold in day-parts by the hour or even the minute.? They added that ?Clear Channel's backlit subway panels in stairwells are being converted to LED as well?. Together these companies represent two of the three largest outdoor US advertisers. Recent Federal Government legislation has also placed a spotlight on expanding the ?Amber Alert? network nationwide. The highly publicized success in locating a number of kidnapped children shortly after their abduction in California has now triggered federal funding for U.S.-wide expansion of these variable-message signs. Homeland Security issues have also increased the number of early warning signs being planned and funded as part of an overall information sharing network. Traffic safety is also becoming a much higher priority in the U.S.. It is estimated that just over 60,000 roadway dynamic message signs are in operation in the United States. In Japan alone there are over 1.5 million of these signs. The United States represents a huge growth market for LED displays. GROWTH OPPORTUNITES In addition to the outdoor television market, another interesting and exciting application for OnScreen? arrays is artistic lighting in dramatic curved and shaped displays in places like Las Vegas, New York City or really virtually any venue. The tensile, flexible structure of OnScreen? provides unlimited opportunity for creativity. The anticipated cost reductions of OnScreen? will also provide ample opportunity for growth of the large-scale LED display market itself. OnScreen?'s unique architecture opens the door for new applications such as curved implementations, billboards on the sides of buildings where tenants can still see out, and lower cost mobile applications on the sides of existing vehicles. Homeland Security, Amber Alert variable message signage and instant message transfer applications can also benefit significantly from the advantages of OnScreen?. Reduced wind-loading and weight can significantly lower the cost of the superstructures required to support these signs and also reduce the cost to install and maintain them. Please note that NMMG had absolutley nothing to do with this report and is not a participant in any way. No more advertisements: www.inet-notification.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 NMMG management. Stock Market Today has also been retained to research and issue reports on NMMG. Stock Market Today may from time to time purchase or sell NMMG 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 NMMG. Copyright 2003 ? Stock Market Today. All Rights Reserved. This newsletter was distributed by SCI. SCI was paid five thousand dollars to distribute this report. SCI is not affiiated with Stock Market Today and is not responsible for newsletter content. All information in this report can be obtained on the world wide web at www.nmmimedia.com. New Millenimum Media was not a participant in this newsletter in any way. rbwddgac ad From lblackshear at shopathometv.com Tue Dec 16 17:01:56 2003 From: lblackshear at shopathometv.com (Blackshear, Lisa) Date: Tue, 16 Dec 2003 10:01:56 -0600 Subject: several sendmail processes lingering Message-ID: Hello, Could someone tell me how to get nagios to closes the sendmail processes it spans? I have several sendmail processes that accumulate until I kill them. Why is this? Lisa Blackshear Unix Administrator, Shop at Home Network, LLC (615) 263-8333 | lblackshear at sath.com www.shopathometv.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Tue Dec 16 17:46:30 2003 From: marc at ena.com (Marc Powell) Date: Tue, 16 Dec 2003 10:46:30 -0600 Subject: several sendmail processes lingering Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A072@mismail2.ena.com> Ah, interesting, a fellow Tennessean ;) Nagios doesn't actually use sendmail at all. It's going to be whatever program you have configured in your notify-by-email command (probably /bin/mail) which probably calls sendmail for final delivery. Can you show us your notify-by-email command so that we can verify that there's nothing unusual about it? Beyond that, there must be something else, outside of nagios, that's causing a problem. Is there anything in the sendmail log file? Perhaps it's having problems doing DNS resolution or difficulties connecting to the remote SMTP server. If there's nothing in the maillog you could always look at the queue files (/var/spool/mqueue/qf*). They might have information on failures. Also, most newer versions of sendmail show useful information in ps like -- root 1477 22927 0 10:38 ? 00:00:00 sendmail: server chatbox-smtp-out6.apple.com [17.254.6.17] cmd read Do the ones that are hanging out show anything like that? If you're running sendmail as a daemon on that machine it's not unusual to have multiple sendmail children hanging out. -- Marc ________________________________________ From: Blackshear, Lisa [mailto:lblackshear at shopathometv.com] Sent: Tuesday, December 16, 2003 10:02 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] several sendmail processes lingering Hello, Could someone tell me how to get nagios to closes the sendmail processes it spans?? I have several sendmail processes that accumulate until I kill them.? Why is this? Lisa Blackshear Unix Administrator, Shop at Home Network, LLC (615) 263-8333 | lblackshear at sath.com www.shopathometv.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcowger at plu.edu Tue Dec 16 18:09:14 2003 From: mcowger at plu.edu (Matt Cowger) Date: Tue, 16 Dec 2003 09:09:14 -0800 Subject: Authentication with Apache-LDAP-Modul In-Reply-To: <3FDEC424.3060403@enbiz.de> References: <3FDEC424.3060403@enbiz.de> Message-ID: <3FDF3C3A.9090207@plu.edu> I'm using LDAP auth, and its working fine. Are you sure that the webserver is doing the basic auth? Do you get a passwd prompt from your browser? One thing to make sure of though: Make sure that both your CGI-BIN dir and the nagios HTML dir are protected, or you wont get anything. Mine looks like the following: ######## STUFF FOR NAGIOS ############################ Alias /nagios "/usr/local/nagios/share/" AllowOverride None Options None Order allow,deny Allow from all AuthName "Go AWAY!" AuthType Basic LDAP_Protocol_Version 3 LDAP_Server my.ldap.server LDAP_Port 389 Base_DN "o=my.base.dn" UID_Attr uid require user user1 ######## STUFF FOR NAGIOS ############################ ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/" AllowOverride None Options None Order allow,deny Allow from all AuthName "Go AWAY!" AuthType Basic LDAP_Protocol_Version 3 LDAP_Server my.ldap.server LDAP_Port 389 Base_DN "o=my.base.dn" UID_Attr uid require user user1 -------------------------------------------------- And in cgi.cfg I have use_authentication=1 default_user_name=guest authorized_for_=user1 G?nther Orth wrote: > Hello! > I have a problem with the "logged in as ?". > I want to use the apache-LDAP-authentication-modul. Everything works > fine, but when I want to use the external commands, I get an error. > Example: I want to disable "flap detection" over the webinterface. The > interface says "Logged in as nagiosadmin". After I click "Commit" for > disable the flap detection, the interface says " Logged in as ?" and > don't compute the command. > > In nagios.cfg I do this: > check_external_commands=1 > > In cgi.cfg I do this: > use_authentication=1 > authorized_for_=nagiosadmin > > > Can anyone help me? > > Thanks a lot! > Guenther > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- +----------------------------+-----------------+ |Matt Cowger |w:253.535.7262 | |Systems Administrator |c:425.923.5885 | |Pacific Lutheran University |p:253.280.7601 | +----------------------------+-----------------| |The Internet treats censorship as a | |malfunction and routes around it. | | ?John Perry Barlow | +----------------------------------------------+ -------------- next part -------------- A non-text attachment was scrubbed... Name: cowgermk.vcf Type: text/x-vcard Size: 139 bytes Desc: not available URL: From mcowger at plu.edu Tue Dec 16 18:11:33 2003 From: mcowger at plu.edu (Matt Cowger) Date: Tue, 16 Dec 2003 09:11:33 -0800 Subject: Socket error: Connection refused In-Reply-To: References: Message-ID: <3FDF3CC5.9070109@plu.edu> What happens if you run the plugin manually from the command line? Which plugin is this exactly? Are you sure the daemon is running on the server you are checking? Yo wrote: > Hi, > > I'm trying to monitore the disk usage of a server. I've overcomed the > 'No perf-definition for service' and 'Unknown Perf-service' error > messages, but now I've got a 'Socket error: Connection refused', even if > the server is reachable, the network works and there's no tcp port > filtering on the network. > > Does anyone have an idea how to solve this problem ? > > Thanks > Yo > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- +----------------------------+-----------------+ |Matt Cowger |w:253.535.7262 | |Systems Administrator |c:425.923.5885 | |Pacific Lutheran University |p:253.280.7601 | +----------------------------+-----------------| |The Internet treats censorship as a | |malfunction and routes around it. | | ?John Perry Barlow | +----------------------------------------------+ -------------- next part -------------- A non-text attachment was scrubbed... Name: cowgermk.vcf Type: text/x-vcard Size: 139 bytes Desc: not available URL: From RMontemayor at huntoil.com Tue Dec 16 18:40:24 2003 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Tue, 16 Dec 2003 11:40:24 -0600 Subject: Socket error: Connection refused Message-ID: <6F1F73662C00D411909F00508BCF5B5E0D792C99@hcidalex01.int.huntoil.com> Yo, If you are using NRPE check the nrpe.cfg file on the client for the allowed_hosts line: # ALLOWED HOST ADDRESSES # This is a comma-delimited list of IP address of hosts that are allowed # to talk to the NRPE daemon. allowed_hosts=127.0.0.1, Save the file and restart nrpe daemon on client. Rudy -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Matt Cowger Sent: Tuesday, December 16, 2003 11:12 AM To: Yo Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Socket error: Connection refused What happens if you run the plugin manually from the command line? Which plugin is this exactly? Are you sure the daemon is running on the server you are checking? Yo wrote: > Hi, > > I'm trying to monitore the disk usage of a server. I've overcomed the > 'No perf-definition for service' and 'Unknown Perf-service' error > messages, but now I've got a 'Socket error: Connection refused', even if > the server is reachable, the network works and there's no tcp port > filtering on the network. > > Does anyone have an idea how to solve this problem ? > > Thanks > Yo > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null -- +----------------------------+-----------------+ |Matt Cowger |w:253.535.7262 | |Systems Administrator |c:425.923.5885 | |Pacific Lutheran University |p:253.280.7601 | +----------------------------+-----------------| |The Internet treats censorship as a | |malfunction and routes around it. | | ?John Perry Barlow | +----------------------------------------------+ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lblackshear at shopathometv.com Tue Dec 16 18:57:36 2003 From: lblackshear at shopathometv.com (Blackshear, Lisa) Date: Tue, 16 Dec 2003 11:57:36 -0600 Subject: several sendmail processes lingering Message-ID: Thanks Marc, After reading your comments, I looked in the logs and show that mail to nagios-admin at localhost were undeliverable. There is no nagios-admin user. Thanks for the direction. -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Tuesday, December 16, 2003 10:47 AM To: Blackshear, Lisa; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] several sendmail processes lingering Ah, interesting, a fellow Tennessean ;) Nagios doesn't actually use sendmail at all. It's going to be whatever program you have configured in your notify-by-email command (probably /bin/mail) which probably calls sendmail for final delivery. Can you show us your notify-by-email command so that we can verify that there's nothing unusual about it? Beyond that, there must be something else, outside of nagios, that's causing a problem. Is there anything in the sendmail log file? Perhaps it's having problems doing DNS resolution or difficulties connecting to the remote SMTP server. If there's nothing in the maillog you could always look at the queue files (/var/spool/mqueue/qf*). They might have information on failures. Also, most newer versions of sendmail show useful information in ps like -- root 1477 22927 0 10:38 ? 00:00:00 sendmail: server chatbox-smtp-out6.apple.com [17.254.6.17] cmd read Do the ones that are hanging out show anything like that? If you're running sendmail as a daemon on that machine it's not unusual to have multiple sendmail children hanging out. -- Marc ________________________________________ From: Blackshear, Lisa [mailto:lblackshear at shopathometv.com] Sent: Tuesday, December 16, 2003 10:02 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] several sendmail processes lingering Hello, Could someone tell me how to get nagios to closes the sendmail processes it spans?? I have several sendmail processes that accumulate until I kill them.? Why is this? Lisa Blackshear Unix Administrator, Shop at Home Network, LLC (615) 263-8333 | lblackshear at sath.com www.shopathometv.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From solt at dns.toxicfilms.tv Tue Dec 16 19:08:28 2003 From: solt at dns.toxicfilms.tv (Maciej Soltysiak) Date: Tue, 16 Dec 2003 19:08:28 +0100 Subject: "Monitoring process may not be running!" but it IS. References: Message-ID: <000d01c3c3ff$9f231860$0e25fe0a@southpark.ae.poznan.pl> Hi, I set up nagios from debian packages, but I have a problem. When I check nagios configuration it shows it has no warnings or errors, and I am able to run nagios and its process is running. When I run http://myhostname/nagios it says: Warning: Monitoring process may not be running! But also it shows Process Information like uptime, last external check, and other options. How come it says: process status: unknown Check Command Output: Nagios check command did not return any output although the process is running and the services are being checked: I set up one gateway ping check and one SMTP check on an SMTP server. They return valid results, but still nagios says the process may not be running. The privileges for /var/log/nagios/rw are as in the docs. # ls -ld rw drwxrws--- 2 nagios nagios 80 Dec 16 18:38 rw What could be wrong? Regards, Maciej ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 20:16:21 2003 From: marc at ena.com (Marc Powell) Date: Tue, 16 Dec 2003 13:16:21 -0600 Subject: "Monitoring process may not be running!" but it IS. Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A077@mismail2.ena.com> > -----Original Message----- > From: Maciej Soltysiak [mailto:solt at dns.toxicfilms.tv] > Sent: Tuesday, December 16, 2003 12:08 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] "Monitoring process may not be running!" but it > IS. > > Hi, > > I set up nagios from debian packages, but I have a problem. > > When I check nagios configuration it shows it has no > warnings or errors, and I am able to run nagios and its > process is running. > > When I run http://myhostname/nagios it says: > > Warning: Monitoring process may not be running! > > But also it shows Process Information like > uptime, last external check, and other options. > > How come it says: > process status: unknown > Check Command Output: Nagios check command did not return any output > although the process is running and the services are being checked: > I set up one gateway ping check and one SMTP check on an SMTP server. > They return valid results, but still nagios says the process may not be > running. > > The privileges for /var/log/nagios/rw are as in the docs. > # ls -ld rw > drwxrws--- 2 nagios nagios 80 Dec 16 18:38 rw > > What could be wrong? Have you tried running the nagios check command as specified in cgi.cfg by hand, as the httpd user? It could be a permissions problem (httpd not able to read status.log or something similar). Also, if you are storing status data in a database you'll need to use check_nagios_db which is in the plugins contrib directory I believe. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 21:32:30 2003 From: jhmartin at toger.us (Jason Martin) Date: Tue, 16 Dec 2003 12:32:30 -0800 (PST) Subject: Socket error: Connection refused In-Reply-To: <6F1F73662C00D411909F00508BCF5B5E0D792C99@hcidalex01.int.huntoil.com> References: <6F1F73662C00D411909F00508BCF5B5E0D792C99@hcidalex01.int.huntoil.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A 'connection refused' means that nrpe isn't running at all, or isn't configured in inetd. 'Connection Refused' means that the kernel wasn't expecting a connection to that port. If NRPE is running but isn't configured to allow connections from that particular host then you'd get a connection that would open and immediately close. - -Jason Martin On Tue, 16 Dec 2003, Rudy Montemayor wrote: > Yo, > > If you are using NRPE check the nrpe.cfg file on the client for the allowed_hosts line: > > # ALLOWED HOST ADDRESSES > # This is a comma-delimited list of IP address of hosts that are allowed > # to talk to the NRPE daemon. > > allowed_hosts=127.0.0.1, > > Save the file and restart nrpe daemon on client. > > Rudy > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Matt > Cowger > Sent: Tuesday, December 16, 2003 11:12 AM > To: Yo > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Socket error: Connection refused > > > What happens if you run the plugin manually from the command line? > Which plugin is this exactly? Are you sure the daemon is running on the > server you are checking? > > Yo wrote: > > > Hi, > > > > I'm trying to monitore the disk usage of a server. I've overcomed the > > 'No perf-definition for service' and 'Unknown Perf-service' error > > messages, but now I've got a 'Socket error: Connection refused', even if > > the server is reachable, the network works and there's no tcp port > > filtering on the network. > > > > Does anyone have an idea how to solve this problem ? > > > > Thanks > > Yo > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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/32vkl2ODWuqVSBMRAmrzAJ4hgB1iU3lWt29ZndQ/MsSsNv62YgCeKJai PuitZTGtA7Te9PGPM0yUfPQ= =HLdN -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at unixisgod.com Tue Dec 16 22:01:19 2003 From: jeff at unixisgod.com (Jeff Rodriguez) Date: Tue, 16 Dec 2003 14:01:19 -0700 Subject: Why are host checks run from the main process? Does anyone have a patch to change it? Message-ID: <3FDF729F.3040201@unixisgod.com> We have 270 hosts in nagios right now with a total of 1184 service checks. I've noticed an issue where the host checks are run from the main nagios process. I'm not sure as to the reasoning behind this but it can cause problems galore. Since the main process does all the scheduling, having it do host checks seriously breaks things when several hosts are down. Does anyone have a patch to set host checks to be done outside the main scheduling process? Or any suggestions as to how I can alleviate the problems it causes? I know this is causing a problem, since when I disable host checks I go from 0 checks a minute (when it hangs) to 400+. Thanks, Jeff ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luke at madstop.com Tue Dec 16 22:37:53 2003 From: luke at madstop.com (Luke A. Kanies) Date: Tue, 16 Dec 2003 15:37:53 -0600 (CST) Subject: Generating nagios configs from LDAP, nmap, and traceroute Message-ID: Hi all, I've just started on a project to generate my nagios configurations, and I'd like to know if others have worked on similar projects, and I'd also like to know if others would find this work useful, and if so, how. One of my barriers to using nagios has always been my unwillingness to maintain yet another host list. I already maintain a list of all of my hosts in LDAP, and my nagios configs need to automatically update themselves based on that list. Also, I can't have my nagios configuration be the definition of what "should" be running on the system, because then when I update the host I have to update Nagios, which I hate. So, I'm trying to come up with a design for maintaining my entire Nagios data configuration automatically. My LDAP host list is basically self-maintaining (I have a client/server style script that does most the work), I already have all of my contacts in LDAP, the network is authoritative on what machines each of my machines depends on, and the hosts themselves are (usually) authoritative on what services they should be providing. What I want is something to collect all of that and turn it into a valid nagios config. However, there are still some pieces missing. For instance, the LDAP directory is not currently capable of holding the templates for the various object types, and there are some nagios-specific details I'll probably want to associate with hosts and contacts. So, I think the first step is to create a nagios schema for LDAP. This is the main thing I want to check: Would I be redoing someone else's work here? It's definitely a no-no to have schema variety. If no one else has ever done this before, then I'll go ahead and create one for OpenLDAP (it should be easily usable for most other LDAP servers) and contribute it back to the Nagios developers. Second is getting the data out of the directory. I've actually already created a set of ruby classes which do this quite well. I've also created a parser in ruby which can parse existing files and glean all the data in them; it's a small stretch from where I am to parsing those files and putting all of their data into LDAP. Because I don't currently have any nagios configs, I'm less interested in moving data into LDAP, but I'd be glad to work with people who would like to transition from storing data in flat files to storing it in LDAP. Next is figuring out which services a given host should be running. I am currently focusing on external services (i.e., ports), but will later visit using nrpe et al to monitor other stuff. I know that there is already an nmap2nagios script, and I would probably plan on utilyzing lessons from this script, but because I need the results to interoperate with the rest of my data structures I'll probably write something similar in ruby. This tool will specifically support only scanning specific for specific ports, as in most cases I don't want to monitor every port. Lastly is deducing the dependencies for each host. Apparently not many people (none?) have built automated topology tools using traceroute, as I could not find any online (well, I could find some that resulted in maps, but none that were generically for building topologies). It should be pretty simple to do, so I plan on adding a 'dependencies' method or something to my ruby objects that transparently uses traceroute to figure out the dependencies. I may later abstract that into an overall topology tool, but unless I have a client specifically request that, I am unlikely to do so any time soon. (I'm an independent consultant and am doing all this for a client.) It also would not be a bad idea to have an option for automatically monitoring these extra hosts. So, now that you basically know my plans, my main question is: Has someone done something like this before? I'm slightly incredulous that everyone using nagios is hand-editing every config file and manually adding every service and every dependency. I'm hoping to release all of the code I write, but it will take some effort on my part, as my current client has one of those we-get-everything contracts. At the very least I plan on writing an article on my experiences and then probably redoing the work in my free time. Anyone have any of this experience? Thanks, Luke Kanies Reductive Consulting ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benl at flowcom.com.au Tue Dec 16 22:46:53 2003 From: benl at flowcom.com.au (Ben Lisle) Date: Wed, 17 Dec 2003 08:46:53 +1100 Subject: Notification by Jabber Message-ID: <1071611212.817.18.camel@sparge> Hi, I've gone through the FAQ and I'm using the Perl script for Jabber notifications. It works wonderfully through the command line, however I think I have my misccommands.cfg a little screwed up as I'm not getting any host/server notifcations sent to my via Jabber. Can someone have a quick look at the below information and tell me if it's right, or point me in the right direction? Thanks! Ben ------ # misccommands.cfg # 'notify-via-jabber' command definition define command{ command_name notify-via-jabber command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /opt/notify-via-jabber noc at jabber1.flow.com.au "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$" } # contacts.cfg define contact{ contact_name noc-engineers alias NOC Engineers service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-via-jabber host_notification_commands notify-via-jabber email nocstaff at flowcom.com.au } ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 16 23:22:09 2003 From: marc at ena.com (Marc Powell) Date: Tue, 16 Dec 2003 16:22:09 -0600 Subject: Why are host checks run from the main process? Does anyone have a patch to change it? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A07A@mismail2.ena.com> > -----Original Message----- > From: Jeff Rodriguez [mailto:jeff at unixisgod.com] > Sent: Tuesday, December 16, 2003 3:01 PM > To: nagios-devel at lists.sourceforge.net; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Why are host checks run from the main process? > Does anyone have a patch to change it? > > We have 270 hosts in nagios right now with a total of 1184 service checks. > > I've noticed an issue where the host checks are run from the main nagios > process. I'm not sure as to the reasoning behind this but it can cause > problems galore. > > Since the main process does all the scheduling, having it do host checks > seriously breaks things when several hosts are down. > This is intended behavior. Nagios must determine the status of the host before it can determine if other hosts and services are down or unreachable - http://nagios.sourceforge.net/docs/1_0/checkscheduling.html#host_checks > Does anyone have a patch to set host checks to be done outside the main > scheduling process? Or any suggestions as to how I can alleviate the > problems it causes? http://nagios.sourceforge.net/docs/1_0/tuning.html 7. Optimize host check commands. If you're checking host states using the check_ping plugin you'll find that host checks will be performed much faster if you break up the checks. Instead of specifying a max_attempts value of 1 in the host definition and having the check_ping plugin send 10 ICMP packets to the host, it would be much faster to set the max_attempts value to 10 and only send out 1 ICMP packet each time. This is due to the fact that Nagios can often determine the status of a host after executing the plugin once, so you want to make the first check as fast as possible. This method does have its pitfalls in some situations (i.e. hosts that are slow to respond may be assumed to be down), but I you'll see faster host checks if you use it. Another option would be to use a faster plugin (i.e. check_fping) as the host_check_command instead of check_ping. No patch exists to change this behavior that I am aware of. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benl at flowcom.com.au Wed Dec 17 00:19:49 2003 From: benl at flowcom.com.au (Ben Lisle) Date: Wed, 17 Dec 2003 10:19:49 +1100 Subject: Notification by Jabber In-Reply-To: <1071611212.817.18.camel@sparge> References: <1071611212.817.18.camel@sparge> Message-ID: <1071616789.1750.2.camel@sparge> Problem solved. User error. I obviously have to cut down on my crack smoking each morning! :) On Wed, 2003-12-17 at 08:46, Ben Lisle wrote: > Hi, > > I've gone through the FAQ and I'm using the Perl script for Jabber > notifications. It works wonderfully through the command line, however I > think I have my misccommands.cfg a little screwed up as I'm not getting > any host/server notifcations sent to my via Jabber. Can someone have a > quick look at the below information and tell me if it's right, or point > me in the right direction? > > Thanks! > > Ben > > ------ > > > # misccommands.cfg > > # 'notify-via-jabber' command definition > define command{ > command_name notify-via-jabber > command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification > Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | > /opt/notify-via-jabber noc at jabber1.flow.com.au "Host $HOSTSTATE$ alert > for $HOSTNAME$!" $CONTACTEMAIL$" > } > > # contacts.cfg > > define contact{ > contact_name noc-engineers > alias NOC Engineers > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-via-jabber > host_notification_commands notify-via-jabber > email nocstaff at flowcom.com.au > } > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcowger at plu.edu Wed Dec 17 00:44:06 2003 From: mcowger at plu.edu (Matt Cowger) Date: Tue, 16 Dec 2003 15:44:06 -0800 Subject: Notification by Jabber In-Reply-To: <1071616789.1750.2.camel@sparge> References: <1071611212.817.18.camel@sparge> <1071616789.1750.2.camel@sparge> Message-ID: <3FDF98C6.1060701@plu.edu> On that note..has anyone figured out how to do notifications via AIM? Ben Lisle wrote: > Problem solved. User error. I obviously have to cut down on my crack > smoking each morning! :) > > On Wed, 2003-12-17 at 08:46, Ben Lisle wrote: > >>Hi, >> >>I've gone through the FAQ and I'm using the Perl script for Jabber >>notifications. It works wonderfully through the command line, however I >>think I have my misccommands.cfg a little screwed up as I'm not getting >>any host/server notifcations sent to my via Jabber. Can someone have a >>quick look at the below information and tell me if it's right, or point >>me in the right direction? >> >>Thanks! >> >>Ben >> >>------ >> >> >># misccommands.cfg >> >># 'notify-via-jabber' command definition >>define command{ >> command_name notify-via-jabber >> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification >>Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: >>$HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | >>/opt/notify-via-jabber noc at jabber1.flow.com.au "Host $HOSTSTATE$ alert >>for $HOSTNAME$!" $CONTACTEMAIL$" >> } >> >># contacts.cfg >> >>define contact{ >> contact_name noc-engineers >> alias NOC Engineers >> service_notification_period 24x7 >> host_notification_period 24x7 >> service_notification_options w,u,c,r >> host_notification_options d,u,r >> service_notification_commands notify-via-jabber >> host_notification_commands notify-via-jabber >> email nocstaff at flowcom.com.au >> } >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IBM Linux Tutorials. >>Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >>Free Linux Tutorials. Learn everything from the bash shell to sys admin. >>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- +----------------------------+-----------------+ |Matt Cowger |w:253.535.7262 | |Systems Administrator |c:425.923.5885 | |Pacific Lutheran University |p:253.280.7601 | +----------------------------+-----------------| |The Internet treats censorship as a | |malfunction and routes around it. | | ?John Perry Barlow | +----------------------------------------------+ -------------- next part -------------- A non-text attachment was scrubbed... Name: cowgermk.vcf Type: text/x-vcard Size: 139 bytes Desc: not available URL: From benl at flowcom.com.au Wed Dec 17 00:54:10 2003 From: benl at flowcom.com.au (Ben Lisle) Date: Wed, 17 Dec 2003 10:54:10 +1100 Subject: Notification by Jabber In-Reply-To: <3FDF98C6.1060701@plu.edu> References: <1071611212.817.18.camel@sparge> <1071616789.1750.2.camel@sparge> <3FDF98C6.1060701@plu.edu> Message-ID: <1071618850.1749.15.camel@sparge> I usually hate answering these questions with "read the FAQ", but Nagios' is really helpful. Anyway, check the FAQ, here - http://www.nagios.org/faqs/viewfaq.php?faq_id=33&expand=false&showdesc=true Download the script they've linked to their, modify it with your details, then add a new definition in misccomands.cfg. On Wed, 2003-12-17 at 10:44, Matt Cowger wrote: > On that note..has anyone figured out how to do notifications via AIM? > > Ben Lisle wrote: > > Problem solved. User error. I obviously have to cut down on my crack > > smoking each morning! :) > > > > On Wed, 2003-12-17 at 08:46, Ben Lisle wrote: > > > >>Hi, > >> > >>I've gone through the FAQ and I'm using the Perl script for Jabber > >>notifications. It works wonderfully through the command line, however I > >>think I have my misccommands.cfg a little screwed up as I'm not getting > >>any host/server notifcations sent to my via Jabber. Can someone have a > >>quick look at the below information and tell me if it's right, or point > >>me in the right direction? > >> > >>Thanks! > >> > >>Ben > >> > >>------ > >> > >> > >># misccommands.cfg > >> > >># 'notify-via-jabber' command definition > >>define command{ > >> command_name notify-via-jabber > >> command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification > >>Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > >>$HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | > >>/opt/notify-via-jabber noc at jabber1.flow.com.au "Host $HOSTSTATE$ alert > >>for $HOSTNAME$!" $CONTACTEMAIL$" > >> } > >> > >># contacts.cfg > >> > >>define contact{ > >> contact_name noc-engineers > >> alias NOC Engineers > >> service_notification_period 24x7 > >> host_notification_period 24x7 > >> service_notification_options w,u,c,r > >> host_notification_options d,u,r > >> service_notification_commands notify-via-jabber > >> host_notification_commands notify-via-jabber > >> email nocstaff at flowcom.com.au > >> } > >> > >> > >> > >>------------------------------------------------------- > >>This SF.net email is sponsored by: IBM Linux Tutorials. > >>Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > >>Free Linux Tutorials. Learn everything from the bash shell to sys admin. > >>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp.thompson at qut.edu.au Wed Dec 17 02:01:41 2003 From: rp.thompson at qut.edu.au (Russell Thompson) Date: Wed, 17 Dec 2003 11:01:41 +1000 Subject: check_by_ssh and "issue" problem Message-ID: <5.1.1.5.2.20031217105721.031aaac0@pop.qut.edu.au> Hi all. I am trying to check processes on a remote Linux server. If the remote host has the "issue" message (the message displayed by default when you connect to the server) displaying, then all I get is the first line of the "issue" message returned. If the issue message is turned off, the check works fine. They don't want to turn the message off permanently, and say they can't do it on a per user basis. Does anyone have any ideas about how to get around this. Thanks very much. Russell. Russell Thompson PC Support Faculty of Information Technology QUT x1172 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lionel.magallon at free.fr Wed Dec 17 09:24:17 2003 From: lionel.magallon at free.fr (Lionel Magallon) Date: Wed, 17 Dec 2003 09:24:17 +0100 Subject: Socket error: Connection refused In-Reply-To: <3FDF3CC5.9070109@plu.edu> References: <3FDF3CC5.9070109@plu.edu> Message-ID: <3FE012B1.5060202@free.fr> > What happens if you run the plugin manually from the command line? On command line, the system doesn't know any 'disk' or 'check_disk' command. But I can monitor the disk of my local nagios server => I think it doesn't come from this > Are you sure the daemon is running on the server you are checking? I've got other services monitored on the remote server (http, ping ...). ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lionel.magallon at free.fr Wed Dec 17 09:30:44 2003 From: lionel.magallon at free.fr (Lionel Magallon) Date: Wed, 17 Dec 2003 09:30:44 +0100 Subject: Socket error: Connection refused In-Reply-To: References: <6F1F73662C00D411909F00508BCF5B5E0D792C99@hcidalex01.int.huntoil.com> Message-ID: <3FE01434.1070100@free.fr> OK, I've got no nrpe running anywhere. So I'll be looking on that direction. What is surprising, is that I can monitore the disk of my nagios server but, without any nrpe installed on it. Jason Martin wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >A 'connection refused' means that nrpe isn't running at all, or isn't >configured in inetd. 'Connection Refused' means that the kernel wasn't >expecting a connection to that port. If NRPE is running but isn't >configured to allow connections from that particular host then you'd get a >connection that would open and immediately close. > >- -Jason Martin > > >On Tue, 16 Dec 2003, Rudy Montemayor wrote: > > > >>Yo, >> >>If you are using NRPE check the nrpe.cfg file on the client for the allowed_hosts line: >> >># ALLOWED HOST ADDRESSES >># This is a comma-delimited list of IP address of hosts that are allowed >># to talk to the NRPE daemon. >> >>allowed_hosts=127.0.0.1, >> >>Save the file and restart nrpe daemon on client. >> >>Rudy >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Matt >>Cowger >>Sent: Tuesday, December 16, 2003 11:12 AM >>To: Yo >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Socket error: Connection refused >> >> >>What happens if you run the plugin manually from the command line? >>Which plugin is this exactly? Are you sure the daemon is running on the >>server you are checking? >> >>Yo wrote: >> >> >> >>>Hi, >>> >>>I'm trying to monitore the disk usage of a server. I've overcomed the >>>'No perf-definition for service' and 'Unknown Perf-service' error >>>messages, but now I've got a 'Socket error: Connection refused', even if >>> the server is reachable, the network works and there's no tcp port >>>filtering on the network. >>> >>>Does anyone have an idea how to solve this problem ? >>> >>>Thanks >>>Yo >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: SF.net Giveback Program. >>>Does SourceForge.net help you be more productive? Does it >>>help you create better code? SHARE THE LOVE, and help us help >>>YOU! Click Here: http://sourceforge.net/donate/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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/32vkl2ODWuqVSBMRAmrzAJ4hgB1iU3lWt29ZndQ/MsSsNv62YgCeKJai >PuitZTGtA7Te9PGPM0yUfPQ= >=HLdN >-----END PGP SIGNATURE----- > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 17 10:05:45 2003 From: Deniz.Hepsen at disbank.com.tr (=?iso-8859-9?Q?Deniz_Hep=FEen_\=28BS_SNYB\=29?=) Date: Wed, 17 Dec 2003 11:05:45 +0200 Subject: How to uninstall nagios? Message-ID: <7316155488F50F4A82CC2FBA077652151891B950@exchdis02.disbank.com.tr> Hi, Is it sufficient to delete only the installation directory, nagios rc symbolic links ? Bu e-posta,isim,faks ve telefon numaras? yukar?da belirtilmi? olan muhataba ait ?ZEL ve G?ZL? HATTA YASAK B?LG?LER? ihtiva edebilir. E?er muhatab ve/veya muhatab?n da??t?mla g?revlendirdi?i ki?i de?il iseniz, l?tfen bu bilgileri kullanmay?n?z ve hi? bir surette, hi? bir kimseye a??klamay?n?z ve bilgisayar?n?zdan siliniz. Bu e-posta hataen elinize ge?mi? olursa bizi l?tfen derhal aray?n?z. Elektronik mesajlar bozulmaya, ele ge?irilmeye veya izinsiz olarak de?i?tirilmeye a??k ortamlar olduklar? i?in mesaj ?zerinde yap?lm?? herhangi bir de?i?iklik veya sonu?lar? ?zerinde sorumluluk kabul etmeyece?imizi bildiririz. Bu konu ile ilgili yapt???n?z masraflar size ?denecektir. Uyumlu davran???n?za 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: disbank.gif Type: image/gif Size: 16336 bytes Desc: not available URL: From lionel.magallon at free.fr Wed Dec 17 10:34:41 2003 From: lionel.magallon at free.fr (Yo) Date: Wed, 17 Dec 2003 10:34:41 +0100 Subject: Socket error: Connection refused In-Reply-To: References: <6F1F73662C00D411909F00508BCF5B5E0D792C99@hcidalex01.int.huntoil.com> Message-ID: <3FE02331.4060108@free.fr> OK, now, I've got an nrpe daemon running on the remote server with 'allowed_hosts=127.0.0.1,10.100.5.200' in /etc/nrpe.cfg, I've got the plugin 'check_disk' installed too, but it still doesn't work something strange, I can telnet it on port 5666 from nagios server, but the connection is lost after some time :( thanks Yo Jason Martin wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >A 'connection refused' means that nrpe isn't running at all, or isn't >configured in inetd. 'Connection Refused' means that the kernel wasn't >expecting a connection to that port. If NRPE is running but isn't >configured to allow connections from that particular host then you'd get a >connection that would open and immediately close. > >- -Jason Martin > > >On Tue, 16 Dec 2003, Rudy Montemayor wrote: > > > >>Yo, >> >>If you are using NRPE check the nrpe.cfg file on the client for the allowed_hosts line: >> >># ALLOWED HOST ADDRESSES >># This is a comma-delimited list of IP address of hosts that are allowed >># to talk to the NRPE daemon. >> >>allowed_hosts=127.0.0.1, >> >>Save the file and restart nrpe daemon on client. >> >>Rudy >> >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Matt >>Cowger >>Sent: Tuesday, December 16, 2003 11:12 AM >>To: Yo >>Cc: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Socket error: Connection refused >> >> >>What happens if you run the plugin manually from the command line? >>Which plugin is this exactly? Are you sure the daemon is running on the >>server you are checking? >> >>Yo wrote: >> >> >> >>>Hi, >>> >>>I'm trying to monitore the disk usage of a server. I've overcomed the >>>'No perf-definition for service' and 'Unknown Perf-service' error >>>messages, but now I've got a 'Socket error: Connection refused', even if >>> the server is reachable, the network works and there's no tcp port >>>filtering on the network. >>> >>>Does anyone have an idea how to solve this problem ? >>> >>>Thanks >>>Yo >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: SF.net Giveback Program. >>>Does SourceForge.net help you be more productive? Does it >>>help you create better code? SHARE THE LOVE, and help us help >>>YOU! Click Here: http://sourceforge.net/donate/ >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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/32vkl2ODWuqVSBMRAmrzAJ4hgB1iU3lWt29ZndQ/MsSsNv62YgCeKJai >PuitZTGtA7Te9PGPM0yUfPQ= >=HLdN >-----END PGP SIGNATURE----- > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 17 12:37:50 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 17 Dec 2003 11:37:50 -0000 Subject: Generating nagios configs from LDAP, nmap, and traceroute Message-ID: Very interesting. I've taken a different tack, mainly because LDAP has not been implemented in our organisation. We have a central database (with a web front-end) which talks about the servers in a generic service way. So we define an environment to consist of a collection of services (such as webserver, middleware, database, etc) that are provided on a host. This db also holds information pertinent to the service (eg, webserver holds the port number, the database holds the sid information, etc). Then there is a separate perl script which takes this configuration and then builds the *.cfg files based on what services are required. Any box with a service has basic checks (DISK, CPU, MEMORY) included. A webserver will have a check_http check, a db will have a check_oracle with the defined SID, etc. I'm currently trying to get a cronjob to update Nagios config every night based on this info. I guess there is no reason this information can't be held in LDAP instead of a central db. I think the power is really in your db configuration and the gen scripts, but these will be so organisation-specific, that I think there is little value in passing it round. Ton > -----Original Message----- > From: Luke A. Kanies [mailto:luke at madstop.com] > Sent: Tuesday, December 16, 2003 9:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Generating nagios configs from LDAP, > nmap, and traceroute > > > Hi all, > > I've just started on a project to generate my nagios > configurations, and > I'd like to know if others have worked on similar projects, > and I'd also > like to know if others would find this work useful, and if so, how. > > One of my barriers to using nagios has always been my unwillingness to > maintain yet another host list. I already maintain a list of > all of my > hosts in LDAP, and my nagios configs need to automatically update > themselves based on that list. Also, I can't have my nagios > configuration > be the definition of what "should" be running on the system, > because then > when I update the host I have to update Nagios, which I hate. > > So, I'm trying to come up with a design for maintaining my > entire Nagios > data configuration automatically. My LDAP host list is basically > self-maintaining (I have a client/server style script that > does most the > work), I already have all of my contacts in LDAP, the network is > authoritative on what machines each of my machines depends on, and the > hosts themselves are (usually) authoritative on what services > they should > be providing. > > What I want is something to collect all of that and turn it > into a valid > nagios config. However, there are still some pieces missing. For > instance, the LDAP directory is not currently capable of holding the > templates for the various object types, and there are some > nagios-specific > details I'll probably want to associate with hosts and contacts. > > So, I think the first step is to create a nagios schema for > LDAP. This is > the main thing I want to check: Would I be redoing someone > else's work > here? It's definitely a no-no to have schema variety. If no > one else has > ever done this before, then I'll go ahead and create one for > OpenLDAP (it > should be easily usable for most other LDAP servers) and contribute it > back to the Nagios developers. > > Second is getting the data out of the directory. I've > actually already > created a set of ruby classes which do this quite well. I've > also created > a parser in ruby which can parse existing files and glean all > the data in > them; it's a small stretch from where I am to parsing those files and > putting all of their data into LDAP. Because I don't > currently have any > nagios configs, I'm less interested in moving data into LDAP, > but I'd be > glad to work with people who would like to transition from > storing data in > flat files to storing it in LDAP. > > Next is figuring out which services a given host should be > running. I am > currently focusing on external services (i.e., ports), but will later > visit using nrpe et al to monitor other stuff. I know that there is > already an nmap2nagios script, and I would probably plan on utilyzing > lessons from this script, but because I need the results to > interoperate > with the rest of my data structures I'll probably write > something similar > in ruby. This tool will specifically support only scanning > specific for > specific ports, as in most cases I don't want to monitor every port. > > Lastly is deducing the dependencies for each host. > Apparently not many > people (none?) have built automated topology tools using > traceroute, as I > could not find any online (well, I could find some that > resulted in maps, > but none that were generically for building topologies). It should be > pretty simple to do, so I plan on adding a 'dependencies' method or > something to my ruby objects that transparently uses > traceroute to figure > out the dependencies. I may later abstract that into an > overall topology > tool, but unless I have a client specifically request that, I > am unlikely > to do so any time soon. (I'm an independent consultant and > am doing all > this for a client.) It also would not be a bad idea to have > an option for > automatically monitoring these extra hosts. > > So, now that you basically know my plans, my main question is: Has > someone done something like this before? I'm slightly > incredulous that > everyone using nagios is hand-editing every config file and manually > adding every service and every dependency. > > I'm hoping to release all of the code I write, but it will take some > effort on my part, as my current client has one of those > we-get-everything > contracts. At the very least I plan on writing an article on my > experiences and then probably redoing the work in my free time. > > Anyone have any of this experience? > > Thanks, > Luke Kanies > Reductive Consulting > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 14:19:18 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 17 Dec 2003 13:19:18 +0000 Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: References: Message-ID: <3FE057D6.2080905@exponential-e.com> >>So, now that you basically know my plans, my main question is: Has >>someone done something like this before? I'm slightly >>incredulous that >>everyone using nagios is hand-editing every config file and manually >>adding every service and every dependency. Have you seen nagmin or similar? It might pay to check these out before making such a sweeping statement. I'd imagine most people quickly move to generating config files in some way fairly quickly. Jim ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luke at madstop.com Wed Dec 17 15:34:58 2003 From: luke at madstop.com (Luke A. Kanies) Date: Wed, 17 Dec 2003 08:34:58 -0600 (CST) Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: <3FE057D6.2080905@exponential-e.com> References: <3FE057D6.2080905@exponential-e.com> Message-ID: On Wed, 17 Dec 2003, Jim Mozley wrote: > > >>So, now that you basically know my plans, my main question is: Has > >>someone done something like this before? I'm slightly > >>incredulous that > >>everyone using nagios is hand-editing every config file and manually > >>adding every service and every dependency. > > Have you seen nagmin or similar? It might pay to check these out before > making such a sweeping statement. I'd imagine most people quickly move > to generating config files in some way fairly quickly. That was kind of my point: I wasn't aware of any popular config generation tools, but I didn't quite believe (i.e., was incredulous) that everyone was doing it manually. I'll have to look more closely at nagmin. Thanks. Luke -- "Love is a snowmobile racing across the tundra and then suddenly it flips over, pinning you underneath. At night, the ice weasels come." --Matt Groening ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extern.lars.oeschey at audi.de Wed Dec 17 16:06:55 2003 From: extern.lars.oeschey at audi.de (Lars Oeschey) Date: Wed, 17 Dec 2003 16:06:55 +0100 Subject: monitoring postgres? Message-ID: <200312171606.55356.extern.lars.oeschey@audi.de> Hi, I just started with nagios, and want to monitor a postgres DB, though I couldn't find a plugin for it. Is there none availible yet? Lars ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jerome.fenal at logicacmg.com Wed Dec 17 10:32:45 2003 From: jerome.fenal at logicacmg.com (=?ISO-8859-1?Q?J=E9r=F4me_Fenal?=) Date: Wed, 17 Dec 2003 10:32:45 +0100 Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: References: Message-ID: Luke A. Kanies wrote: > Hi all, > > I've just started on a project to generate my nagios configurations, and > I'd like to know if others have worked on similar projects, and I'd also > like to know if others would find this work useful, and if so, how. > > One of my barriers to using nagios has always been my unwillingness to > maintain yet another host list. I already maintain a list of all of my > hosts in LDAP, and my nagios configs need to automatically update > themselves based on that list. Also, I can't have my nagios configuration > be the definition of what "should" be running on the system, because then > when I update the host I have to update Nagios, which I hate. > > So, I'm trying to come up with a design for maintaining my entire Nagios > data configuration automatically. My LDAP host list is basically > self-maintaining (I have a client/server style script that does most the > work), I already have all of my contacts in LDAP, the network is > authoritative on what machines each of my machines depends on, and the > hosts themselves are (usually) authoritative on what services they should > be providing. That's also what we have. We have a list a all servers (let's say Posix ones), that are polled on admin request to refresh the list. We also have a distribution system (rdist and in the future cfengine) to distribute plugins on all hosts. Then we also distribute to all hosts a Perl script to create nrpe.cfg (we use NRPE) et services-hostname.cfg. The later one is then copied on the Nagios host with scp (thanks to agent forwarding, so will only work with somebodies key, not a server one). Nagios is then reloaded. > What I want is something to collect all of that and turn it into a valid > nagios config. However, there are still some pieces missing. For > instance, the LDAP directory is not currently capable of holding the > templates for the various object types, and there are some nagios-specific > details I'll probably want to associate with hosts and contacts. > > So, I think the first step is to create a nagios schema for LDAP. This is > the main thing I want to check: Would I be redoing someone else's work > here? It's definitely a no-no to have schema variety. If no one else has > ever done this before, then I'll go ahead and create one for OpenLDAP (it > should be easily usable for most other LDAP servers) and contribute it > back to the Nagios developers. I don't think (but I may fool myself ;-) this is the right thing to do. You can have different configurations for the same host in Nagios : - active checks with NRPE, - passive checks from Nagios crontab, - passive checks from agent crontab, - etc. Either you will limit the model to yours, or you'll have to think and write code for all models. But an LDAP directory could be handy to store dependancies between hosts (this server is behind this router, and so on). > Second is getting the data out of the directory. I've actually already > created a set of ruby classes which do this quite well. I've also created > a parser in ruby which can parse existing files and glean all the data in > them; it's a small stretch from where I am to parsing those files and > putting all of their data into LDAP. Because I don't currently have any > nagios configs, I'm less interested in moving data into LDAP, but I'd be > glad to work with people who would like to transition from storing data in > flat files to storing it in LDAP. As said, we use Perl. > Next is figuring out which services a given host should be running. I am > currently focusing on external services (i.e., ports), but will later > visit using nrpe et al to monitor other stuff. I know that there is > already an nmap2nagios script, and I would probably plan on utilyzing > lessons from this script, but because I need the results to interoperate > with the rest of my data structures I'll probably write something similar > in ruby. This tool will specifically support only scanning specific for > specific ports, as in most cases I don't want to monitor every port. All the choices are made in the script. I have a function for each type of test (check_disk, check_load, etc.). All very specific checks (as SAP pings) are configured by hand. It could be automatically configured, but it is not). > Lastly is deducing the dependencies for each host. Apparently not many > people (none?) have built automated topology tools using traceroute, as I > could not find any online (well, I could find some that resulted in maps, > but none that were generically for building topologies). It should be > pretty simple to do, so I plan on adding a 'dependencies' method or > something to my ruby objects that transparently uses traceroute to figure > out the dependencies. I may later abstract that into an overall topology > tool, but unless I have a client specifically request that, I am unlikely > to do so any time soon. (I'm an independent consultant and am doing all > this for a client.) It also would not be a bad idea to have an option for > automatically monitoring these extra hosts. We have a Perl script (not open source, unfortunately), that queries SNMP agents for all network devices (routers and switches). That sort of thing could help you to create dependancy information. Net::SNMP is your friend. > > So, now that you basically know my plans, my main question is: Has > someone done something like this before? I'm slightly incredulous that > everyone using nagios is hand-editing every config file and manually > adding every service and every dependency. Yes, but as much integrated as you want. > I'm hoping to release all of the code I write, but it will take some > effort on my part, as my current client has one of those we-get-everything > contracts. At the very least I plan on writing an article on my > experiences and then probably redoing the work in my free time. Regards, J?r?me -- J?r?me Fenal - Consultant Unix/SAN/Logiciel Libre Groupe Expert & Managed Services - LogicaCMG France http://www.logicacmg.com/fr/ - ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 16:14:54 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 17 Dec 2003 09:14:54 -0600 Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: References: <3FE057D6.2080905@exponential-e.com> Message-ID: <1071674094.4534.186.camel@localhost> On Wed, 2003-12-17 at 08:34, Luke A. Kanies wrote: > > Have you seen nagmin or similar? It might pay to check these out before > > making such a sweeping statement. I'd imagine most people quickly move > > to generating config files in some way fairly quickly. > That was kind of my point: I wasn't aware of any popular config > generation tools, but I didn't quite believe (i.e., was incredulous) that > everyone was doing it manually. > > I'll have to look more closely at nagmin. Thanks. I do mine manually. tried nagmin, hated it (i found it's like using a WYSIWYG HTML editor - sure, it *mostly* works, but the end result isn't pretty). I've written a lot of scripts to do things like gen apan config entries and push extinfo and such. But hosts.cfg and hostgroups.cfg and services.cfg (etc) are all by hand. I watch 247 hosts and 1111 services (and counting). ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 17 17:33:03 2003 From: tobeya at tobert.org (Al Tobey) Date: Wed, 17 Dec 2003 11:33:03 -0500 Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: <1071674094.4534.186.camel@localhost> References: <3FE057D6.2080905@exponential-e.com> <1071674094.4534.186.camel@localhost> Message-ID: <1071678782.1983.1.camel@linuxws1.internal.priority-health.com> On Wed, 2003-12-17 at 10:14, jeff vier wrote: > On Wed, 2003-12-17 at 08:34, Luke A. Kanies wrote: > > > Have you seen nagmin or similar? It might pay to check these out before > > > making such a sweeping statement. I'd imagine most people quickly move > > > to generating config files in some way fairly quickly. > > That was kind of my point: I wasn't aware of any popular config > > generation tools, but I didn't quite believe (i.e., was incredulous) that > > everyone was doing it manually. > > > > I'll have to look more closely at nagmin. Thanks. > > I do mine manually. tried nagmin, hated it (i found it's like using a > WYSIWYG HTML editor - sure, it *mostly* works, but the end result isn't > pretty). > > I've written a lot of scripts to do things like gen apan config entries > and push extinfo and such. But hosts.cfg and hostgroups.cfg and > services.cfg (etc) are all by hand. > > I watch 247 hosts and 1111 services (and counting). > I find that manually managing the configuration files is really less work than you'd think. Once I set up a shell script to automatically check the configurations out of CVS and bounce Nagios, the workload for maintaining those configuration files has been minimal. The only downside is that it's harder to delegate administration of some servers, for example to our DBA's. > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extern.lars.oeschey at audi.de Wed Dec 17 17:42:44 2003 From: extern.lars.oeschey at audi.de (Lars Oeschey) Date: Wed, 17 Dec 2003 17:42:44 +0100 Subject: check_http 404 error Message-ID: <3FE08784.2070703@audi.de> Hi, one of my servers consistently gives me a "404 Object not found" error. The check_http command from commandline works, but not from within nagios. In checkcommands.cfg I have: define command{ command_name check_url command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ } and the services.cfg entry looks like this: check_command check_url!/audi/busnet/ when I run: ./check_http -H is0618 -u /audi/busnet/ I get: HTTP ok: HTTP/1.1 200 OK - 0.122 second response time |time= 0.122 What's guing wrong here? I have several other servers where I run the check_url command successfully... Lars ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 17:51:15 2003 From: DOlbersen at stbernard.com (David Olbersen) Date: Wed, 17 Dec 2003 08:51:15 -0800 Subject: check_http 404 error Message-ID: Lars Oeschey wrote: > when I run: > ./check_http -H is0618 -u /audi/busnet/ > > I get: > HTTP ok: HTTP/1.1 200 OK - 0.122 second response time |time= 0.122 > > > What's guing wrong here? I have several other servers where I run the > check_url command successfully... I'm willing to bet you have virtual hosting on that machine. I'm further willing to bet that "/audi/busnet" isn't available on the default virtual host. Remember that nagios will be running: check_http -H -u /audi/busnet/ I bet if you ran that, it'd give you a 404 as well! You can change your command definition to take the hostname if you like, there's a good list of macros available in the documentation. -- David Olbersen iGuard Engineer St. Bernard Software 15015 Avenue of Sciences San Diego, CA 92127 x2152 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian at kalkhoff.net Wed Dec 17 17:53:49 2003 From: christian at kalkhoff.net (Christian Kalkhoff) Date: Wed, 17 Dec 2003 17:53:49 +0100 Subject: check_http 404 error In-Reply-To: <3FE08784.2070703@audi.de> References: <3FE08784.2070703@audi.de> Message-ID: <200312171753.49443.christian@kalkhoff.net> Hi, configuration itself looks good. 404 means page not found which is strange in this case as it works from command line. Does that particular directory perhaps have some ip based restrictions and you checked the commandline from another host than the nagios one? Hope that helps. Christian Am Mittwoch, 17. Dezember 2003 17:42 schrieb Lars Oeschey: > Hi, > > one of my servers consistently gives me a "404 Object not found" error. > The check_http command from commandline works, but not from within nagios. > > In checkcommands.cfg I have: > > define command{ > command_name check_url > command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ > } > > and the services.cfg entry looks like this: > > check_command check_url!/audi/busnet/ > > when I run: > ./check_http -H is0618 -u /audi/busnet/ > > I get: > HTTP ok: HTTP/1.1 200 OK - 0.122 second response time |time= 0.122 > > > What's guing wrong here? I have several other servers where I run the > check_url command successfully... > > Lars > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- k l a u s - c h r i s t i a n k a l k h o f f s o f t w a r e a r c h i t e c t s y s t e m a d m i n i s t r a t o r w w w . k a l k h o f f . n e t ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 17:59:07 2003 From: marc at ena.com (Marc Powell) Date: Wed, 17 Dec 2003 10:59:07 -0600 Subject: check_http 404 error Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A07F@mismail2.ena.com> > -----Original Message----- > From: Lars Oeschey [mailto:extern.lars.oeschey at audi.de] > Sent: Wednesday, December 17, 2003 10:43 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http 404 error > > Hi, > > one of my servers consistently gives me a "404 Object not found" error. > The check_http command from commandline works, but not from within nagios. > > In checkcommands.cfg I have: > > define command{ > command_name check_url > command_line $USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$ > } > > and the services.cfg entry looks like this: > > check_command check_url!/audi/busnet/ > > when I run: > ./check_http -H is0618 -u /audi/busnet/ > > I get: > HTTP ok: HTTP/1.1 200 OK - 0.122 second response time |time= 0.122 > > > What's guing wrong here? I have several other servers where I run the > check_url command successfully... The commands _might_ not be the same. In the host definition, is address set to 'is0618' or the IP of the machine or something else entirely? You should also be able to get more information out of your httpd error/access logs. They should indicate what exactly the plugin is requesting on your server and hopefully why your httpd daemon is directing it to the wrong place. With the little information we have to work with, I suspect that it's a Host-Header mismatch issue, especially since you're using -H instead of -I. If you're checking virtually hosted sites, your best bet is to use -I, -H and then -u if you need that level of detail. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Dec 17 18:04:05 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 17 Dec 2003 12:04:05 -0500 (EST) Subject: check_ifstatus (1.3.1) Prototype mismatch error In-Reply-To: <9C7A3E5A42361642983F68FF090D11F8022242@noc0.bmpc.int> References: <9C7A3E5A42361642983F68FF090D11F8022242@noc0.bmpc.int> Message-ID: What version of Net::SNMP ? -sg On Wed, 19 Nov 2003 daryl at introspect.net wrote: > I'm getting the following errors when using the check_ifstatus plug-in: > > ---- > > t1-1:/usr/local/nagios# libexec/check_ifstatus -H -C > > Prototype mismatch: sub main::NULL vs () at > /usr/share/perl/5.6.1/Exporter.pm li > ne 57. > Exporter::import('INTEGER', 'INTEGER32', 'OCTET_STRING', 'NULL', > 'OBJECT > _IDENTIFIER', 'IPADDRESS', 'COUNTER', 'COUNTER32', ...) called at > libexec/check_ > ifstatus line 35 > main::BEGIN() called at /usr/share/perl5/Net/SNMP.pm line 35 > eval {...} called at /usr/share/perl5/Net/SNMP.pm line 35 > OK: host '', interfaces up: 12, down: 0, dormant: 0 > > ---- > > Looks like it's accurately reporting the interfae stats, but the extra > junk is making things sloppy. Any ideas? > > Thanks, > Daryl -- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Wed Dec 17 18:11:54 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 17 Dec 2003 12:11:54 -0500 (EST) Subject: Perl based NRPE In-Reply-To: <1069349006.21850.1554.camel@colonel.cos.agilent.com> References: <1069349006.21850.1554.camel@colonel.cos.agilent.com> Message-ID: On Thu, 20 Nov 2003, Jamie Bohr wrote: > Does any one have a Perl based NRPE? The reason why I ask is I have to > monitor some HP-UX 9, yes 9 and it is long story that involves > politics. I can set up an email relay to send messages but I would > rather have NRPE running. Any suggestions? > Didn't know if you already found one... Netsaint had one... http://www.netsaint.org/download/contrib/addons/nrpep-0.2.tar.gz Need to use check_nrpe v1 for the plugin end.. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xc06qy at yahoo.com Wed Dec 17 18:24:20 2003 From: xc06qy at yahoo.com (Jeffry Crow) Date: Wed, 17 Dec 2003 13:24:20 -0400 Subject: TECH SECTOR - Technology Breakthrough - Patents Filed...gayle Message-ID: <061na380qk9o2jc-5guc1304@hfl.q3k> TECHNOLOGY SECTOR - TECHNOLOGY BREAKTHROUGH - PATENTS FILED Symbol: NMMG Market: OTC.BB Sector: L.E.D. TECHNOLOGY Barcharts Rate NMMG an 80% BUY - http://quotes.barchart.com/texpert.asp?sym=NMMG BREAKING NEWS in technology - New Millennium Media International (OTCBB: NMMG) announces that it has officially filed its patents---with over 50 claims---protecting its revolutionary technology, a breakthrough in (LED) architecture. The OnScreen? LED Display Architecture is a radical new type of Bright LED video display architecture that is expected to revolutionize the 1.5 billion dollar LED display market. This breakthrough technology will give NMMG great potential to capture significant market share in the the 19 billion dollar outdoor advertising market. With all the new initiatives in Homeland Security and the Amber Alert, Intelligent Message Signs (IMS) are the future, and with the recent signing of new laws and federally mandated funds in the billions of dollars, NMMG and its patent-pending OnScreen technology is poised to lead the way. NMMG currently has the only technology that allows it to build onto exisiting infrastructure, i.e. road signs, billboards, etc. Imagine one day you are driving home on the freeway past a road sign you have seen a thousand times before--but this time you notice something different. This time you see a WARNING lit up--truck overturned 1 mile ahead--hazardous chemicals spilled. The sign advises you to exit immediately and to safety. Such a warning was broadcast instantly and using NMMG's OnScreen technology. You never noticed, as you drove by the roadside every day, that OnScreen was draped over the sign all this time. Now it has sprung into action by the punch of a button on a PC from a central station--instantly and just in the nick of time. You have just experienced OnScreen technology. And that is just one example. The possibilities are limitless. And because OnScreen can be applied to existing structures like road signs or billboards, its cost-effectiveness makes it far and away the technology choice. NMMG will unveil its breakthrough technology at the STRATEGIES IN LIGHT conference on February 2-4, 2004 at the San Mateo Marriott Hotel in San Mateo, California. This unique event is considered to be the premier annual forum for addressing commercial developments in high-brightness LEDs, as well as an unparalleled networking opportunity for suppliers and users of these devices. The growing interest in, and expanding attendance at, this event, reflects the excitement associated with a market that has grown by 50% since 2000, while other semiconductor and optical component industries have stagnated or experienced large declines. ON-SCREEN? TECHNOLOGY OnScreen? is expected to create a broad-range of products with much better resolution and brighter pictures than the current generation of displays. OnScreen? will be visible in direct sunlight yet avoid many of the issues associated with current displays including sun-loading, wind-loading and excessive weight. In addition, the new LED architecture produces an advantage that is not available in today's marketplace: a more lightweight, pliable display that can fit any application. These are important advantages as the High Brightness LED market is expected to grow from 1.2 billion dollars in 2000 to 4 billion in 2006. In addition, according to Stanford Resources, the LED sign market value alone is expected to exceed 1 billion by 2006. These projections are made based on existing technology and do not take into account emerging technologies, such as OnScreen?, that can rapidly alter the size and shape of this market. COMMERCIAL MARKET & STRATEGY NMMG's initial marketing strategy revolves around licensing intellectual property (IP) to worldwide manufacturers of LED display products and components. The LED sign market is projected to reach over 1 billion dollars by 2006. Lumiled's projects that high brightness LED's, used in LED signs alone, will exceed 1.2 billion by 2007. If these projections hold, the fully manufactured signs would represent a $5 billion market. Whichever number is accurate, they both point towards a robust market for these new LED displays. Many projections don't take into account emerging high growth applications such as the Amber Alert project, Homeland Security and roadway ?intelligent message transfer?. THE MARKET An article in Media Post's Media Daily News in March of 2003 noted that the outdoor industry has successfully weathered the recession and that ?our large members say they're having a great first quarter? in 2003. They go on to note that technology is expected to transform both the display and measurement of outdoor advertising. According to Media Daily the most exciting news is coming on the display side, where ?Lamar Advertising is converting their key boards to LED units whose messages can be changed at will and sold in day-parts by the hour or even the minute.? They added that ?Clear Channel's backlit subway panels in stairwells are being converted to LED as well?. Together these companies represent two of the three largest outdoor US advertisers. Recent Federal Government legislation has also placed a spotlight on expanding the ?Amber Alert? network nationwide. The highly publicized success in locating a number of kidnapped children shortly after their abduction in California has now triggered federal funding for U.S.-wide expansion of these variable-message signs. Homeland Security issues have also increased the number of early warning signs being planned and funded as part of an overall information sharing network. Traffic safety is also becoming a much higher priority in the U.S.. It is estimated that just over 60,000 roadway dynamic message signs are in operation in the United States. In Japan alone there are over 1.5 million of these signs. The United States represents a huge growth market for LED displays. GROWTH OPPORTUNITES In addition to the outdoor television market, another interesting and exciting application for OnScreen? arrays is artistic lighting in dramatic curved and shaped displays in places like Las Vegas, New York City or really virtually any venue. The tensile, flexible structure of OnScreen? provides unlimited opportunity for creativity. The anticipated cost reductions of OnScreen? will also provide ample opportunity for growth of the large-scale LED display market itself. OnScreen?'s unique architecture opens the door for new applications such as curved implementations, billboards on the sides of buildings where tenants can still see out, and lower cost mobile applications on the sides of existing vehicles. Homeland Security, Amber Alert variable message signage and instant message transfer applications can also benefit significantly from the advantages of OnScreen?. Reduced wind-loading and weight can significantly lower the cost of the superstructures required to support these signs and also reduce the cost to install and maintain them. JUST LOOK WHO IS ALREADY ON BOARD New Millennium has established a Technology Breakthroughsentific Advisory Board comprised of leading experts in key categories in the research and marketing of LED technology. David Pelka, Ph.D.- Chairman ? Well known expert in physics, founded TIR Technologies Inc. to pursue patents for his LED lighting systems and LCD backlits. Dr. Pelka secured more than $2 million in venture capital and licensing for TIR before it was acquired by Teledyne Electronic Technologies (NYSE:TDY). Since the buyout, Dr. Pelka has served as Director of Product Development for Teledyne Lighting and Display Products. Dr. Pelka's accolades include fellowships and awards from the Smithsonian, National Defense, Northrop University and Ebell Fellowship, as well as countless articles published in both classified (the U.S. Air Force and Army) publications and various non-classified publications. He has founded several technology companies, which he successfully expanded by building strong revenue streams and securing venture capital investments and government contracts. Robert V. Steele, Ph.D. ? Director of Optoelectronics Programs and Chairman of the annual conference ?Strategies in Light? for Strategies Unlimited. Steele is responsible for all of Strategies Unlimited's activities in the area of optoelectronic components, for which the 23-year-old market research firm has specialized in providing market research reports and consulting services. Co-author of ?Solid-State Lighting: New Growth Opportunities for High-Brightness LED's?, Dr. Steele writes regularly for industry publications on high-brightness LED markets and applications such as Forbes, The Wall Street Journal, The Economist and more. John Biondo ? Owner and President of Silicon Robotics Corporation, which provides various product development services including electronic and electromechanical design, software development, optics, and project management. Biondo also has extensive patent-process experience. In 1980, Biondo launched Electric Filmworks, which produced computer-generated visual effects for the television and motion picture industry. He also designed an apparatus using newly available and inexpensive microcomputers, which allowed the company to compete successful against older, more established firms. To transfer from the service-sector into manufacturing, Biondo sold Electric Filmworks in 1989 and co-founded Amazing Photos. Amazing Photos designed, manufactured and sold a variety of innovative coin-operated photo booths. Polaroid Corporation licensed and marketed the two most popular and cost effective booths under their own name. Richard Reis, Ph.D. ? Executive Director of the Alliance for Innovative Manufacturing at Stanford and Director for Academic Partnerships in the Stanford Learning Laboratory. Dr. Reis' impressive career includes serving as; the Executive director of the Stanford Center for integrated Systems, a major research partnership between Stanford and 15 industrial companies; a Consulting Professor in both the Stanford University Electrical and Mechanical Engineering departments; professor of a year-round seminar that is part of the Stanford University Future Professors of Manufacturing program; a professor of astronomy at the College of San Mateo, Calif.; and a curriculum consultant at Menlo College, Calif. Ben Jacobson, Ph.D. ? Dr. Jacobson has worked on numerous impressive LED projects that have exponentially increased beam density and brightness and reduced system costs. Additionally, these projects have improved power requirements, heat load and LED count, while improving compactness, efficiency and performance over competitors' products. Dr. Jacobson was instrumental in positioning Illumitech as a new company developing high-performance LED lighting systems with thermal packaging. Dr. Jacobson has over a decade of experience developing and marketing new technology for the display industry, both in his previous positions and currently at Illumitech. Prior to Illumitech, Dr. Jacobson held various executive and research directorial positions at EG Controls Inc., ARCH Venture Partners, NiOptics Corporation and the University of Chicago. He has seven U.S. patents, and has published 13 research articles and seven conference presentations. Joseph D. Tajnai, Ph.D. ? Dr. Tajnai is a consultant in Optical Radiation Safety, LED's & Applications and Optics & Optical Measurement Training. He was an engineer, Technology Breakthroughsentist and technical manager for 23 years at Hewlett-Packard and Agilent Technologies. He has focused on fiber optic development, LED development and measurements, new product processes, mathematical modeling and international and US standards and regulations. He also worked with GE Sylvania for nine years and contributed heavily to their YAG laser development. Dr. Tajnai received his BS, MS and Ph.D. from California Institute of Technology in Electrical Engineering and Applied Physics. Please note that NMMG had absolutley nothing to do with this report and is not a participant in any way. No more advertisements: www.inet-notification.com/away.html Technology Breakthroughs is an independent research firm. This report is based on Technology Breakthroughs's independent analysis but also relies on information supplied by sources believed to be reliable. This report may not be the opinion of NMMG management. Technology Breakthroughs has also been retained to research and issue reports on NMMG. Technology Breakthroughs may from time to time purchase or sell NMMG 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 NMMG. Copyright 2003 ? Technology Breakthroughs. All Rights Reserved. Technology Breakthroughs was paid eight thousand dollars to distribute this report. Technology Breakthroughs is not affiiated with Technology Breakthroughs and is not responsible for newsletter content. All information in this report can be obtained on the world wide web at www.nmmimediacom. New Millenimum Media was not a participant in this newsletter in any way. ycosfk pxljw p rvamrxyolbzyxtb pfvwp j sqji i From Phillip.Wilson at gwinnettcounty.com Wed Dec 17 18:47:36 2003 From: Phillip.Wilson at gwinnettcounty.com (Phillip.Wilson at gwinnettcounty.com) Date: Wed, 17 Dec 2003 12:47:36 -0500 Subject: Trouble ticket integration Message-ID: Has anyone ever attempted trouble ticket integration with Nagios? I can generate trouble tickets in our trouble ticket system (HEAT) via SMTP mail, but I really need to have bi-directional integration between Nagios and HEAT. Here is what I would **like** to have happen: 1) Nagios detects a fault condition (host or service) 2) Nagios opens a HEAT ticket 3) HEAT responds via SMTP with ticket # in subject line 4) **something** magical happens and a comment is added to the host/service that generated the ticket containing the HEAT ticket # OR does Nagios keep some type of UNIQUE event ID? If so, then: 1) Nagios detects a fault condition (host or service) 2) Nagios opens a HEAT ticket that includes the unique event ID (operators need to be correlate between a HEAT ticket and a Nagios event). what I would **love** to have happen: 5) HEAT user owns the ticket 6) **something** magical happens and a comment is added to the host/service that generated the ticket and/or 7) Nagios user acknowledges the host/service problem 8) **something** magical happens and HEAT ticket is closed and/or 5) HEAT user closed the ticket 6) **something** magical happens and a comment is added to the host/service that generated the ticket (possibly acknowledging it, if necessary - but it shouldn't be as the problem **ought** to be resolved, else why close the ticket) I know how to do this for HP OpenView (NNM and OVO) and both Vantive & Remedy. I couldn't find a way to do this with Nagios..... Don't get me wrong, I'm impressed with Nagios - I just **know** how to do this in HP-OV and I couldn't figure out how to do this in Nagios.... TIA, Phillip Wilson Consultant SNIA FC-Professional and FC-Specialist Gwinnett County Government DOSS/Information Technology Services-Networking 75 Langley Dr. Lawrenceville, GA 30045 Office: 770-822-7381 phillip.wilson at gwinnettcounty.com This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Dec 17 19:00:09 2003 From: marc at ena.com (Marc Powell) Date: Wed, 17 Dec 2003 12:00:09 -0600 Subject: monitoring postgres? Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A084@mismail2.ena.com> There is a check_pgsql as part of the standard plugins. You need to have the postgres devel and lib's installed before compiling though. -- Marc > -----Original Message----- > From: Lars Oeschey [mailto:extern.lars.oeschey at audi.de] > Sent: Wednesday, December 17, 2003 9:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] monitoring postgres? > > Hi, > > I just started with nagios, and want to monitor a postgres DB, though I > couldn't find a plugin for it. Is there none availible yet? ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gjfrater at bechtel.com Wed Dec 17 19:07:58 2003 From: gjfrater at bechtel.com (Frater, Greg J) Date: Wed, 17 Dec 2003 10:07:58 -0800 Subject: Trouble ticket integration Message-ID: We use HEAT and Nagios here so I have interest in your inquiry. Here our programming group has come up with some of the magic you are looking for by manipulating the HEAT system through the back door i.e. writing directly to the database tables. They do this to create tickets with some home grown applications and do web reporting of tickets currently in the system. You should be able to find the magic your looking for using this method, it seems to work well. This is a multi-part message in MIME format. ------_=_NextPart_001_01C3C4C5.DB448CCD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Has anyone ever attempted trouble ticket integration with Nagios? I can generate trouble tickets in our trouble ticket system (HEAT) via SMTP mail, but I really need to have bi-directional integration between Nagios and HEAT. =20 Here is what I would **like** to have happen: 1) Nagios detects a fault condition (host or service) 2) Nagios opens a HEAT ticket 3) HEAT responds via SMTP with ticket # in subject line 4) **something** magical happens and a comment is added to the host/service that generated the ticket containing the HEAT ticket # OR does Nagios keep some type of UNIQUE event ID? If so, then: 1) Nagios detects a fault condition (host or service) 2) Nagios opens a HEAT ticket that includes the unique event ID (operators need to be correlate between a HEAT ticket and a Nagios event). =20 what I would **love** to have happen: 5) HEAT user owns the ticket 6) **something** magical happens and a comment is added to the host/service that generated the ticket and/or 7) Nagios user acknowledges the host/service problem 8) **something** magical happens and HEAT ticket is closed and/or 5) HEAT user closed the ticket 6) **something** magical happens and a comment is added to the host/service that generated the ticket (possibly acknowledging it, if necessary - but it shouldn't be as the problem **ought** to be resolved, else why close the ticket) =20 I know how to do this for HP OpenView (NNM and OVO) and both Vantive & Remedy. =20 I couldn't find a way to do this with Nagios..... Don't get me wrong, I'm impressed with Nagios - I just **know** how to do this in HP-OV and I couldn't figure out how to do this in Nagios.... =20 TIA, =20 =20 =20 Phillip Wilson Consultant SNIA FC-Professional and FC-Specialist Gwinnett County Government DOSS/Information Technology Services-Networking 75 Langley Dr. Lawrenceville, GA 30045 =20 Office: 770-822-7381 phillip.wilson at gwinnettcounty.com =20 This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. =20 Greg Frater WTP IT Dept (509) 371-3537 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SGilbert at nvidia.com Wed Dec 17 19:10:17 2003 From: SGilbert at nvidia.com (Steve Gilbert) Date: Wed, 17 Dec 2003 10:10:17 -0800 Subject: Newbie question...which plugins to use? Message-ID: I've got a couple of questions about the various plugin choices that are available... Is there any benefit to using check_fping over check_ping? My understanding (which may be wrong) is that the only difference in ping and fping is that fping can ping a list of machines in parallel. That seems great, but I don't see how this helps with the check_fping plugin, since it's only going to work on one host, anyway. Also...why do we have both check_dns and check_dig? From my perspective, check_dns looks like the superior check since you can supply an address that you expect to be returned. Is there a reason to have them both, or is check_dig just left for historical reasons? Finally...looks like the first plugin that I will be writing myself will be something to check that NIS servers are working...unless someone has already done this, and I'm not finding it. Is there a check_nis out there somewhere before I reinvent the wheel? :-) Thanks! Steve Gilbert Unix Systems Administrator sgilbert at nvidia.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RyeR at schneider.com Wed Dec 17 19:17:24 2003 From: RyeR at schneider.com (RyeR at schneider.com) Date: Wed, 17 Dec 2003 12:17:24 -0600 Subject: check_procs -C on AIX 5L Message-ID: I am having issues with the check_procs command on AIX 5L systems. There is certain instance where it will report a Critical state of no processes existing, when indeed the process does exist. After digging, I believe it is issuing a ps -el. I have also changed the check_proc.c code to use the verbose setting. This the output when I run the command on a AIX 5L system root $ ./check_procs -w 1: -c 1: -C syslogd /usr/bin/ps -el Not parseable: 200003 A 0 1 0 0 60 20 fb8f000 1928 - 0:28 init Not parseable: 240001 A 0 131178 155720 0 60 20 1cd1c400 604 - 0:00 syslogd Not parseable: 240001 A 0 155720 1 0 60 20 2ce2400 712 - 0:00 srcmstr Not parseable: 240001 A 0 172076 155720 0 60 20 7d27400 3036 - 0:07 sendmail Not parseable: 240001 A 0 180272 155720 0 60 20 10d30400 1784 - 0:04 portmap Not parseable: 240001 A 0 188462 155720 0 60 20 6d26400 644 - 0:00 inetd Not parseable: 240001 A 0 196656 155720 0 48 8 1ad3a400 828 - 0:00 xntpd Not parseable: 240001 A 0 204852 155720 0 60 20 1d41400 720 - 7:54 dpid2 Not parseable: 240001 A 0 213044 155720 0 60 20 dd4d400 804 - 0:40 hostmibd Not parseable: 240001 A 0 245824 155720 0 60 20 d60400 356 - 0:00 biod Not parseable: 240001 A 1 262212 155720 0 60 20 cd4c400 2092 - 0:00 rpc.statd Not parseable: 240001 A 0 327772 155720 0 60 20 15db5400 1656 - 0:00 dtlogin Not parseable: 40001 A 560 344258 696544 0 60 20 638e400 1968 - 0:00 sshd Not parseable: 40001 A 0 385120 1 0 60 20 3de3400 308 - 0:00 diagd Not parseable: 240001 A 0 434326 491674 0 60 20 bfcb400 2944 - 499:32 dtgreet Not parseable: 200001 A 0 548906 524386 1 60 20 12c9a400 316 pts/0 0:00 ps Not parseable: 240001 A 560 630858 344258 0 60 20 68e1400 680 pts/0 0:00 ksh Not parseable: 40001 A 0 639090 1 0 60 20 1b1b3400 1292 - 0:00 sshd Not parseable: 200001 A 0 647304 630858 1 60 20 5503400 876 pts/0 0:00 ksh Not parseable: 40001 A 0 663802 1 0 60 20 1bddb400 416 - 0:02 prngd syslogd CRITICAL - 0 processes running with command name syslogd So of course any process listed as "not pareable" does not correctly work. I was hoping someone might have run into this, before I have to resort to looking at the source code. Thanks Ralph ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josue at nexos.com.br Wed Dec 17 20:43:56 2003 From: josue at nexos.com.br (=?ISO-8859-1?Q?Josu=E9=20Souza?=) Date: Wed, 17 Dec 2003 17:43:56 -0200 Subject: Monitoring Unix memory and network Message-ID: Hello, I'm using Nagios to monitor some Windows NT/2K and Unix servers. Among the various things I have to monitor is memory and network usage. I managed to do this on Windows using NSClient and fetching data from Windows perfomance counters but I didn't find a way to do the same with a Unix box (I'm testing on a FreeBSD 4.5 server). I have installed the nagios-plugins and couldn't find anyone who can give me memory and network traffic (inbound/outbound bytes) stats. Any hints on how to do this? Thanks Josue Souza Nexos Information Security Salvador - Bahia - Brasil ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 17 21:01:19 2003 From: DTerrell at Delphi-Tech.com (DTerrell at Delphi-Tech.com) Date: Wed, 17 Dec 2003 15:01:19 -0500 Subject: Jabber message newlines --and-- notify_via_jabber patch for ssl Message-ID: <880E60DA7286AB4CBEECB01B169A63BD1413E8BE@NJ-2K-Email1.delphi-tech.com> I recently read the post about notify-via-jabber and went to impliment it immediately. A small note is how would I be able to insert new lines into the message instead of having one long sentence? Also, I use SSL enabled Jabber and noticed there wasn't support in the perl script for it. Simple patch is: --- notify_via_jabber 2003-12-17 14:24:40.000000000 -0500 +++ notify_via_jabber1 2003-12-17 14:25:09.000000000 -0500 @@ -32,9 +32,10 @@ use constant RESOURCE => 'resource'; use constant MESSAGE => $ARGV[1]; use constant MAXWAIT => 2 ; +use constant SSL => 1; my $connection = Net::Jabber::Client->new(); -$connection->Connect( "hostname" => SERVER,"port" => PORT ) or die +$connection->Connect( "hostname" => SERVER,"port" => PORT,"ssl" => SSL ) or die "Cannot connect ($!)\n"; my @result = $connection->AuthSend( "username" => USER,"password" => of course, you'll also have to make sure the port is changed properly, SSL can be 1 or 0 (go figure). 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Engstrom at fortix.net Wed Dec 17 21:43:46 2003 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Wed, 17 Dec 2003 12:43:46 -0800 Subject: NSCA Distributed Server Message-ID: <6DC8CB0C5A67744EB3D89E41BC429F95A5C830@fortix-exchange.fortix-office.com> Greetings, For some reason the script that updates the central server is not executing but all other external commands seem to work fine. I was hoping that someone might be able to help? Here is the configuration (sorry about the length)... Central Server (10.1.1.4) NSCA running in daemon mode with the following config... server_port=5667 server_address=10.1.1.4 allowed_hosts=10.1.1.3 nsca_user=nagios nsca_group=nagios debug=1 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=1 append_to_file=0 max_packet_age=30 password=nagiosadmin decryption_method=2 nagios.cfg has the following.. log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=30s command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 #global_host_event_handler=somecommand #global_service_event_handler=somecommand inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=9 service_reaper_frequency=3 sleep_time=1 service_check_timeout=60 host_check_timeout=60 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=0 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=1 execute_service_checks=0 accept_passive_service_checks=1 enable_notifications=0 enable_event_handlers=1 process_performance_data=0 #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata obsess_over_services=0 #ocsp_command=somecommand check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=93600 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> Distributed Server (10.1.1.3) checkcommands.cfg contains... define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } submit_check_result permissions: -rwxr-xr-x 1 nagios nagios 1270 Dec 15 14:48 libexec/eventhandlers/submit_check_result submit_check_result file contains the following... #!/bin/sh return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca 10.1.1.4 -p 5667 -c /usr/local/nagios/etc/send_nsca.cfg send_nsca.cfg has the following... password=nagiosadmin encryption_method=2 nagios.cfg... log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=9 service_reaper_frequency=3 sleep_time=1 service_check_timeout=60 host_check_timeout=60 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=1 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 obsess_over_services=1 ocsp_command=submit_check_result check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> Thanks!! Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Wed Dec 17 22:08:14 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 17 Dec 2003 16:08:14 -0500 (EST) Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: <1071678782.1983.1.camel@linuxws1.internal.priority-health.com> References: <1071678782.1983.1.camel@linuxws1.internal.priority-health.com> Message-ID: On Wed, 17 Dec 2003, Al Tobey wrote: > I find that manually managing the configuration files is really less > work than you'd think. Once I set up a shell script to automatically > check the configurations out of CVS and bounce Nagios, the workload for > maintaining those configuration files has been minimal. The only > downside is that it's harder to delegate administration of some servers, > for example to our DBA's. I've found the same thing -- I wound up creating one file per host, sorted into directories based on install site, and put services in the files with the hosts. Manual maintenance has been pretty easy doing things that way, except for the issue of getting non-sysadmins to maintain the configs. Sticking with the DBA example... I'm currently taking the position that the DBAs are responsible for scheduling downtime, acknowledging notifications, etc.. but that if they make major changes which require a Nagios config change, they copy the sysadmins who will reflect the change in Nagios. Maybe one day I'll invest the time to train the programmers and DBAs on maintaining the config files, and then work out the right CVS rules to only allow them to modify their files.. but for now that is more work than maintaining the configs on their behalf. -- 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 17 22:18:29 2003 From: marc at ena.com (Marc Powell) Date: Wed, 17 Dec 2003 15:18:29 -0600 Subject: NSCA Distributed Server Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A095@mismail2.ena.com> See inline comments marked with : ________________________________________ From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net] Sent: Wednesday, December 17, 2003 2:44 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NSCA Distributed Server Greetings, ??????????? For some reason the script that updates the central server is not executing but all other external commands seem to work fine.? I was hoping that someone might be able to help?? Here is the configuration (sorry about the length)... - Is there any error message in /var/log/messages on either machine? You might try enabling the debug option in nsca.cfg to get more detailed information. You should also try submitting a check result by calling send_nsca manually. That might spit out some errors. I'd also verify that nsca is listening on the IP/Port you expect it to be via netstat -aelp. Central Server (10.1.1.4) ??????????? NSCA running in daemon mode with the following config... ??????????????????????? server_port=5667 [snip] NSCA config looks fine at first glance. ??????????? ??????????? nagios.cfg has the following.. [snip] command_check_interval=30s - This isn't valid for a 1.1 or below config AFAIK (it may be for a 2.0 config though). This should be an integer value specifying a multiple of the interval_length. For example, if you have your interval length set at 60 (seconds), then a 1 here would cause nagios to check for external commands every 60 seconds. 2 would mean every 120 seconds. The only odd value you could have here would be -1 which would cause nagios to check for external commands as often as possible. This could very well be your problem. A simple test would be to do an ls -l on rw/nagios.cmd and see if it's anything other than 0 length. If it's not then NSCA is successfully appending new results to the file but nagios may not be reading them. Distributed Server (10.1.1.3) [snip] Distributed server information looked fine. It is interesting to note that your had the command_check_interval set to -1 here where I would expect the least number of external commands (if any) to be received. That's more of a work-flow thing anyway I would suspect. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Engstrom at fortix.net Wed Dec 17 22:28:00 2003 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Wed, 17 Dec 2003 13:28:00 -0800 Subject: NSCA Distributed Server Message-ID: <6DC8CB0C5A67744EB3D89E41BC429F95A5C832@fortix-exchange.fortix-office.com> Marc, First and foremost, Thanks for the response! I was unable to locate anything strange when I did a tail -f /var/log/messages on either machine. Thanks for the heads up on the command_check_interval setting. That was there for testing and I forgot to change it back. I'm not sure why the oscp_command is not executing on the distributed server when the configuration tells it to execute?? One strange thing to note though... If I run the script manually from the distributed server it connects for 10secs and then times out. This is the output of /var/log/messages on the central server... Dec 17 13:20:44 nsca[6650]: Handling the connection... Dec 17 13:20:54 nsca[6650]: End of connection... Thanks again! Jeff -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, December 17, 2003 1:18 PM To: Jeff Engstrom; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCA Distributed Server See inline comments marked with : ________________________________________ From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net] Sent: Wednesday, December 17, 2003 2:44 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NSCA Distributed Server Greetings, ??????????? For some reason the script that updates the central server is not executing but all other external commands seem to work fine.? I was hoping that someone might be able to help?? Here is the configuration (sorry about the length)... - Is there any error message in /var/log/messages on either machine? You might try enabling the debug option in nsca.cfg to get more detailed information. You should also try submitting a check result by calling send_nsca manually. That might spit out some errors. I'd also verify that nsca is listening on the IP/Port you expect it to be via netstat -aelp. Central Server (10.1.1.4) ??????????? NSCA running in daemon mode with the following config... ??????????????????????? server_port=5667 [snip] NSCA config looks fine at first glance. ??????????? ??????????? nagios.cfg has the following.. [snip] command_check_interval=30s - This isn't valid for a 1.1 or below config AFAIK (it may be for a 2.0 config though). This should be an integer value specifying a multiple of the interval_length. For example, if you have your interval length set at 60 (seconds), then a 1 here would cause nagios to check for external commands every 60 seconds. 2 would mean every 120 seconds. The only odd value you could have here would be -1 which would cause nagios to check for external commands as often as possible. This could very well be your problem. A simple test would be to do an ls -l on rw/nagios.cmd and see if it's anything other than 0 length. If it's not then NSCA is successfully appending new results to the file but nagios may not be reading them. Distributed Server (10.1.1.3) [snip] Distributed server information looked fine. It is interesting to note that your had the command_check_interval set to -1 here where I would expect the least number of external commands (if any) to be received. That's more of a work-flow thing anyway I would suspect. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From benl at flowcom.com.au Wed Dec 17 21:51:13 2003 From: benl at flowcom.com.au (Ben Lisle) Date: Thu, 18 Dec 2003 07:51:13 +1100 Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: References: Message-ID: <1071694272.2560.21.camel@sparge> Hi, We're doing exactly this sort of thing at the moment. It's a real pain in the ass having to manage a whole range of applications to monitor/manage network elements. We use Nagios, Cricket (RRDTool), Pancho, Networklens, Smokeping, and one or two others. Each of them have their own way of storing their configuration information. Each of them have some nifty application that can be used to manage them. Urgh! We're using LDAP as a machine database of sorts. The theory goes something like this. We'll have our own application (both web-based and a PyGTK tool) which will be used to modify/view/add records in LDAP. Once you're happy with a configuration you can "push" the new device to the various applications you'll be using. So it'll put a good Defaults/Targets definition in the right spot in the Cricket config tree, it'll build the host/hostgroups/service configs for Nagios, that sort of thing. It'll obviously config the other tools we use, but those are the main two we're working on right now. I've got a rough schema hacked out for Cricket at the moment, so we're just beyond the planning stage finally. The Nagios schema will probably be next. If there's any interest for this sort of thing let me know. I'll see if I can con our management into releasing these sorts of things. If not I'll put up some documenation on what we've done and why we did it. I hate release dates, but we should have a fairly working tool by mid-late February. Rocking! Ben On Wed, 2003-12-17 at 08:37, Luke A. Kanies wrote: > Hi all, > > I've just started on a project to generate my nagios configurations, and > I'd like to know if others have worked on similar projects, and I'd also > like to know if others would find this work useful, and if so, how. > > One of my barriers to using nagios has always been my unwillingness to > maintain yet another host list. I already maintain a list of all of my > hosts in LDAP, and my nagios configs need to automatically update > themselves based on that list. Also, I can't have my nagios configuration > be the definition of what "should" be running on the system, because then > when I update the host I have to update Nagios, which I hate. > > So, I'm trying to come up with a design for maintaining my entire Nagios > data configuration automatically. My LDAP host list is basically > self-maintaining (I have a client/server style script that does most the > work), I already have all of my contacts in LDAP, the network is > authoritative on what machines each of my machines depends on, and the > hosts themselves are (usually) authoritative on what services they should > be providing. > > What I want is something to collect all of that and turn it into a valid > nagios config. However, there are still some pieces missing. For > instance, the LDAP directory is not currently capable of holding the > templates for the various object types, and there are some nagios-specific > details I'll probably want to associate with hosts and contacts. > > So, I think the first step is to create a nagios schema for LDAP. This is > the main thing I want to check: Would I be redoing someone else's work > here? It's definitely a no-no to have schema variety. If no one else has > ever done this before, then I'll go ahead and create one for OpenLDAP (it > should be easily usable for most other LDAP servers) and contribute it > back to the Nagios developers. > > Second is getting the data out of the directory. I've actually already > created a set of ruby classes which do this quite well. I've also created > a parser in ruby which can parse existing files and glean all the data in > them; it's a small stretch from where I am to parsing those files and > putting all of their data into LDAP. Because I don't currently have any > nagios configs, I'm less interested in moving data into LDAP, but I'd be > glad to work with people who would like to transition from storing data in > flat files to storing it in LDAP. > > Next is figuring out which services a given host should be running. I am > currently focusing on external services (i.e., ports), but will later > visit using nrpe et al to monitor other stuff. I know that there is > already an nmap2nagios script, and I would probably plan on utilyzing > lessons from this script, but because I need the results to interoperate > with the rest of my data structures I'll probably write something similar > in ruby. This tool will specifically support only scanning specific for > specific ports, as in most cases I don't want to monitor every port. > > Lastly is deducing the dependencies for each host. Apparently not many > people (none?) have built automated topology tools using traceroute, as I > could not find any online (well, I could find some that resulted in maps, > but none that were generically for building topologies). It should be > pretty simple to do, so I plan on adding a 'dependencies' method or > something to my ruby objects that transparently uses traceroute to figure > out the dependencies. I may later abstract that into an overall topology > tool, but unless I have a client specifically request that, I am unlikely > to do so any time soon. (I'm an independent consultant and am doing all > this for a client.) It also would not be a bad idea to have an option for > automatically monitoring these extra hosts. > > So, now that you basically know my plans, my main question is: Has > someone done something like this before? I'm slightly incredulous that > everyone using nagios is hand-editing every config file and manually > adding every service and every dependency. > > I'm hoping to release all of the code I write, but it will take some > effort on my part, as my current client has one of those we-get-everything > contracts. At the very least I plan on writing an article on my > experiences and then probably redoing the work in my free time. > > Anyone have any of this experience? > > Thanks, > Luke Kanies > Reductive Consulting > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hermes at infracomspa.it Wed Dec 17 22:48:31 2003 From: Hermes at infracomspa.it (Hermes at infracomspa.it) Date: Wed, 17 Dec 2003 22:48:31 +0100 Subject: Generating nagios configs from LDAP, nmap, and traceroute ScanMail has blocked your mail due to a mail policy. Message-ID: nagios-users-admin at lists.sourceforge.net Reason the mail was blocked: Scanned by ScanMail for Lotus Notes 2.6 with scanengine 6.810-1005 and patternfile lpt$vpn.702 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Engstrom at fortix.net Wed Dec 17 22:55:42 2003 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Wed, 17 Dec 2003 13:55:42 -0800 Subject: NSCA Distributed Server Message-ID: <6DC8CB0C5A67744EB3D89E41BC429F95A5C833@fortix-exchange.fortix-office.com> I found it!! On a whim I deleted the status.sav file and wha-la I began to receive updates to the central server! Thanks for you help again Marc. :) -Jeff -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, December 17, 2003 1:18 PM To: Jeff Engstrom; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCA Distributed Server See inline comments marked with : ________________________________________ From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net] Sent: Wednesday, December 17, 2003 2:44 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NSCA Distributed Server Greetings, ??????????? For some reason the script that updates the central server is not executing but all other external commands seem to work fine.? I was hoping that someone might be able to help?? Here is the configuration (sorry about the length)... - Is there any error message in /var/log/messages on either machine? You might try enabling the debug option in nsca.cfg to get more detailed information. You should also try submitting a check result by calling send_nsca manually. That might spit out some errors. I'd also verify that nsca is listening on the IP/Port you expect it to be via netstat -aelp. Central Server (10.1.1.4) ??????????? NSCA running in daemon mode with the following config... ??????????????????????? server_port=5667 [snip] NSCA config looks fine at first glance. ??????????? ??????????? nagios.cfg has the following.. [snip] command_check_interval=30s - This isn't valid for a 1.1 or below config AFAIK (it may be for a 2.0 config though). This should be an integer value specifying a multiple of the interval_length. For example, if you have your interval length set at 60 (seconds), then a 1 here would cause nagios to check for external commands every 60 seconds. 2 would mean every 120 seconds. The only odd value you could have here would be -1 which would cause nagios to check for external commands as often as possible. This could very well be your problem. A simple test would be to do an ls -l on rw/nagios.cmd and see if it's anything other than 0 length. If it's not then NSCA is successfully appending new results to the file but nagios may not be reading them. Distributed Server (10.1.1.3) [snip] Distributed server information looked fine. It is interesting to note that your had the command_check_interval set to -1 here where I would expect the least number of external commands (if any) to be received. That's more of a work-flow thing anyway I would suspect. -- Marc -------------- next part -------------- An HTML attachment was scrubbed... URL: From rodney.jones at eassist.com Wed Dec 17 23:24:17 2003 From: rodney.jones at eassist.com (Rodney Jones) Date: Wed, 17 Dec 2003 14:24:17 -0800 Subject: UNsubcribe PLease Message-ID: unsubcribe -----Original Message----- From: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Sent: Wednesday, December 17, 2003 2:00 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #1806 - 16 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: monitoring postgres? (Marc Powell) 2. RE: Trouble ticket integration (Frater, Greg J) 3. Newbie question...which plugins to use? (Steve Gilbert) 4. check_procs -C on AIX 5L (RyeR at schneider.com) 5. Monitoring Unix memory and network (=?ISO-8859-1?Q?Josu=E9=20Souza?=) 6. Jabber message newlines --and-- notify_via_jabber patch for ssl (DTerrell at Delphi-Tech.com) 7. NSCA Distributed Server (Jeff Engstrom) 8. Re: Generating nagios configs from LDAP, nmap, and traceroute (Matt Pounsett) 9. RE: NSCA Distributed Server (Marc Powell) 10. RE: NSCA Distributed Server (Jeff Engstrom) 11. Re: Generating nagios configs from LDAP, nmap, and traceroute (Ben Lisle) 12. Re: Generating nagios configs from LDAP, nmap, and traceroute ScanMail has blocked your mail due to a mail policy. (Hermes at infracomspa.it) 13. RE: NSCA Distributed Server (Jeff Engstrom) --__--__-- Message: 1 Subject: RE: [Nagios-users] monitoring postgres? Date: Wed, 17 Dec 2003 12:00:09 -0600 From: "Marc Powell" To: "Lars Oeschey" , There is a check_pgsql as part of the standard plugins. You need to have the postgres devel and lib's installed before compiling though. -- Marc > -----Original Message----- > From: Lars Oeschey [mailto:extern.lars.oeschey at audi.de] > Sent: Wednesday, December 17, 2003 9:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] monitoring postgres? >=20 > Hi, >=20 > I just started with nagios, and want to monitor a postgres DB, though I > couldn't find a plugin for it. Is there none availible yet? --__--__-- Message: 2 From: "Frater, Greg J" To: "'nagios-users at lists.sourceforge.net'" Date: Wed, 17 Dec 2003 10:07:58 -0800 Subject: [Nagios-users] RE: Trouble ticket integration We use HEAT and Nagios here so I have interest in your inquiry. Here our programming group has come up with some of the magic you are looking for by manipulating the HEAT system through the back door i.e. writing directly to the database tables. They do this to create tickets with some home grown applications and do web reporting of tickets currently in the system. You should be able to find the magic your looking for using this method, it seems to work well. This is a multi-part message in MIME format. ------_=_NextPart_001_01C3C4C5.DB448CCD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Has anyone ever attempted trouble ticket integration with Nagios? I can generate trouble tickets in our trouble ticket system (HEAT) via SMTP mail, but I really need to have bi-directional integration between Nagios and HEAT. =20 Here is what I would **like** to have happen: 1) Nagios detects a fault condition (host or service) 2) Nagios opens a HEAT ticket 3) HEAT responds via SMTP with ticket # in subject line 4) **something** magical happens and a comment is added to the host/service that generated the ticket containing the HEAT ticket # OR does Nagios keep some type of UNIQUE event ID? If so, then: 1) Nagios detects a fault condition (host or service) 2) Nagios opens a HEAT ticket that includes the unique event ID (operators need to be correlate between a HEAT ticket and a Nagios event). =20 what I would **love** to have happen: 5) HEAT user owns the ticket 6) **something** magical happens and a comment is added to the host/service that generated the ticket and/or 7) Nagios user acknowledges the host/service problem 8) **something** magical happens and HEAT ticket is closed and/or 5) HEAT user closed the ticket 6) **something** magical happens and a comment is added to the host/service that generated the ticket (possibly acknowledging it, if necessary - but it shouldn't be as the problem **ought** to be resolved, else why close the ticket) =20 I know how to do this for HP OpenView (NNM and OVO) and both Vantive & Remedy. =20 I couldn't find a way to do this with Nagios..... Don't get me wrong, I'm impressed with Nagios - I just **know** how to do this in HP-OV and I couldn't figure out how to do this in Nagios.... =20 TIA, =20 =20 =20 Phillip Wilson Consultant SNIA FC-Professional and FC-Specialist Gwinnett County Government DOSS/Information Technology Services-Networking 75 Langley Dr. Lawrenceville, GA 30045 =20 Office: 770-822-7381 phillip.wilson at gwinnettcounty.com =20 This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete all copies of this message and any attachments. Thank you. =20 Greg Frater WTP IT Dept (509) 371-3537 --__--__-- Message: 3 From: Steve Gilbert To: nagios-users at lists.sourceforge.net Date: Wed, 17 Dec 2003 10:10:17 -0800 Subject: [Nagios-users] Newbie question...which plugins to use? I've got a couple of questions about the various plugin choices that are available... Is there any benefit to using check_fping over check_ping? My understanding (which may be wrong) is that the only difference in ping and fping is that fping can ping a list of machines in parallel. That seems great, but I don't see how this helps with the check_fping plugin, since it's only going to work on one host, anyway. Also...why do we have both check_dns and check_dig? From my perspective, check_dns looks like the superior check since you can supply an address that you expect to be returned. Is there a reason to have them both, or is check_dig just left for historical reasons? Finally...looks like the first plugin that I will be writing myself will be something to check that NIS servers are working...unless someone has already done this, and I'm not finding it. Is there a check_nis out there somewhere before I reinvent the wheel? :-) Thanks! Steve Gilbert Unix Systems Administrator sgilbert at nvidia.com --__--__-- Message: 4 To: nagios-users at lists.sourceforge.net From: RyeR at schneider.com Date: Wed, 17 Dec 2003 12:17:24 -0600 Subject: [Nagios-users] check_procs -C on AIX 5L I am having issues with the check_procs command on AIX 5L systems. There is certain instance where it will report a Critical state of no processes existing, when indeed the process does exist. After digging, I believe it is issuing a ps -el. I have also changed the check_proc.c code to use the verbose setting. This the output when I run the command on a AIX 5L system root $ ./check_procs -w 1: -c 1: -C syslogd /usr/bin/ps -el Not parseable: 200003 A 0 1 0 0 60 20 fb8f000 1928 - 0:28 init Not parseable: 240001 A 0 131178 155720 0 60 20 1cd1c400 604 - 0:00 syslogd Not parseable: 240001 A 0 155720 1 0 60 20 2ce2400 712 - 0:00 srcmstr Not parseable: 240001 A 0 172076 155720 0 60 20 7d27400 3036 - 0:07 sendmail Not parseable: 240001 A 0 180272 155720 0 60 20 10d30400 1784 - 0:04 portmap Not parseable: 240001 A 0 188462 155720 0 60 20 6d26400 644 - 0:00 inetd Not parseable: 240001 A 0 196656 155720 0 48 8 1ad3a400 828 - 0:00 xntpd Not parseable: 240001 A 0 204852 155720 0 60 20 1d41400 720 - 7:54 dpid2 Not parseable: 240001 A 0 213044 155720 0 60 20 dd4d400 804 - 0:40 hostmibd Not parseable: 240001 A 0 245824 155720 0 60 20 d60400 356 - 0:00 biod Not parseable: 240001 A 1 262212 155720 0 60 20 cd4c400 2092 - 0:00 rpc.statd Not parseable: 240001 A 0 327772 155720 0 60 20 15db5400 1656 - 0:00 dtlogin Not parseable: 40001 A 560 344258 696544 0 60 20 638e400 1968 - 0:00 sshd Not parseable: 40001 A 0 385120 1 0 60 20 3de3400 308 - 0:00 diagd Not parseable: 240001 A 0 434326 491674 0 60 20 bfcb400 2944 - 499:32 dtgreet Not parseable: 200001 A 0 548906 524386 1 60 20 12c9a400 316 pts/0 0:00 ps Not parseable: 240001 A 560 630858 344258 0 60 20 68e1400 680 pts/0 0:00 ksh Not parseable: 40001 A 0 639090 1 0 60 20 1b1b3400 1292 - 0:00 sshd Not parseable: 200001 A 0 647304 630858 1 60 20 5503400 876 pts/0 0:00 ksh Not parseable: 40001 A 0 663802 1 0 60 20 1bddb400 416 - 0:02 prngd syslogd CRITICAL - 0 processes running with command name syslogd So of course any process listed as "not pareable" does not correctly work. I was hoping someone might have run into this, before I have to resort to looking at the source code. Thanks Ralph --__--__-- Message: 5 Date: Wed, 17 Dec 2003 17:43:56 -0200 From: "=?ISO-8859-1?Q?Josu=E9=20Souza?=" To: Subject: [Nagios-users] Monitoring Unix memory and network Hello, I'm using Nagios to monitor some Windows NT/2K and Unix servers. Among the = various things I have to monitor is memory and network usage. I managed to = do this on Windows using NSClient and fetching data from Windows perfomance= counters but I didn't find a way to do the same with a Unix box (I'm = testing on a FreeBSD 4.5 server). I have installed the nagios-plugins and = couldn't find anyone who can give me memory and network traffic (inbound/ou= tbound bytes) stats. Any hints on how to do this? Thanks Josue Souza Nexos Information Security Salvador - Bahia - Brasil --__--__-- Message: 6 From: DTerrell at Delphi-Tech.com To: Nagios-users at lists.sourceforge.net Date: Wed, 17 Dec 2003 15:01:19 -0500 Subject: [Nagios-users] Jabber message newlines --and-- notify_via_jabber patch for ssl I recently read the post about notify-via-jabber and went to impliment it immediately. A small note is how would I be able to insert new lines into the message instead of having one long sentence? Also, I use SSL enabled Jabber and noticed there wasn't support in the perl script for it. Simple patch is: --- notify_via_jabber 2003-12-17 14:24:40.000000000 -0500 +++ notify_via_jabber1 2003-12-17 14:25:09.000000000 -0500 @@ -32,9 +32,10 @@ use constant RESOURCE => 'resource'; use constant MESSAGE => $ARGV[1]; use constant MAXWAIT => 2 ; +use constant SSL => 1; my $connection = Net::Jabber::Client->new(); -$connection->Connect( "hostname" => SERVER,"port" => PORT ) or die +$connection->Connect( "hostname" => SERVER,"port" => PORT,"ssl" => SSL ) or die "Cannot connect ($!)\n"; my @result = $connection->AuthSend( "username" => USER,"password" => of course, you'll also have to make sure the port is changed properly, SSL can be 1 or 0 (go figure). Thanks, > ________________________ > David A. Terrell > MIS Engineer, RHCE, A+ > Delphi Technology, Inc. > Cambridge, MA 02139 > 617-494-8361 x2024 > > > --__--__-- Message: 7 From: Jeff Engstrom To: "'nagios-users at lists.sourceforge.net'" Date: Wed, 17 Dec 2003 12:43:46 -0800 Subject: [Nagios-users] NSCA Distributed Server This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3C4DE.77572710 Content-Type: text/plain Greetings, For some reason the script that updates the central server is not executing but all other external commands seem to work fine. I was hoping that someone might be able to help? Here is the configuration (sorry about the length)... Central Server (10.1.1.4) NSCA running in daemon mode with the following config... server_port=5667 server_address=10.1.1.4 allowed_hosts=10.1.1.3 nsca_user=nagios nsca_group=nagios debug=1 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=1 append_to_file=0 max_packet_age=30 password=nagiosadmin decryption_method=2 nagios.cfg has the following.. log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=30s command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 #global_host_event_handler=somecommand #global_service_event_handler=somecommand inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=9 service_reaper_frequency=3 sleep_time=1 service_check_timeout=60 host_check_timeout=60 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=0 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=1 execute_service_checks=0 accept_passive_service_checks=1 enable_notifications=0 enable_event_handlers=1 process_performance_data=0 #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata obsess_over_services=0 #ocsp_command=somecommand check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=93600 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> Distributed Server (10.1.1.3) checkcommands.cfg contains... define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } submit_check_result permissions: -rwxr-xr-x 1 nagios nagios 1270 Dec 15 14:48 libexec/eventhandlers/submit_check_result submit_check_result file contains the following... #!/bin/sh return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=-1 ;; esac /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca 10.1.1.4 -p 5667 -c /usr/local/nagios/etc/send_nsca.cfg send_nsca.cfg has the following... password=nagiosadmin encryption_method=2 nagios.cfg... log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/dependencies.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg resource_file=/usr/local/nagios/etc/resource.cfg status_file=/usr/local/nagios/var/status.log nagios_user=nagios nagios_group=nagios check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/rw/nagios.cmd comment_file=/usr/local/nagios/var/comment.log downtime_file=/usr/local/nagios/var/downtime.log lock_file=/usr/local/nagios/var/nagios.lock temp_file=/usr/local/nagios/var/nagios.tmp log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=9 service_reaper_frequency=3 sleep_time=1 service_check_timeout=60 host_check_timeout=60 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 retain_state_information=1 state_retention_file=/usr/local/nagios/var/status.sav retention_update_interval=60 use_retained_program_state=1 interval_length=60 use_agressive_host_checking=1 execute_service_checks=1 accept_passive_service_checks=1 enable_notifications=1 enable_event_handlers=1 process_performance_data=1 obsess_over_services=1 ocsp_command=submit_check_result check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=1 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> Thanks!! Jeff ------_=_NextPart_001_01C3C4DE.77572710 Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Greetings,

 

         = ;   For some reason the script that updates the central server is not executing = but all other external commands seem to work fine.  I was hoping that = someone might be able to help?  Here is the configuration (sorry about the = length)...

 

Central Server = (10.1.1.4)

         = ;   NSCA running in daemon mode with the following = config...

         = ;            = ;   server_port=3D5667

server_address=3D10.1.1.4

allowed_hosts=3D10.1.1.3

nsca_user=3Dnagios

nsca_group=3Dnagios

debug=3D1=

command_file=3D/usr/local/n= agios/var/rw/nagios.cmd

alternate_dump_file=3D/usr/= local/nagios/var/rw/nsca.dump

aggregate_writes=3D1

append_to_file=3D0

max_packet_age=3D30

password=3Dnagiosadmin=

decryption_method=3D2<= /o:p>

         = ;  

         = ;   nagios.cfg has the following..

log_file=3D/usr/local/nagio= s/var/nagios.log

cfg_file=3D/usr/local/nagio= s/etc/checkcommands.cfg

cfg_file=3D/usr/local/nagio= s/etc/misccommands.cfg

cfg_file=3D/usr/local/nagio= s/etc/contactgroups.cfg

cfg_file=3D/usr/local/nagio= s/etc/contacts.cfg

cfg_file=3D/usr/local/nagio= s/etc/dependencies.cfg

cfg_file=3D/usr/local/nagio= s/etc/escalations.cfg

cfg_file=3D/usr/local/nagio= s/etc/hostgroups.cfg

cfg_file=3D/usr/local/nagio= s/etc/hosts.cfg

cfg_file=3D/usr/local/nagio= s/etc/services.cfg

cfg_file=3D/usr/local/nagio= s/etc/timeperiods.cfg

resource_file=3D/usr/local/= nagios/etc/resource.cfg

status_file=3D/usr/local/na= gios/var/status.log

nagios_user=3Dnagios

nagios_group=3Dnagios<= /o:p>

check_external_commands=3D1=

command_check_interval=3D30= s

command_file=3D/usr/local/n= agios/var/rw/nagios.cmd

comment_file=3D/usr/local/n= agios/var/comment.log

downtime_file=3D/usr/local/= nagios/var/downtime.log

lock_file=3D/usr/local/nagi= os/var/nagios.lock

temp_file=3D/usr/local/nagi= os/var/nagios.tmp

log_rotation_method=3Dd

log_archive_path=3D/usr/loc= al/nagios/var/archives

use_syslog=3D1

log_notifications=3D1<= /o:p>

log_service_retries=3D1

log_host_retries=3D1

log_event_handlers=3D1=

log_initial_states=3D1=

log_external_commands=3D1

log_passive_service_checks=3D= 1

#global_host_event_handler=3D= somecommand

#global_service_event_handl= er=3Dsomecommand

inter_check_delay_method=3D= s

service_interleave_factor=3D= s

max_concurrent_checks=3D9

service_reaper_frequency=3D= 3

sleep_time=3D1

service_check_timeout=3D60<= o:p>

host_check_timeout=3D60

event_handler_timeout=3D30<= o:p>

notification_timeout=3D30

ocsp_timeout=3D5=

perfdata_timeout=3D5

retain_state_information=3D= 0

state_retention_file=3D/usr= /local/nagios/var/status.sav

retention_update_interval=3D= 60

use_retained_program_state=3D= 1

interval_length=3D60

use_agressive_host_checking= =3D1

execute_service_checks=3D0<= o:p>

accept_passive_service_chec= ks=3D1

enable_notifications=3D0

enable_event_handlers=3D1

process_performance_data=3D= 0

#host_perfdata_command=3Dpr= ocess-host-perfdata

#service_perfdata_command=3D= process-service-perfdata

obsess_over_services=3D0

#ocsp_command=3Dsomecommand=

check_for_orphaned_services= =3D1

check_service_freshness=3D1=

freshness_check_interval=3D= 93600

aggregate_status_updates=3D= 1

status_update_interval=3D15=

enable_flap_detection=3D1

low_service_flap_threshold=3D= 5.0

high_service_flap_threshold= =3D20.0

low_host_flap_threshold=3D5= .0

high_host_flap_threshold=3D= 20.0

date_format=3Dus=

illegal_object_name_chars=3D= `~!$%^&*|'"<>?,()=3D

illegal_macro_output_chars=3D= `~$&|'"<>

 

Distributed Server = (10.1.1.3)

         = ;   checkcommands.cfg contains...

         = ;            = ;   define command{

command_name  &nb= sp; submit_check_result

command_line  &nb= sp; /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$'

}<= /p>

 

submit_check_result = permissions:

    &nb= sp;       -rwxr-xr-x    1 nagios nagios     1270 Dec 15 14:48 libexec/eventhandlers/submit_check_result

 

submit_check_result file = contains the following...

    &nb= sp;       = #!/bin/sh

 

    &nb= sp;   return_code=3D-1

 

    &nb= sp;   case "$3" in

    &nb= sp;       OK)

    &nb= sp;           &nb= sp;       return_code=3D0

    &nb= sp;           &nb= sp;   ;;

    &nb= sp;           WARNING)

    &nb= sp;           &nb= sp;   return_code=3D1

    &nb= sp;           &nb= sp;       ;;

    &nb= sp;           CRITICAL)

    &nb= sp;           &nb= sp;   return_code=3D2

    &nb= sp;           &nb= sp;       ;;

    &nb= sp;           UNKNOWN)

    &nb= sp;           &nb= sp;   return_code=3D-1

    &nb= sp;           &nb= sp;       ;;

    &nb= sp;   esac

 

    &nb= sp;   /bin/echo -e "$1\t$2\t$return_code\t$4\n" | = /usr/local/nagios/bin/send_nsca 10.1.1.4 -p 5667 -c = /usr/local/nagios/etc/send_nsca.cfg

 

send_nsca.cfg has the = following...

         = ;            = ;   password=3Dnagiosadmin

encryption_method=3D2<= /o:p>

 

         = ;   nagios.cfg...

         = ;            = ;   = log_file=3D/usr/local/nagios/var/nagios.log

=

cfg_file=3D/usr/local/nagio= s/etc/checkcommands.cfg

cfg_file=3D/usr/local/nagio= s/etc/misccommands.cfg

cfg_file=3D/usr/local/nagio= s/etc/contactgroups.cfg

cfg_file=3D/usr/local/nagio= s/etc/contacts.cfg

cfg_file=3D/usr/local/nagio= s/etc/dependencies.cfg

cfg_file=3D/usr/local/nagio= s/etc/escalations.cfg

cfg_file=3D/usr/local/nagio= s/etc/hostgroups.cfg

cfg_file=3D/usr/local/nagio= s/etc/hosts.cfg

cfg_file=3D/usr/local/nagio= s/etc/services.cfg

cfg_file=3D/usr/local/nagio= s/etc/timeperiods.cfg

resource_file=3D/usr/local/= nagios/etc/resource.cfg

status_file=3D/usr/local/na= gios/var/status.log

nagios_user=3Dnagios

nagios_group=3Dnagios<= /o:p>

check_external_commands=3D1=

command_check_interval=3D-1=

command_file=3D/usr/local/n= agios/var/rw/nagios.cmd

comment_file=3D/usr/local/n= agios/var/comment.log

downtime_file=3D/usr/local/= nagios/var/downtime.log

lock_file=3D/usr/local/nagi= os/var/nagios.lock

temp_file=3D/usr/local/nagi= os/var/nagios.tmp

log_rotation_method=3Dd

log_archive_path=3D/usr/loc= al/nagios/var/archives

use_syslog=3D1

log_notifications=3D1<= /o:p>

log_service_retries=3D1

log_host_retries=3D1

log_event_handlers=3D1=

log_initial_states=3D1=

log_external_commands=3D1

log_passive_service_checks=3D= 1

inter_check_delay_method=3D= s

log_file=3D/usr/local/nagio= s/var/nagios.log

cfg_file=3D/usr/local/nagio= s/etc/checkcommands.cfg

cfg_file=3D/usr/local/nagio= s/etc/misccommands.cfg

cfg_file=3D/usr/local/nagio= s/etc/contactgroups.cfg

cfg_file=3D/usr/local/nagio= s/etc/contacts.cfg

cfg_file=3D/usr/local/nagio= s/etc/dependencies.cfg

cfg_file=3D/usr/local/nagio= s/etc/escalations.cfg

cfg_file=3D/usr/local/nagio= s/etc/hostgroups.cfg

cfg_file=3D/usr/local/nagio= s/etc/hosts.cfg

cfg_file=3D/usr/local/nagio= s/etc/services.cfg

cfg_file=3D/usr/local/nagio= s/etc/timeperiods.cfg

resource_file=3D/usr/local/= nagios/etc/resource.cfg

status_file=3D/usr/local/na= gios/var/status.log

nagios_user=3Dnagios

nagios_group=3Dnagios<= /o:p>

check_external_commands=3D1=

command_check_interval=3D-1=

command_file=3D/usr/local/n= agios/var/rw/nagios.cmd

comment_file=3D/usr/local/n= agios/var/comment.log

downtime_file=3D/usr/local/= nagios/var/downtime.log

lock_file=3D/usr/local/nagi= os/var/nagios.lock

temp_file=3D/usr/local/nagi= os/var/nagios.tmp

log_rotation_method=3Dd

log_archive_path=3D/usr/loc= al/nagios/var/archives

use_syslog=3D1

log_notifications=3D1<= /o:p>

log_service_retries=3D1

log_host_retries=3D1

log_event_handlers=3D1=

log_initial_states=3D1=

log_external_commands=3D1

log_passive_service_checks=3D= 1

inter_check_delay_method=3D= s

service_interleave_factor=3D= s

max_concurrent_checks=3D9

service_reaper_frequency=3D= 3

sleep_time=3D1

service_check_timeout=3D60<= o:p>

host_check_timeout=3D60

event_handler_timeout=3D30<= o:p>

notification_timeout=3D30

ocsp_timeout=3D5=

perfdata_timeout=3D5

retain_state_information=3D= 1

state_retention_file=3D/usr= /local/nagios/var/status.sav

retention_update_interval=3D= 60

use_retained_program_state=3D= 1

interval_length=3D60

use_agressive_host_checking= =3D1

execute_service_checks=3D1<= o:p>

accept_passive_service_chec= ks=3D1

enable_notifications=3D1

enable_event_handlers=3D1

process_performance_data=3D= 1

obsess_over_services=3D1

ocsp_command=3Dsubmit_check= _result

check_for_orphaned_services= =3D1

check_service_freshness=3D1=

freshness_check_interval=3D= 60

aggregate_status_updates=3D= 1

status_update_interval=3D15=

enable_flap_detection=3D1

low_service_flap_threshold=3D= 5.0

high_service_flap_threshold= =3D20.0

low_host_flap_threshold=3D5= .0

high_host_flap_threshold=3D= 20.0

date_format=3Dus=

illegal_object_name_chars=3D= `~!$%^&*|'"<>?,()=3D

illegal_macro_output_chars=3D= `~$&|'"<>

 

 

Thanks!!

Jeff

------_=_NextPart_001_01C3C4DE.77572710-- --__--__-- Message: 8 Date: Wed, 17 Dec 2003 16:08:14 -0500 (EST) From: Matt Pounsett To: nagios-users Subject: Re: [Nagios-users] Generating nagios configs from LDAP, nmap, and traceroute On Wed, 17 Dec 2003, Al Tobey wrote: > I find that manually managing the configuration files is really less > work than you'd think. Once I set up a shell script to automatically > check the configurations out of CVS and bounce Nagios, the workload for > maintaining those configuration files has been minimal. The only > downside is that it's harder to delegate administration of some servers, > for example to our DBA's. I've found the same thing -- I wound up creating one file per host, sorted into directories based on install site, and put services in the files with the hosts. Manual maintenance has been pretty easy doing things that way, except for the issue of getting non-sysadmins to maintain the configs. Sticking with the DBA example... I'm currently taking the position that the DBAs are responsible for scheduling downtime, acknowledging notifications, etc.. but that if they make major changes which require a Nagios config change, they copy the sysadmins who will reflect the change in Nagios. Maybe one day I'll invest the time to train the programmers and DBAs on maintaining the config files, and then work out the right CVS rules to only allow them to modify their files.. but for now that is more work than maintaining the configs on their behalf. -- 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 --__--__-- Message: 9 Subject: RE: [Nagios-users] NSCA Distributed Server Date: Wed, 17 Dec 2003 15:18:29 -0600 From: "Marc Powell" To: "Jeff Engstrom" , See inline comments marked with : ________________________________________ From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net]=20 Sent: Wednesday, December 17, 2003 2:44 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NSCA Distributed Server Greetings, =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the script that = updates the central server is not executing but all other external = commands seem to work fine.=A0 I was hoping that someone might be able = to help?=A0 Here is the configuration (sorry about the length)... - Is there any error message in /var/log/messages on either = machine? You might try enabling the debug option in nsca.cfg to get more = detailed information. You should also try submitting a check result by = calling send_nsca manually. That might spit out some errors. I'd also = verify that nsca is listening on the IP/Port you expect it to be via = netstat -aelp. Central Server (10.1.1.4) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in daemon mode with the = following config... =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = server_port=3D5667 [snip] NSCA config looks fine at first glance. =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the following.. [snip] command_check_interval=3D30s - This isn't valid for a 1.1 or below config AFAIK (it may be for = a 2.0 config though). This should be an integer value specifying a = multiple of the interval_length. For example, if you have your interval = length set at 60 (seconds), then a 1 here would cause nagios to check = for external commands every 60 seconds. 2 would mean every 120 seconds. = The only odd value you could have here would be -1 which would cause = nagios to check for external commands as often as possible. This could = very well be your problem. A simple test would be to do an ls -l on = rw/nagios.cmd and see if it's anything other than 0 length. If it's not = then NSCA is successfully appending new results to the file but nagios = may not be reading them. Distributed Server (10.1.1.3) [snip] Distributed server information looked fine. It is interesting to = note that your had the command_check_interval set to -1 here where I = would expect the least number of external commands (if any) to be = received. That's more of a work-flow thing anyway I would suspect. -- Marc=20 --__--__-- Message: 10 From: Jeff Engstrom To: 'Marc Powell' , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCA Distributed Server Date: Wed, 17 Dec 2003 13:28:00 -0800 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3C4E4.A58CC6C0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Marc, First and foremost, Thanks for the response! I was unable to locate anything strange when I did a tail -f /var/log/messages on either machine. Thanks for the heads up on the command_check_interval setting. That was there for testing and I forgot to change it back. I'm not sure why the oscp_command is not executing on the distributed server when the configuration tells it to execute??=20 One strange thing to note though... If I run the script manually from the distributed server it connects for 10secs and then times out. = This is the output of /var/log/messages on the central server... Dec 17 13:20:44 nsca[6650]: Handling the connection... Dec 17 13:20:54 nsca[6650]: End of connection... Thanks again! Jeff -----Original Message----- From: Marc Powell [mailto:marc at ena.com]=20 Sent: Wednesday, December 17, 2003 1:18 PM To: Jeff Engstrom; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCA Distributed Server See inline comments marked with : ________________________________________ From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net]=20 Sent: Wednesday, December 17, 2003 2:44 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NSCA Distributed Server Greetings, =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the script that = updates the central server is not executing but all other external commands seem to work fine.=A0 I = was hoping that someone might be able to help?=A0 Here is the configuration = (sorry about the length)... - Is there any error message in /var/log/messages on either = machine? You might try enabling the debug option in nsca.cfg to get more = detailed information. You should also try submitting a check result by calling send_nsca manually. That might spit out some errors. I'd also verify = that nsca is listening on the IP/Port you expect it to be via netstat -aelp. Central Server (10.1.1.4) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in daemon mode with the = following config... =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = server_port=3D5667 [snip] NSCA config looks fine at first glance. =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the following.. [snip] command_check_interval=3D30s - This isn't valid for a 1.1 or below config AFAIK (it may be = for a 2.0 config though). This should be an integer value specifying a = multiple of the interval_length. For example, if you have your interval length set = at 60 (seconds), then a 1 here would cause nagios to check for external = commands every 60 seconds. 2 would mean every 120 seconds. The only odd value = you could have here would be -1 which would cause nagios to check for = external commands as often as possible. This could very well be your problem. A simple test would be to do an ls -l on rw/nagios.cmd and see if it's anything other than 0 length. If it's not then NSCA is successfully appending new results to the file but nagios may not be reading them. Distributed Server (10.1.1.3) [snip] Distributed server information looked fine. It is interesting to = note that your had the command_check_interval set to -1 here where I would = expect the least number of external commands (if any) to be received. That's = more of a work-flow thing anyway I would suspect. -- Marc=20 ------_=_NextPart_001_01C3C4E4.A58CC6C0 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable RE: [Nagios-users] NSCA Distributed Server

Marc,

        First and = foremost, Thanks for the response!

        I was = unable to locate anything strange when I did a tail -f = /var/log/messages on either machine.

        Thanks for = the heads up on the command_check_interval setting.  That was = there for testing and I forgot to change it back.

        I'm not = sure why the oscp_command is not executing on the distributed server = when the configuration tells it to execute??

        One = strange thing to note though...  If I run the script manually from = the distributed server it connects for 10secs and then times out.  = This is the output of /var/log/messages on the central = server...

        =         Dec 17 = 13:20:44 nsca[6650]: Handling the connection...
        =         Dec 17 = 13:20:54 nsca[6650]: End of connection...

Thanks again!
Jeff

-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: Wednesday, December 17, 2003 1:18 PM
To: Jeff Engstrom; = nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NSCA Distributed = Server

See inline comments marked with <MARC>:
________________________________________
From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net= ]
Sent: Wednesday, December 17, 2003 2:44 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] NSCA Distributed = Server

Greetings,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the = script that updates the central server is not executing but all other = external commands seem to work fine.=A0 I was hoping that someone might = be able to help?=A0 Here is the configuration (sorry about the = length)...

<MARC> - Is there any error message in = /var/log/messages on either machine? You might try enabling the debug = option in nsca.cfg to get more detailed information. You should also = try submitting a check result by calling send_nsca manually. That might = spit out some errors. I'd also verify that nsca is listening on the = IP/Port you expect it to be via netstat -aelp.


Central Server (10.1.1.4)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in = daemon mode with the following config...
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 server_port=3D5667
[snip]
<MARC> NSCA config looks fine at first = glance.
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the = following..
[snip]

command_check_interval=3D30s

<MARC> - This isn't valid for a 1.1 or below = config AFAIK (it may be for a 2.0 config though). This should be an = integer value specifying a multiple of the interval_length. For = example, if you have your interval length set at 60 (seconds), then a 1 = here would cause nagios to check for external commands every 60 = seconds. 2 would mean every 120 seconds. The only odd value you could = have here would be -1 which would cause nagios to check for external = commands as often as possible. This could very well be your problem. A = simple test would be to do an ls -l on rw/nagios.cmd and see if it's = anything other than 0 length. If it's not then NSCA is successfully = appending new results to the file but nagios may not be reading = them.

Distributed Server (10.1.1.3)

[snip]
<MARC> Distributed server information looked = fine. It is interesting to note that your had the = command_check_interval set to -1 here where I would expect the least = number of external commands (if any) to be received. That's more of a = work-flow thing anyway I would suspect.

--
Marc


------_=_NextPart_001_01C3C4E4.A58CC6C0-- --__--__-- Message: 11 Subject: Re: [Nagios-users] Generating nagios configs from LDAP, nmap, and traceroute From: Ben Lisle To: "Luke A. Kanies" Cc: nagios-users at lists.sourceforge.net Date: Thu, 18 Dec 2003 07:51:13 +1100 Hi, We're doing exactly this sort of thing at the moment. It's a real pain in the ass having to manage a whole range of applications to monitor/manage network elements. We use Nagios, Cricket (RRDTool), Pancho, Networklens, Smokeping, and one or two others. Each of them have their own way of storing their configuration information. Each of them have some nifty application that can be used to manage them. Urgh! We're using LDAP as a machine database of sorts. The theory goes something like this. We'll have our own application (both web-based and a PyGTK tool) which will be used to modify/view/add records in LDAP. Once you're happy with a configuration you can "push" the new device to the various applications you'll be using. So it'll put a good Defaults/Targets definition in the right spot in the Cricket config tree, it'll build the host/hostgroups/service configs for Nagios, that sort of thing. It'll obviously config the other tools we use, but those are the main two we're working on right now. I've got a rough schema hacked out for Cricket at the moment, so we're just beyond the planning stage finally. The Nagios schema will probably be next. If there's any interest for this sort of thing let me know. I'll see if I can con our management into releasing these sorts of things. If not I'll put up some documenation on what we've done and why we did it. I hate release dates, but we should have a fairly working tool by mid-late February. Rocking! Ben On Wed, 2003-12-17 at 08:37, Luke A. Kanies wrote: > Hi all, > > I've just started on a project to generate my nagios configurations, and > I'd like to know if others have worked on similar projects, and I'd also > like to know if others would find this work useful, and if so, how. > > One of my barriers to using nagios has always been my unwillingness to > maintain yet another host list. I already maintain a list of all of my > hosts in LDAP, and my nagios configs need to automatically update > themselves based on that list. Also, I can't have my nagios configuration > be the definition of what "should" be running on the system, because then > when I update the host I have to update Nagios, which I hate. > > So, I'm trying to come up with a design for maintaining my entire Nagios > data configuration automatically. My LDAP host list is basically > self-maintaining (I have a client/server style script that does most the > work), I already have all of my contacts in LDAP, the network is > authoritative on what machines each of my machines depends on, and the > hosts themselves are (usually) authoritative on what services they should > be providing. > > What I want is something to collect all of that and turn it into a valid > nagios config. However, there are still some pieces missing. For > instance, the LDAP directory is not currently capable of holding the > templates for the various object types, and there are some nagios-specific > details I'll probably want to associate with hosts and contacts. > > So, I think the first step is to create a nagios schema for LDAP. This is > the main thing I want to check: Would I be redoing someone else's work > here? It's definitely a no-no to have schema variety. If no one else has > ever done this before, then I'll go ahead and create one for OpenLDAP (it > should be easily usable for most other LDAP servers) and contribute it > back to the Nagios developers. > > Second is getting the data out of the directory. I've actually already > created a set of ruby classes which do this quite well. I've also created > a parser in ruby which can parse existing files and glean all the data in > them; it's a small stretch from where I am to parsing those files and > putting all of their data into LDAP. Because I don't currently have any > nagios configs, I'm less interested in moving data into LDAP, but I'd be > glad to work with people who would like to transition from storing data in > flat files to storing it in LDAP. > > Next is figuring out which services a given host should be running. I am > currently focusing on external services (i.e., ports), but will later > visit using nrpe et al to monitor other stuff. I know that there is > already an nmap2nagios script, and I would probably plan on utilyzing > lessons from this script, but because I need the results to interoperate > with the rest of my data structures I'll probably write something similar > in ruby. This tool will specifically support only scanning specific for > specific ports, as in most cases I don't want to monitor every port. > > Lastly is deducing the dependencies for each host. Apparently not many > people (none?) have built automated topology tools using traceroute, as I > could not find any online (well, I could find some that resulted in maps, > but none that were generically for building topologies). It should be > pretty simple to do, so I plan on adding a 'dependencies' method or > something to my ruby objects that transparently uses traceroute to figure > out the dependencies. I may later abstract that into an overall topology > tool, but unless I have a client specifically request that, I am unlikely > to do so any time soon. (I'm an independent consultant and am doing all > this for a client.) It also would not be a bad idea to have an option for > automatically monitoring these extra hosts. > > So, now that you basically know my plans, my main question is: Has > someone done something like this before? I'm slightly incredulous that > everyone using nagios is hand-editing every config file and manually > adding every service and every dependency. > > I'm hoping to release all of the code I write, but it will take some > effort on my part, as my current client has one of those we-get-everything > contracts. At the very least I plan on writing an article on my > experiences and then probably redoing the work in my free time. > > Anyone have any of this experience? > > Thanks, > Luke Kanies > Reductive Consulting > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 12 To: nagios-users at lists.sourceforge.net, roppedisano at infracomspa.it Date: Wed, 17 Dec 2003 22:48:31 +0100 From: Hermes at infracomspa.it Subject: Re: [Nagios-users] Generating nagios configs from LDAP, nmap, and traceroute ScanMail has blocked your mail due to a mail policy. nagios-users-admin at lists.sourceforge.net Reason the mail was blocked: Scanned by ScanMail for Lotus Notes 2.6 with scanengine 6.810-1005 and patternfile lpt$vpn.702 --__--__-- Message: 13 From: Jeff Engstrom To: 'Marc Powell' , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCA Distributed Server Date: Wed, 17 Dec 2003 13:55:42 -0800 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3C4E8.844447F0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable I found it!! On a whim I deleted the status.sav file and wha-la I = began to receive updates to the central server! Thanks for you help again Marc. = :) -Jeff=20 -----Original Message----- From: Marc Powell [mailto:marc at ena.com]=20 Sent: Wednesday, December 17, 2003 1:18 PM To: Jeff Engstrom; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCA Distributed Server See inline comments marked with : ________________________________________ From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net]=20 Sent: Wednesday, December 17, 2003 2:44 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NSCA Distributed Server Greetings, =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the script that = updates the central server is not executing but all other external commands seem to work fine.=A0 I = was hoping that someone might be able to help?=A0 Here is the configuration = (sorry about the length)... - Is there any error message in /var/log/messages on either = machine? You might try enabling the debug option in nsca.cfg to get more = detailed information. You should also try submitting a check result by calling send_nsca manually. That might spit out some errors. I'd also verify = that nsca is listening on the IP/Port you expect it to be via netstat -aelp. Central Server (10.1.1.4) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in daemon mode with the = following config... =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 = server_port=3D5667 [snip] NSCA config looks fine at first glance. =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=20 =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the following.. [snip] command_check_interval=3D30s - This isn't valid for a 1.1 or below config AFAIK (it may be = for a 2.0 config though). This should be an integer value specifying a = multiple of the interval_length. For example, if you have your interval length set = at 60 (seconds), then a 1 here would cause nagios to check for external = commands every 60 seconds. 2 would mean every 120 seconds. The only odd value = you could have here would be -1 which would cause nagios to check for = external commands as often as possible. This could very well be your problem. A simple test would be to do an ls -l on rw/nagios.cmd and see if it's anything other than 0 length. If it's not then NSCA is successfully appending new results to the file but nagios may not be reading them. Distributed Server (10.1.1.3) [snip] Distributed server information looked fine. It is interesting to = note that your had the command_check_interval set to -1 here where I would = expect the least number of external commands (if any) to be received. That's = more of a work-flow thing anyway I would suspect. -- Marc=20 ------_=_NextPart_001_01C3C4E8.844447F0 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable RE: [Nagios-users] NSCA Distributed Server

I found it!!  On a whim I deleted the status.sav = file and wha-la I began to receive updates to the central server!  = Thanks for you help again Marc.  :)

-Jeff


-----Original Message-----
From: Marc Powell [mailto:marc at ena.com]
Sent: Wednesday, December 17, 2003 1:18 PM
To: Jeff Engstrom; = nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] NSCA Distributed = Server

See inline comments marked with <MARC>:
________________________________________
From: Jeff Engstrom [mailto:Jeff.Engstrom at fortix.net= ]
Sent: Wednesday, December 17, 2003 2:44 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] NSCA Distributed = Server

Greetings,

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 For some reason the = script that updates the central server is not executing but all other = external commands seem to work fine.=A0 I was hoping that someone might = be able to help?=A0 Here is the configuration (sorry about the = length)...

<MARC> - Is there any error message in = /var/log/messages on either machine? You might try enabling the debug = option in nsca.cfg to get more detailed information. You should also = try submitting a check result by calling send_nsca manually. That might = spit out some errors. I'd also verify that nsca is listening on the = IP/Port you expect it to be via netstat -aelp.


Central Server (10.1.1.4)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 NSCA running in = daemon mode with the following config...
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 server_port=3D5667
[snip]
<MARC> NSCA config looks fine at first = glance.
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 nagios.cfg has the = following..
[snip]

command_check_interval=3D30s

<MARC> - This isn't valid for a 1.1 or below = config AFAIK (it may be for a 2.0 config though). This should be an = integer value specifying a multiple of the interval_length. For = example, if you have your interval length set at 60 (seconds), then a 1 = here would cause nagios to check for external commands every 60 = seconds. 2 would mean every 120 seconds. The only odd value you could = have here would be -1 which would cause nagios to check for external = commands as often as possible. This could very well be your problem. A = simple test would be to do an ls -l on rw/nagios.cmd and see if it's = anything other than 0 length. If it's not then NSCA is successfully = appending new results to the file but nagios may not be reading = them.

Distributed Server (10.1.1.3)

[snip]
<MARC> Distributed server information looked = fine. It is interesting to note that your had the = command_check_interval set to -1 here where I would expect the least = number of external commands (if any) to be received. That's more of a = work-flow thing anyway I would suspect.

--
Marc


------_=_NextPart_001_01C3C4E8.844447F0-- --__--__-- _______________________________________________ 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luke at madstop.com Wed Dec 17 23:29:08 2003 From: luke at madstop.com (Luke A. Kanies) Date: Wed, 17 Dec 2003 16:29:08 -0600 (CST) Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: <1071694272.2560.21.camel@sparge> References: <1071694272.2560.21.camel@sparge> Message-ID: On Thu, 18 Dec 2003, Ben Lisle wrote: > Hi, > > We're doing exactly this sort of thing at the moment. > > It's a real pain in the ass having to manage a whole range of > applications to monitor/manage network elements. We use Nagios, Cricket > (RRDTool), Pancho, Networklens, Smokeping, and one or two others. Each > of them have their own way of storing their configuration information. > Each of them have some nifty application that can be used to manage > them. Urgh! Yup. > We're using LDAP as a machine database of sorts. The theory goes > something like this. We'll have our own application (both web-based and > a PyGTK tool) which will be used to modify/view/add records in LDAP. > Once you're happy with a configuration you can "push" the new device to > the various applications you'll be using. So it'll put a good > Defaults/Targets definition in the right spot in the Cricket config > tree, it'll build the host/hostgroups/service configs for Nagios, that > sort of thing. It'll obviously config the other tools we use, but those > are the main two we're working on right now. Cool, that's exactly what I'm talking about. > I've got a rough schema hacked out for Cricket at the moment, so we're > just beyond the planning stage finally. The Nagios schema will probably > be next. I basically have the Nagios schema finished, so if we could agree on one and then send it to the nagios maintainers for inclusion or something, that would be great. OTOH, I'm interested in your Cricket schema; have you sent it to the Cricket maintainers? > If there's any interest for this sort of thing let me know. I'll see if > I can con our management into releasing these sorts of things. If not > I'll put up some documenation on what we've done and why we did it. I'm definitely interested, and I expect that as we get a more complete system (and maybe someone releases some docs) more people will get interested. We could take this offline, maybe. > I hate release dates, but we should have a fairly working tool by > mid-late February. Very cool. I don't know what percentage of time I'll be allocated to this in the near future, but I'm already generating Nagios configurations out of LDAP, but they don't include any service checks. This month and in January I plan to add nmap and traceroute functions to the nagios objects so that they'll automatically built port checks and IP dependencies, but I don't know if I'll be able to release them. Heh. If you're company would like to hire me to work on this for them, I'd love to come spend a few months in Australia. :) Luke -- "The danger from computers is not that they will eventually get as smart as men, but we will meanwhile agree to meet them halfway." -Bernard Avishai ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hermes at infracomspa.it Wed Dec 17 23:31:02 2003 From: Hermes at infracomspa.it (Hermes at infracomspa.it) Date: Wed, 17 Dec 2003 23:31:02 +0100 Subject: Generating nagios configs from LDAP, nmap, and traceroute ScanMail has blocked your mail due to a mail policy. Message-ID: nagios-users-admin at lists.sourceforge.net Reason the mail was blocked: Scanned by ScanMail for Lotus Notes 2.6 with scanengine 6.810-1005 and patternfile lpt$vpn.702 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at anshulgupta.com Thu Dec 18 00:29:14 2003 From: tech at anshulgupta.com (Anshul Gupta) Date: Thu, 18 Dec 2003 10:29:14 +1100 Subject: Return code of 127 is out of bounds - plugin may be missing Message-ID: Hi All, I am in the process of customizing nagios for my company. It gives the message "Return code of 127 is out of bounds - plugin may be missing" when I reload the configuration. Also when I host/service is UP again, it still shows in the status as down with the same error "Return code of 127 is out of bounds - plugin may be missing". What can be the problem? Any help would be appreciated. Thanks, Anshul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Dec 18 00:35:26 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 17 Dec 2003 17:35:26 -0600 Subject: Return code of 127 is out of bounds - plugin may be missing In-Reply-To: References: Message-ID: <1071704126.6058.8.camel@localhost> have you run '/path/to/nagios -c /path/to/nagios.cfg'? On Wed, 2003-12-17 at 17:29, Anshul Gupta wrote: > Hi All, > > I am in the process of customizing nagios for my company. It gives the > message "Return code of 127 is out of bounds - plugin may be missing" > when I reload the configuration. Also when I host/service is UP again, > it still shows in the status as down with the same error "Return code > of 127 is out of bounds - plugin may be missing". > > What can be the problem? Any help would be appreciated. > > Thanks, > Anshul > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luke at luko.org Thu Dec 18 01:07:30 2003 From: luke at luko.org (Luke Rosenthal) Date: Thu, 18 Dec 2003 11:07:30 +1100 (EST) Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: <1071674094.4534.186.camel@localhost> References: <1071674094.4534.186.camel@localhost> Message-ID: > > I'll have to look more closely at nagmin. Thanks. > > I do mine manually. tried nagmin, hated it (i found it's like using a > WYSIWYG HTML editor - sure, it *mostly* works, but the end result isn't > pretty). Yeah, plus if it's all just generated in a big lump, you tend never to really understand it the same as if you'd written it yourself by hand. In the short term it's easier but in the longer term you end up scratching your head more, and wasting more time trying to understand what's been generated! Like reading somebody elses sloppy code! > I've written a lot of scripts to do things like gen apan config entries > and push extinfo and such. But hosts.cfg and hostgroups.cfg and > services.cfg (etc) are all by hand. I find the best way is to whip up a quick and dirty perl script (or bash/sed/awk, whatever) to mangle the data out of whatever form it's in and turn it into something I can paste into the config. It sounds old fashioned, but you would be surprised how often we export from whatever data source (usually windows-based, like Maximizer, ugh) to a flat text comma-delimited file, then just mangle that out into a series of config entries using perl. We only do this infrequently tho (once every few months) and it only takes me half an hr or so each time. Sure beats data entry!! > I watch 247 hosts and 1111 services (and counting). Bout the same for us. Next step is trying to implement something with net::ssh::perl that logs in and restarts services that fail, somehow linked to event handlers. Anyone had experience with this? Could check_by_ssh be given some creative commandline arguments? Luke. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 01:16:39 2003 From: marc at ena.com (Marc Powell) Date: Wed, 17 Dec 2003 18:16:39 -0600 Subject: Return code of 127 is out of bounds - plugin may be missing Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014203@mismail2.ena.com> Return code 127 indicates that the plugin couldn't be found. Verify that the $USER1$ macro points to the location the plugins were installed to and/or your command definitions use that macro or specify the full path to the plugin. -- Marc -----Original Message----- From: Anshul Gupta To: nagios-users at lists.sourceforge.net Sent: Wed Dec 17 17:29:14 2003 Subject: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing Hi All, I am in the process of customizing nagios for my company. It gives the message "Return code of 127 is out of bounds - plugin may be missing" when I reload the configuration. Also when I host/service is UP again, it still shows in the status as down with the same error "Return code of 127 is out of bounds - plugin may be missing". What can be the problem? Any help would be appreciated. Thanks, Anshul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Thu Dec 18 01:17:32 2003 From: marc at ena.com (Marc Powell) Date: Wed, 17 Dec 2003 18:17:32 -0600 Subject: Return code of 127 is out of bounds - pluginmay be missing Message-ID: <370ACCFA5BB3B346A31222E5559BF91F014204@mismail2.ena.com> Don't you mean -v? -- Marc -----Original Message----- From: jeff vier To: Anshul Gupta CC: nagios-users Sent: Wed Dec 17 17:35:26 2003 Subject: Re: [Nagios-users] Return code of 127 is out of bounds - pluginmay be missing have you run '/path/to/nagios -c /path/to/nagios.cfg'? On Wed, 2003-12-17 at 17:29, Anshul Gupta wrote: > Hi All, > > I am in the process of customizing nagios for my company. It gives the > message "Return code of 127 is out of bounds - plugin may be missing" > when I reload the configuration. Also when I host/service is UP again, > it still shows in the status as down with the same error "Return code > of 127 is out of bounds - plugin may be missing". > > What can be the problem? Any help would be appreciated. > > Thanks, > Anshul > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 pedmonds at boursedata.com.au Thu Dec 18 01:28:26 2003 From: pedmonds at boursedata.com.au (Peter Edmonds) Date: Thu, 18 Dec 2003 11:28:26 +1100 Subject: Nagios event handlers using ssh Message-ID: <018d01c3c4fd$da17d1f0$f407a8c0@peterwin2k> Luke Rosenthal wrote: Bout the same for us. Next step is trying to implement something with net::ssh::perl that logs in and restarts services that fail, somehow linked to event handlers. Anyone had experience with this? Could check_by_ssh be given some creative commandline arguments? Hi Luke, I have one event handler setup along these lines. It is a bash script that takes $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ and $HOSTADDRESS$ and ssh's into the target machine and restarts the service using Sysinternals pstools (target machine is Windows, but could be Linux/Unix with correct permissions). Output of pstools command gets emailed to preset email address. Works sensationally. Service blows up, event handler runs, service gets started. Very cool. Perl would be better and more secure, but I have had difficulty getting ssh to work under perl :( Let me know if you want example scripts Peter Edmonds Network Manager BourseData ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at anshulgupta.com Thu Dec 18 01:54:50 2003 From: tech at anshulgupta.com (Anshul Gupta) Date: Thu, 18 Dec 2003 11:54:50 +1100 Subject: Return code of 127 is out of bounds - plugin may be missing In-Reply-To: <1071704126.6058.8.camel@localhost> References: <1071704126.6058.8.camel@localhost> Message-ID: Hi, I have done it using '-v'. It has given some warnings about the contacts but no errors. When I restart nagios daemon then it nevers gives the problem. Only when I reload the configuration using, /etc/init.d/nagios reload then it start showing return code 127 ... plugin may be missing. But then when I restart the daemon, everything starts working correctly. Any thoughts ? Thanks, Anshul On 18/12/2003, at 10:35, jeff vier wrote: > have you run '/path/to/nagios -c /path/to/nagios.cfg'? > > On Wed, 2003-12-17 at 17:29, Anshul Gupta wrote: >> Hi All, >> >> I am in the process of customizing nagios for my company. It gives the >> message "Return code of 127 is out of bounds - plugin may be missing" >> when I reload the configuration. Also when I host/service is UP again, >> it still shows in the status as down with the same error "Return code >> of 127 is out of bounds - plugin may be missing". >> >> What can be the problem? Any help would be appreciated. >> >> Thanks, >> Anshul >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IBM Linux Tutorials. >> Become an expert in LINUX or just sharpen your skills. Sign up for >> IBM's >> Free Linux Tutorials. Learn everything from the bash shell to sys >> admin. >> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at anshulgupta.com Thu Dec 18 02:13:42 2003 From: tech at anshulgupta.com (Anshul Gupta) Date: Thu, 18 Dec 2003 12:13:42 +1100 Subject: Return code of 127 is out of bounds - plugin may be missing In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F014203@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F014203@mismail2.ena.com> Message-ID: <6BB1F256-30F7-11D8-ABEA-000A95B96BB0@anshulgupta.com> My $USER1$ macro points to /usr/local/nagios/libexec. That's the directory in which the check commands are installed. It works fine on restart but with reload it gives problem. Also when the host comes UP again, it still shows the host in RED color with the same error. What can be the problem? Cheers, Anshul On 18/12/2003, at 11:16, Marc Powell wrote: > Return code 127 indicates that the plugin couldn't be found. Verify > that the $USER1$ macro points to the location the plugins were > installed to and/or your command definitions use that macro or specify > the full path to the plugin. > > > -- > Marc > > -----Original Message----- > From: Anshul Gupta > To: nagios-users at lists.sourceforge.net > > Sent: Wed Dec 17 17:29:14 2003 > Subject: [Nagios-users] Return code of 127 is out of bounds - plugin > may be missing > > Hi All, > > I am in the process of customizing nagios for my company. It gives the > message "Return code of 127 is out of bounds - plugin may be missing"? > when I reload the configuration. Also when I host/service is UP again, > it still shows in the status as down with the same error "Return code > of 127 is out of bounds - plugin may be missing". > > What can be the problem? Any help would be appreciated. > > Thanks, > Anshul > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills.? Sign up for > IBM's > Free Linux Tutorials.? Learn everything from the bash shell to sys > admin. > Click now!http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casenp at harmonyip.com Thu Dec 18 02:28:57 2003 From: casenp at harmonyip.com (Casen) Date: Wed, 17 Dec 2003 18:28:57 -0700 Subject: Return code of 127 is out of bounds - plugin may be missing In-Reply-To: <6BB1F256-30F7-11D8-ABEA-000A95B96BB0@anshulgupta.com> References: <370ACCFA5BB3B346A31222E5559BF91F014203@mismail2.ena.com> <6BB1F256-30F7-11D8-ABEA-000A95B96BB0@anshulgupta.com> Message-ID: <3FE102D9.2010603@harmonyip.com> I've found it best practice to always do full stop/starts, rather than using restart. Restart has the habit of occasionally starting the next procee without getting the old one killed on the FreeBSD-STABLE box it is running on. Having two main nagios processes running leads to really, really, really interesting behavior. Not much help, but just an observation. Casen Anshul Gupta wrote: > My $USER1$ macro points to /usr/local/nagios/libexec. That's the > directory in which the check commands are installed. It works fine on > restart but with reload it gives problem. Also when the host comes UP > again, it still shows the host in RED color with the same error. > > What can be the problem? > > Cheers, > Anshul > > > On 18/12/2003, at 11:16, Marc Powell wrote: > >> Return code 127 indicates that the plugin couldn't be found. Verify >> that the $USER1$ macro points to the location the plugins were >> installed to and/or your command definitions use that macro or specify >> the full path to the plugin. >> >> >> -- >> Marc >> >> -----Original Message----- >> From: Anshul Gupta >> To: nagios-users at lists.sourceforge.net >> >> Sent: Wed Dec 17 17:29:14 2003 >> Subject: [Nagios-users] Return code of 127 is out of bounds - plugin >> may be missing >> >> Hi All, >> >> I am in the process of customizing nagios for my company. It gives the >> message "Return code of 127 is out of bounds - plugin may be missing" >> when I reload the configuration. Also when I host/service is UP again, >> it still shows in the status as down with the same error "Return code >> of 127 is out of bounds - plugin may be missing". >> >> What can be the problem? Any help would be appreciated. >> >> Thanks, >> Anshul >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IBM Linux Tutorials. >> Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >> Free Linux Tutorials. Learn everything from the bash shell to sys admin. >> Click now!http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 05:48:29 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Thu, 18 Dec 2003 11:48:29 +0700 Subject: Add unmanage device In-Reply-To: References: Message-ID: <5.1.0.14.2.20031218114553.01c939d0@10.16.3.240> Hi, all I just want to know, can we add unmanage switch into nagios map? How to configure hosts.cfg to add this? Thanks for all support Surya Rahmadiansyah Network Engineer TELKOM DIVRE I SUMATRA ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 07:02:49 2003 From: tdiehl at rogueind.com (Tom Diehl) Date: Thu, 18 Dec 2003 01:02:49 -0500 (EST) Subject: (no subject) Message-ID: Hi all, I am relatively new to nagios. So far I have gotten it working for most of the things I need but I am having a problem with the following. I have a couple of hosts that are not up all of the time, but when they are up I would like the services on them to be monitored. In big brother they have a provision for what they refer to as dialup hosts. When these hosts are connected they get monitored and if the services on them go down notifications are sent out but if the host is unavailable then all reporting of the host is suspended and the bbdisplay shows a clear dot. Is there anyway for nagios to be configured for similar behavior?? ....Tom ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 07:25:53 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 17 Dec 2003 22:25:53 -0800 Subject: Using HTML Tags In External Commands In-Reply-To: References: Message-ID: <0834CC99-3123-11D8-815C-000393ACBF0C@mac.com> I was just wondering if anyone had any insight on this issue. Does nagios just not support sending html output to the external commands? I could not find any mention of this sort of thing in the docs or the FAQ. I was really hoping I would be able to display the status of the router interfaces in the Status Information column in the web interface... but I'm running into the below problem. On Wednesday, December 10, 2003, at 10:11 PM, Noah Leaman wrote: > 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 > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fredrik.wanglund at mobeon.com Thu Dec 18 08:02:32 2003 From: fredrik.wanglund at mobeon.com (=?ISO-8859-1?Q?Fredrik_W=E4nglund?=) Date: Thu, 18 Dec 2003 08:02:32 +0100 Subject: Announce: Apan 0.3-sql Message-ID: <3FE15108.6030809@mobeon.com> Finally there is a new Apan released! The big thing this time is that all congiguration has moved from textfiles to a SQL-database. I have also written a simple config-utility that can be used to manage Apan. see http://apan.sf.net for more info /FredrikW ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 08:36:35 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 18 Dec 2003 07:36:35 -0000 Subject: check_procs -C on AIX 5L Message-ID: Ralph, Which version of the plugins are you using? The 1.4alpha release has some significant changes and includes using a different ps command. Ton > -----Original Message----- > From: RyeR at schneider.com [mailto:RyeR at schneider.com] > Sent: Wednesday, December 17, 2003 6:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_procs -C on AIX 5L > > > I am having issues with the check_procs command on AIX 5L > systems. There > is certain instance where it will report a Critical state of > no processes > existing, when indeed the process does exist. After digging, > I believe it > is issuing a ps -el. I have also changed the check_proc.c > code to use the > verbose setting. This the output when I run the command on a > AIX 5L system > > root $ ./check_procs -w 1: -c 1: -C syslogd > /usr/bin/ps -el > Not parseable: 200003 A 0 1 0 0 60 20 fb8f000 1928 > - 0:28 init > Not parseable: 240001 A 0 131178 155720 0 60 20 1cd1c400 604 > - 0:00 syslogd > Not parseable: 240001 A 0 155720 1 0 60 20 2ce2400 712 > - 0:00 srcmstr > Not parseable: 240001 A 0 172076 155720 0 60 20 7d27400 3036 > - 0:07 sendmail > Not parseable: 240001 A 0 180272 155720 0 60 20 10d30400 1784 > - 0:04 portmap > Not parseable: 240001 A 0 188462 155720 0 60 20 6d26400 644 > - 0:00 inetd > Not parseable: 240001 A 0 196656 155720 0 48 8 1ad3a400 828 > - 0:00 xntpd > Not parseable: 240001 A 0 204852 155720 0 60 20 1d41400 720 > - 7:54 dpid2 > Not parseable: 240001 A 0 213044 155720 0 60 20 dd4d400 804 > - 0:40 hostmibd > Not parseable: 240001 A 0 245824 155720 0 60 20 d60400 356 > - 0:00 biod > Not parseable: 240001 A 1 262212 155720 0 60 20 cd4c400 2092 > - 0:00 rpc.statd > Not parseable: 240001 A 0 327772 155720 0 60 20 15db5400 1656 > - 0:00 dtlogin > Not parseable: 40001 A 560 344258 696544 0 60 20 638e400 1968 > - 0:00 sshd > Not parseable: 40001 A 0 385120 1 0 60 20 3de3400 308 > - 0:00 diagd > Not parseable: 240001 A 0 434326 491674 0 60 20 bfcb400 2944 > - 499:32 dtgreet > Not parseable: 200001 A 0 548906 524386 1 60 20 12c9a400 316 > pts/0 0:00 ps > Not parseable: 240001 A 560 630858 344258 0 60 20 68e1400 680 > pts/0 0:00 ksh > Not parseable: 40001 A 0 639090 1 0 60 20 1b1b3400 1292 > - 0:00 sshd > Not parseable: 200001 A 0 647304 630858 1 60 20 5503400 876 > pts/0 0:00 ksh > Not parseable: 40001 A 0 663802 1 0 60 20 1bddb400 416 > - 0:02 prngd > syslogd CRITICAL - 0 processes running with command name syslogd > > So of course any process listed as "not pareable" does not > correctly work. > > I was hoping someone might have run into this, before I have > to resort to > looking at the source code. > > Thanks > Ralph > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extern.lars.oeschey at audi.de Thu Dec 18 10:25:05 2003 From: extern.lars.oeschey at audi.de (Lars Oeschey) Date: Thu, 18 Dec 2003 10:25:05 +0100 Subject: check_http 404 error In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A07F@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A07F@mismail2.ena.com> Message-ID: <3FE17271.9080503@audi.de> Marc Powell wrote: > The commands _might_ not be the same. In the host definition, is address > set to 'is0618' or the IP of the machine or something else entirely? You ok, got it... I didn't realize that nagios never uses the hostname when the IP is entered as hostaddress. Changed that for some DHCP clients as well now, as sooner or later those would have a problem also. thanks for the help, Lars ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From extern.lars.oeschey at audi.de Thu Dec 18 10:27:18 2003 From: extern.lars.oeschey at audi.de (Lars Oeschey) Date: Thu, 18 Dec 2003 10:27:18 +0100 Subject: monitoring postgres? In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A084@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A084@mismail2.ena.com> Message-ID: <3FE172F6.6060801@audi.de> Marc Powell wrote: > There is a check_pgsql as part of the standard plugins. You need to have > the postgres devel and lib's installed before compiling though. ah, ok... Is there any way to see what plugins are availible? Since I didn't see anything about the pgsql plugin, it might well be that I'm missing more... Lars ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 10:36:02 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 18 Dec 2003 09:36:02 +0000 Subject: Nagios event handlers using ssh In-Reply-To: <018d01c3c4fd$da17d1f0$f407a8c0@peterwin2k> References: <018d01c3c4fd$da17d1f0$f407a8c0@peterwin2k> Message-ID: <3FE17502.30000@exponential-e.com> Peter Edmonds wrote: > Luke Rosenthal wrote: > > Bout the same for us. Next step is trying to implement something with > net::ssh::perl that logs in and restarts services that fail, somehow > linked to event handlers. Anyone had experience with this? Could > check_by_ssh be given some creative commandline arguments? The general management tool issue with this approach (the management server doing restarts rather than agents) is that network problems between the manager and agent may cause a restart to be kicked off when in fact all is OK. Nagios may deal with this by not checking services when hosts are down (comments on this welcome). At the moment I have restart scripts running as daemons on the servers themselves and just use Nagios as a monitor for this reason. Jim ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Dec 18 10:52:38 2003 From: bclark at rocketseed.com (Brent Clark) Date: Thu, 18 Dec 2003 11:52:38 +0200 Subject: snmp Message-ID: <3FE178E6.5020904@rocketseed.com> Hi all I have been asked by my Project manager to investicate snmp. We currently use nagios as our nms, but we need extra things, like pages with graphs etc (like the whole shabang) So if anyone knows of any other tools etc or knows of a url with screenshot etc, that would be greatly be apprectated. I know there id rbd But I think we dont need to keep reinventing \ doing the wheel Kind Regards Brent Clark Brent Clark Tel: +27 21 657 6700 Fax: +27 21 657 6701 Cell: bclark at rocketseed.com For more info go to www.rocketseed.com http://v3.rocketseed.com/RocketSeed/mail/433a33383a37373534343a32363136323a2d323a343637 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: 9134 bytes Desc: not available URL: From zmauz08phf at yahoo.com Thu Dec 18 11:15:49 2003 From: zmauz08phf at yahoo.com (Carmella Navarro) Date: Thu, 18 Dec 2003 16:15:49 +0600 Subject: TECH SECTOR - Technology Breakthrough - Patents Filed...caprice Message-ID: <1m6k12b$6--9n0@560gf2h.qwo> TECHNOLOGY SECTOR - TECHNOLOGY BREAKTHROUGH - PATENTS FILED Symbol: NMMG Market: OTC.BB Sector: L.E.D. TECHNOLOGY Barcharts Rate NMMG an 80% BUY - http://quotes.barchart.com/texpert.asp?sym=NMMG BREAKING NEWS in technology - New Millennium Media International (OTCBB: NMMG) announces that it has officially filed its patents---with over 50 claims---protecting its revolutionary technology, a breakthrough in (LED) architecture. The OnScreen? LED Display Architecture is a radical new type of Bright LED video display architecture that is expected to revolutionize the 1.5 billion dollar LED display market. This breakthrough technology will give NMMG great potential to capture significant market share in the the 19 billion dollar outdoor advertising market. With all the new initiatives in Homeland Security and the Amber Alert, Intelligent Message Signs (IMS) are the future, and with the recent signing of new laws and federally mandated funds in the billions of dollars, NMMG and its patent-pending OnScreen technology is poised to lead the way. NMMG currently has the only technology that allows it to build onto exisiting infrastructure, i.e. road signs, billboards, etc. Imagine one day you are driving home on the freeway past a road sign you have seen a thousand times before--but this time you notice something different. This time you see a WARNING lit up--truck overturned 1 mile ahead--hazardous chemicals spilled. The sign advises you to exit immediately and to safety. Such a warning was broadcast instantly and using NMMG's OnScreen technology. You never noticed, as you drove by the roadside every day, that OnScreen was draped over the sign all this time. Now it has sprung into action by the punch of a button on a PC from a central station--instantly and just in the nick of time. You have just experienced OnScreen technology. And that is just one example. The possibilities are limitless. And because OnScreen can be applied to existing structures like road signs or billboards, its cost-effectiveness makes it far and away the technology choice. NMMG will unveil its breakthrough technology at the STRATEGIES IN LIGHT conference on February 2-4, 2004 at the San Mateo Marriott Hotel in San Mateo, California. This unique event is considered to be the premier annual forum for addressing commercial developments in high-brightness LEDs, as well as an unparalleled networking opportunity for suppliers and users of these devices. The growing interest in, and expanding attendance at, this event, reflects the excitement associated with a market that has grown by 50% since 2000, while other semiconductor and optical component industries have stagnated or experienced large declines. ON-SCREEN? TECHNOLOGY OnScreen? is expected to create a broad-range of products with much better resolution and brighter pictures than the current generation of displays. OnScreen? will be visible in direct sunlight yet avoid many of the issues associated with current displays including sun-loading, wind-loading and excessive weight. In addition, the new LED architecture produces an advantage that is not available in today's marketplace: a more lightweight, pliable display that can fit any application. These are important advantages as the High Brightness LED market is expected to grow from 1.2 billion dollars in 2000 to 4 billion in 2006. In addition, according to Stanford Resources, the LED sign market value alone is expected to exceed 1 billion by 2006. These projections are made based on existing technology and do not take into account emerging technologies, such as OnScreen?, that can rapidly alter the size and shape of this market. COMMERCIAL MARKET & STRATEGY NMMG's initial marketing strategy revolves around licensing intellectual property (IP) to worldwide manufacturers of LED display products and components. The LED sign market is projected to reach over 1 billion dollars by 2006. Lumiled's projects that high brightness LED's, used in LED signs alone, will exceed 1.2 billion by 2007. If these projections hold, the fully manufactured signs would represent a $5 billion market. Whichever number is accurate, they both point towards a robust market for these new LED displays. Many projections don't take into account emerging high growth applications such as the Amber Alert project, Homeland Security and roadway ?intelligent message transfer?. THE MARKET An article in Media Post's Media Daily News in March of 2003 noted that the outdoor industry has successfully weathered the recession and that ?our large members say they're having a great first quarter? in 2003. They go on to note that technology is expected to transform both the display and measurement of outdoor advertising. According to Media Daily the most exciting news is coming on the display side, where ?Lamar Advertising is converting their key boards to LED units whose messages can be changed at will and sold in day-parts by the hour or even the minute.? They added that ?Clear Channel's backlit subway panels in stairwells are being converted to LED as well?. Together these companies represent two of the three largest outdoor US advertisers. Recent Federal Government legislation has also placed a spotlight on expanding the ?Amber Alert? network nationwide. The highly publicized success in locating a number of kidnapped children shortly after their abduction in California has now triggered federal funding for U.S.-wide expansion of these variable-message signs. Homeland Security issues have also increased the number of early warning signs being planned and funded as part of an overall information sharing network. Traffic safety is also becoming a much higher priority in the U.S.. It is estimated that just over 60,000 roadway dynamic message signs are in operation in the United States. In Japan alone there are over 1.5 million of these signs. The United States represents a huge growth market for LED displays. GROWTH OPPORTUNITES In addition to the outdoor television market, another interesting and exciting application for OnScreen? arrays is artistic lighting in dramatic curved and shaped displays in places like Las Vegas, New York City or really virtually any venue. The tensile, flexible structure of OnScreen? provides unlimited opportunity for creativity. The anticipated cost reductions of OnScreen? will also provide ample opportunity for growth of the large-scale LED display market itself. OnScreen?'s unique architecture opens the door for new applications such as curved implementations, billboards on the sides of buildings where tenants can still see out, and lower cost mobile applications on the sides of existing vehicles. Homeland Security, Amber Alert variable message signage and instant message transfer applications can also benefit significantly from the advantages of OnScreen?. Reduced wind-loading and weight can significantly lower the cost of the superstructures required to support these signs and also reduce the cost to install and maintain them. JUST LOOK WHO IS ALREADY ON BOARD New Millennium has established a Technology Breakthroughsentific Advisory Board comprised of leading experts in key categories in the research and marketing of LED technology. David Pelka, Ph.D.- Chairman ? Well known expert in physics, founded TIR Technologies Inc. to pursue patents for his LED lighting systems and LCD backlits. Dr. Pelka secured more than $2 million in venture capital and licensing for TIR before it was acquired by Teledyne Electronic Technologies (NYSE:TDY). Since the buyout, Dr. Pelka has served as Director of Product Development for Teledyne Lighting and Display Products. Dr. Pelka's accolades include fellowships and awards from the Smithsonian, National Defense, Northrop University and Ebell Fellowship, as well as countless articles published in both classified (the U.S. Air Force and Army) publications and various non-classified publications. He has founded several technology companies, which he successfully expanded by building strong revenue streams and securing venture capital investments and government contracts. Robert V. Steele, Ph.D. ? Director of Optoelectronics Programs and Chairman of the annual conference ?Strategies in Light? for Strategies Unlimited. Steele is responsible for all of Strategies Unlimited's activities in the area of optoelectronic components, for which the 23-year-old market research firm has specialized in providing market research reports and consulting services. Co-author of ?Solid-State Lighting: New Growth Opportunities for High-Brightness LED's?, Dr. Steele writes regularly for industry publications on high-brightness LED markets and applications such as Forbes, The Wall Street Journal, The Economist and more. John Biondo ? Owner and President of Silicon Robotics Corporation, which provides various product development services including electronic and electromechanical design, software development, optics, and project management. Biondo also has extensive patent-process experience. In 1980, Biondo launched Electric Filmworks, which produced computer-generated visual effects for the television and motion picture industry. He also designed an apparatus using newly available and inexpensive microcomputers, which allowed the company to compete successful against older, more established firms. To transfer from the service-sector into manufacturing, Biondo sold Electric Filmworks in 1989 and co-founded Amazing Photos. Amazing Photos designed, manufactured and sold a variety of innovative coin-operated photo booths. Polaroid Corporation licensed and marketed the two most popular and cost effective booths under their own name. Richard Reis, Ph.D. ? Executive Director of the Alliance for Innovative Manufacturing at Stanford and Director for Academic Partnerships in the Stanford Learning Laboratory. Dr. Reis' impressive career includes serving as; the Executive director of the Stanford Center for integrated Systems, a major research partnership between Stanford and 15 industrial companies; a Consulting Professor in both the Stanford University Electrical and Mechanical Engineering departments; professor of a year-round seminar that is part of the Stanford University Future Professors of Manufacturing program; a professor of astronomy at the College of San Mateo, Calif.; and a curriculum consultant at Menlo College, Calif. Ben Jacobson, Ph.D. ? Dr. Jacobson has worked on numerous impressive LED projects that have exponentially increased beam density and brightness and reduced system costs. Additionally, these projects have improved power requirements, heat load and LED count, while improving compactness, efficiency and performance over competitors' products. Dr. Jacobson was instrumental in positioning Illumitech as a new company developing high-performance LED lighting systems with thermal packaging. Dr. Jacobson has over a decade of experience developing and marketing new technology for the display industry, both in his previous positions and currently at Illumitech. Prior to Illumitech, Dr. Jacobson held various executive and research directorial positions at EG Controls Inc., ARCH Venture Partners, NiOptics Corporation and the University of Chicago. He has seven U.S. patents, and has published 13 research articles and seven conference presentations. Joseph D. Tajnai, Ph.D. ? Dr. Tajnai is a consultant in Optical Radiation Safety, LED's & Applications and Optics & Optical Measurement Training. He was an engineer, Technology Breakthroughsentist and technical manager for 23 years at Hewlett-Packard and Agilent Technologies. He has focused on fiber optic development, LED development and measurements, new product processes, mathematical modeling and international and US standards and regulations. He also worked with GE Sylvania for nine years and contributed heavily to their YAG laser development. Dr. Tajnai received his BS, MS and Ph.D. from California Institute of Technology in Electrical Engineering and Applied Physics. Please note that NMMG had absolutley nothing to do with this report and is not a participant in any way. No more advertisements: www.inet-notification.com/away.html Technology Breakthroughs is an independent research firm. This report is based on Technology Breakthroughs's independent analysis but also relies on information supplied by sources believed to be reliable. This report may not be the opinion of NMMG management. Technology Breakthroughs has also been retained to research and issue reports on NMMG. Technology Breakthroughs may from time to time purchase or sell NMMG 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 NMMG. Copyright 2003 ? Technology Breakthroughs. All Rights Reserved. Technology Breakthroughs was paid eight thousand dollars to distribute this report. Technology Breakthroughs is not affiiated with Technology Breakthroughs and is not responsible for newsletter content. All information in this report can be obtained on the world wide web at www.nmmimediacom. New Millenimum Media was not a participant in this newsletter in any way. ghnb kz jkrgyt h aurmf q zxegfiwcdr ikok slrtlajj exi ny wqub hjvwgclsjtoo From o.marahrens at tu-harburg.de Thu Dec 18 12:21:17 2003 From: o.marahrens at tu-harburg.de (Oliver Marahrens) Date: Thu, 18 Dec 2003 12:21:17 +0100 Subject: check_log problem Message-ID: <3FE19BBD.3101.BAB935@localhost> Hello everybody, I'm new to Nagios and everything works fine. Nearly everything. I can't get the check_log-Plugin work as it it should. I want to check the file /var/log/messages on localhost for the word WARNING. To do that I have the following lines in checkcommands.cfg: define command { command_name check_log command_line $USER1$/check_log -F /var/log/messages -O /tmp/oldmessages -q $ARG1$ } At the service checks for my host in services.cfg I do the following: check_command check_log!"WARNING" To test the function I wrote WARNING manually into the messages- file. But Nagios says Log check ok - 0 pattern matches found The same happens when I execute check_log manually on bash. What's my mistake? Can anybody help me? Thank you, regards Oliver Marahrens ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Dec 18 12:42:43 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 18 Dec 2003 12:42:43 +0100 Subject: strange display Message-ID: <5.0.2.1.2.20031218120156.01eceab0@195.220.107.3> i m using nagios 1.1 and all works fine i have 8 services , 3 old and five i add , for a machine and when i look at status overview sometimes i just see the 3 old services . it s very strange if someone has any idea ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JCKC001 at motorola.com Thu Dec 18 12:57:11 2003 From: JCKC001 at motorola.com (Jackson Chris-JCKC001) Date: Thu, 18 Dec 2003 11:57:11 -0000 Subject: Newbie - Using groups Message-ID: <6D4580B7330ED811901500D0B7B935D5CFC805@ZUK02EXM04.baseng.comm.mot.com> Hi, I'm trying to set-up Nagios on a small number of machines before we decide whether to increase the number of systems we watch. I'm slightly confused by the use of groups in the configuration files. I'm currently trying to set-up services.cfg and it seems quite inefficient. The sample file appears to call checks in seperate statements, for the same machine. This means if you want to run 14 checks on 1 machine you have to write 14 "define service" statements. If I then have 12 machines to run those on, surely the services.cfg file beomes huge! I'm trying to get my head around the use of groups... is it possible to write a check list for a group rather than a host meaning that I only have to write my "define service" statements once. Meaning the start of the statement would appear: define service { group_name linux-servers Rather than: define service { host_name linuxserver1 It would make sense for this to be possible but as I'm new to the software I'm not sure how to acheive this. Also is the same true for dependencies? Can I make groups of machines dependent on 1 host instead of writing dependencies for every machine? Any help and assistance you can provide would be greatly appreciated! Thanks in advance Chris Jackson -------------- next part -------------- An HTML attachment was scrubbed... URL: From Basile.Mathieu at siris.sorbonne.fr Thu Dec 18 13:09:35 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 18 Dec 2003 13:09:35 +0100 Subject: probleme check_mail Message-ID: <5.0.2.1.2.20031218130552.01ed9ec0@195.220.107.3> i am running nagios 1.1 with plugins 1.3 i try to use check_mailq with nrpe if i do check_mail -w 50 -c 100 on the local machine all works fine but when i do that with nrpe i have the error " Error receiving data from daemon" and when i do it at the hand ( check_nrpe -H host -c check_mail -a 50 100 ) i have in daemon.log " error client request contained command arguments" " error client request invalid bailing out "' thanks for help basile ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From o.marahrens at tu-harburg.de Thu Dec 18 13:22:05 2003 From: o.marahrens at tu-harburg.de (Oliver Marahrens) Date: Thu, 18 Dec 2003 13:22:05 +0100 Subject: probleme check_mail In-Reply-To: <5.0.2.1.2.20031218130552.01ed9ec0@195.220.107.3> References: <5.0.2.1.2.20031218130552.01ed9ec0@195.220.107.3> Message-ID: <3FE1A9FD.17991.F2623B@localhost> Hi, just a suggestion: you have the option dont_blame_nrpe in nrpe.cfg on the value 0. If so the nrpe-daemon won't accept any arguments given with the command. Change it to 1 and it could work :-) Greetings Oliver Marahrens Basile Mathieu schrieb am 18 Dec 2003 : > i am running nagios 1.1 with plugins 1.3 > i try to use check_mailq with nrpe > if i do check_mail -w 50 -c 100 on the local machine all works fine > but when i do that with nrpe i have the error " Error receiving data from > daemon" > and when i do it at the hand ( check_nrpe -H host -c check_mail -a 50 100 ) > i have in daemon.log " error client request contained command arguments" > " error client request invalid bailing out "' > > > thanks for help > basile > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Dec 18 14:48:25 2003 From: rob at capband.net (Rob Nelson) Date: Thu, 18 Dec 2003 08:48:25 -0500 Subject: Return code of 127 is out of bounds - plugin may be missing In-Reply-To: <3FE102D9.2010603@harmonyip.com> References: <6BB1F256-30F7-11D8-ABEA-000A95B96BB0@anshulgupta.com> <370ACCFA5BB3B346A31222E5559BF91F014203@mismail2.ena.com> <6BB1F256-30F7-11D8-ABEA-000A95B96BB0@anshulgupta.com> <3FE102D9.2010603@harmonyip.com> Message-ID: <5.2.1.1.0.20031218084603.00bb1e90@mail.capband.net> >I've found it best practice to always do full stop/starts, rather than >using restart. Restart has the habit of occasionally starting the next >procee without getting the old one killed on the FreeBSD-STABLE box it is >running on. Having two main nagios processes running leads to really, >really, really interesting behavior. Same here. I renamed the startup script to /etc/rc.d/init.d/nagiosd, added a "killall nagios" to the stop code, and a "sleep 30" in the restart code, between calling stop and calling start. However, reload always works fine for me. I only do a restart if I add a boatload of new hosts or groups, reload for any changes in config or whatnot. What shows up in the nagios logs? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Dec 18 15:22:20 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 18 Dec 2003 08:22:20 -0600 Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: References: Message-ID: <1071757340.6052.12.camel@localhost> On Wed, 2003-12-17 at 18:07, Luke Rosenthal wrote: > I find the best way is to whip up a quick and dirty perl script (or > bash/sed/awk, whatever) to mangle the data out of whatever form it's in > and turn it into something I can paste into the config. It sounds old > fashioned, but you would be surprised how often we export from whatever > data source (usually windows-based, like Maximizer, ugh) to a flat text > comma-delimited file, then just mangle that out into a series of config > entries using perl. We only do this infrequently tho (once every few > months) and it only takes me half an hr or so each time. Sure beats data > entry!! I have an awk script that I've sent to several other list members that does this same thing. less convoluted than perl, I think, for a q&d parsing. > > I watch 247 hosts and 1111 services (and counting). > Bout the same for us. Next step is trying to implement something with > net::ssh::perl that logs in and restarts services that fail, somehow > linked to event handlers. Anyone had experience with this? Could > check_by_ssh be given some creative commandline arguments? Our plan was SNMP Traps gen'd by event handlers. Same idea. :) Larry Wall certainly knows what he's talking about with TMTOWTDI, eh? ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Dec 18 15:23:21 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 18 Dec 2003 08:23:21 -0600 Subject: Return code of 127 is out of bounds - pluginmay be missing In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F014204@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F014204@mismail2.ena.com> Message-ID: <1071757401.6058.14.camel@localhost> Of course (whoops). they're so close together :) On Wed, 2003-12-17 at 18:17, Marc Powell wrote: > Don't you mean -v? > > > -- > Marc > > -----Original Message----- > From: jeff vier > To: Anshul Gupta > CC: nagios-users > Sent: Wed Dec 17 17:35:26 2003 > Subject: Re: [Nagios-users] Return code of 127 is out of bounds - > pluginmay be missing > > have you run '/path/to/nagios -c /path/to/nagios.cfg'? > > On Wed, 2003-12-17 at 17:29, Anshul Gupta wrote: > > Hi All, > > > > I am in the process of customizing nagios for my company. It gives > the > > message "Return code of 127 is out of bounds - plugin may be > missing" > > when I reload the configuration. Also when I host/service is UP > again, > > it still shows in the status as down with the same error "Return > code > > of 127 is out of bounds - plugin may be missing". > > > > What can be the problem? Any help would be appreciated. > > > > Thanks, > > Anshul > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 15:59:34 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Thu, 18 Dec 2003 14:59:34 +0000 Subject: Trouble ticket integration In-Reply-To: References: Message-ID: <3FE1C0D6.5030902@exponential-e.com> Phillip.Wilson at gwinnettcounty.com wrote: > Jim, > Thanks for the input. I received one other email indicating the same > thing, so I guess I'm on my own in terms of having to write my own > integration (and I was so hoping that someone else has already done it > like so many other plug-ins/etc.). > One thing I haven't figured out is this: does/can Nagios assign some > type of unique "message id" to each message? The reason I need to know > is that I need to be able to UNIQUELY correlate a unique Nagios event > and to a unique HEAT ticket. > > > You may want to check out external commands submission, Al Tobey's > module on CPAN would probably help, but you would need to roll your own. > > Jim Sorry, I didn't really mean to reply off list, just realised I only replied to you. I'm not aware of any unique message ID. For instance one can be notified about the same service problem repeatedly depending upon the service definition, these are just notifications. The unique key is really host and service name, and one can change its state e.g. pass an external event to make a web service appear in an up state. Your integration could consist of your help desk system having fields for host and service populated automatically by Nagios. Once the ticket is closed a command can set the status to OK in Nagios based on this. However, as Nagios will be checking the service at intervals you define this may not be worth while, it will detect soon enough all is OK. You might be better off customising the Nagios and/or trouble ticket system interfaces, so for instance you could view all open tickets for a Nagios host (assuming your ticketing system is based on inventory or has a host/service field that ties up) from the Nagios interface. Then passing TT updates as Nagios notes wouldn't be needed. Jim ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Dec 18 17:06:09 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 18 Dec 2003 17:06:09 +0100 Subject: mailq and nrpe Message-ID: <5.0.2.1.2.20031218170306.01ee6090@195.220.107.3> we are running nagios 1.1 plugins 1.3 we want to use mailq with nrpe if we run nrpe as daemon or in inetd as user nagios mailq cannot read the sendmail queue because just root can do it if i run nrpe as daemon with user root i can t and it tell me nrpe cannot be run as root if i run nrpe in inetd as root for every check i have the error " could not complete ssl handshake " if someone can help me thanks basile ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Dec 18 17:31:04 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 18 Dec 2003 17:31:04 +0100 Subject: nrpe and mailq Message-ID: <5.0.2.1.2.20031218172909.01ed5d10@195.220.107.3> i forget the suid bit all works fine :) ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Dec 18 17:48:11 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 18 Dec 2003 17:48:11 +0100 Subject: strange probleme Message-ID: <5.0.2.1.2.20031218174311.01eda680@195.220.107.3> sorry for "spamming" the list but my probleme is very strange and i don t have any idea nagios running for a few day on a new machine and all works fine i add some services and for each services i had the services appair and disappair in the web interface sometimes i see them sometimes no if someone has any idea for exemple in the status overview i see 8 services for a machine and when i want to see in details and i go on the machine i just see 3 services. sometimes it s the opposite ( i see 3 and when i go on the machien i see 3 ) is it a web probleme or a probleme in the config file ??? mystery ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 18:44:56 2003 From: marc at ena.com (Marc Powell) Date: Thu, 18 Dec 2003 11:44:56 -0600 Subject: strange probleme Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A0D3@mismail2.ena.com> This is a classic symptom have having multiple nagios processes running on the same machine. Both are trying to update the status file with different information. The nagios restart probably didn't kill the old process before starting the new one. -- Marc > -----Original Message----- > From: Basile Mathieu [mailto:Basile.Mathieu at siris.sorbonne.fr] > Sent: Thursday, December 18, 2003 10:48 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] strange probleme > > sorry for "spamming" the list but my probleme is very strange and i don t > have any idea > > nagios running for a few day on a new machine and all works fine > > i add some services and for each services i had the services appair and > disappair in the > web interface > sometimes i see them sometimes no > if someone has any idea > > for exemple > in the status overview i see 8 services for a machine and when i want to > see in details and i go > on the machine i just see 3 services. > sometimes it s the opposite ( i see 3 and when i go on the machien i see 3 > ) > > is it a web probleme or a probleme in the config file ??? > mystery ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 19:21:22 2003 From: marc at ena.com (Marc Powell) Date: Thu, 18 Dec 2003 12:21:22 -0600 Subject: check_http 404 error Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A0D4@mismail2.ena.com> > -----Original Message----- > From: Lars Oeschey [mailto:extern.lars.oeschey at audi.de] > Sent: Thursday, December 18, 2003 3:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_http 404 error > > Marc Powell wrote: > > > The commands _might_ not be the same. In the host definition, is address > > set to 'is0618' or the IP of the machine or something else entirely? You > > ok, got it... I didn't realize that nagios never uses the hostname when > the IP is entered as hostaddress. Changed that for some DHCP clients as > well now, as sooner or later those would have a problem also. Actually, there is no if-then test as far as this is concerned. The command definitions by default use $HOSTADDRESS$, not $HOSTNAME$, although they could certainly be changed to use that instead. Hostname is primarily used internally for host/service/hostgroup associations. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twessel at firstbankslo.com Thu Dec 18 19:23:39 2003 From: twessel at firstbankslo.com (Thomas Wessel) Date: Thu, 18 Dec 2003 10:23:39 -0800 Subject: Trends display Message-ID: Hello. I'm having problems getting "Trends" to display properly. I get the error message... Error: Could not read host and service status information! I have all the necessary libraries installed and can't figure out what could be causing this problem. Everything else works fine except for the Status Map which gets the same error. Any help would be appreciated. -Thomas Privileged/confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luke at madstop.com Thu Dec 18 19:47:11 2003 From: luke at madstop.com (Luke A. Kanies) Date: Thu, 18 Dec 2003 12:47:11 -0600 (CST) Subject: Generating nagios configs from LDAP, nmap, and traceroute In-Reply-To: References: Message-ID: On Thu, 18 Dec 2003, Luke Rosenthal wrote: > Yeah, plus if it's all just generated in a big lump, you tend never to > really understand it the same as if you'd written it yourself by hand. In > the short term it's easier but in the longer term you end up scratching > your head more, and wasting more time trying to understand what's been > generated! Like reading somebody elses sloppy code! I'm all for not understanding how things work if I don't need to understand. I have no real idea how device drivers work, and I think that's a good thing. I'd some day prefer not to have any idea how Nagios works; just say "hey, get the hosts from this ldap server" and have it automagically monitor all of the appropriate stuff. Let the stupid computer do the stupid work. > > I've written a lot of scripts to do things like gen apan config entries > > and push extinfo and such. But hosts.cfg and hostgroups.cfg and > > services.cfg (etc) are all by hand. > > I find the best way is to whip up a quick and dirty perl script (or > bash/sed/awk, whatever) to mangle the data out of whatever form it's in > and turn it into something I can paste into the config. It sounds old > fashioned, but you would be surprised how often we export from whatever > data source (usually windows-based, like Maximizer, ugh) to a flat text > comma-delimited file, then just mangle that out into a series of config > entries using perl. We only do this infrequently tho (once every few > months) and it only takes me half an hr or so each time. Sure beats data > entry!! The problem comes when you need to add or remove or change a host. You have to do that in every separate application that knows about your host. If you have a single, normalized, authoritative host list (in LDAP, SQL, or a flat file; it doesn't matter) then you only need to change that one list and everyone else automatically updates themselves. Certainly when I'm done I expect that when I add a host to LDAP or remove one from LDAP, Nagios will automatically (through no manual effort at all) rebuild its configuration to take into account this change, including any services it should monitor and IPs it depends on. That, combined with using cfengine to configure nsca on the local host, provides completely automated monitoring and reaction. > > I watch 247 hosts and 1111 services (and counting). > > Bout the same for us. Next step is trying to implement something with > net::ssh::perl that logs in and restarts services that fail, somehow > linked to event handlers. Anyone had experience with this? Could > check_by_ssh be given some creative commandline arguments? I highly recommend you look at using something like cfengine for restarting services locally. It gives you a straightforward syntax for restarting failed services, although it does not integrate with Nagios plugin checks. I've you're just restarting bombed services, though, that's probably your best bet, and it certainly has fewer security implications. As a bonus, you can use it to centralize your nagios configurations (if you're using nsca or something). I'm using cfengine to install and configure pretty much all of my open source software, along with checking that my basic processes are running (syslog, sshd, etc.) and checking a bunch of other stuff. Luke (Kanies) -- "Only wimps use tape backup: _real_ men just upload their important stuff on ftp, and let the rest of the world mirror it." --Linus Torvalds on linux-kernel ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Dec 18 22:53:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 18 Dec 2003 16:53:38 -0500 (EST) Subject: unsubscribe In-Reply-To: <6409F183B22921459B5883D616747BE442050D@integrity.mainstream-tech.com> References: <6409F183B22921459B5883D616747BE442050D@integrity.mainstream-tech.com> Message-ID: Please go to "http://lists.sourceforge.net/lists/listinfo/nagios-users" enter your email in the last box at the bottom of the page, press edit options On the next page - enter your password to unsubscribe -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rosso at cae.wisc.edu Thu Dec 18 23:06:25 2003 From: rosso at cae.wisc.edu (Ross Oldenburg) Date: Thu, 18 Dec 2003 16:06:25 -0600 (CST) Subject: General Status Page Message-ID: Hello I was wondering if anyone has written an addon to display a very general status overview page. At our site, we're looking to have a page users can look at and understand. Something like: If load average on our mail server is high: "E-mail may be slow" If webserver is offline: "Webserver is down" If our pipe to the outside world is broken: "Internet link is down" If our wireless firewall is down: "Wireless is down" et cetera. If no one has done this already, can anyone offer any tips on grabbing host/service group status in real-time from Nagios in a stateless manner? Ross Oldenburg UNIX Systems Staff University of Wisconsin - Madison Computer-Aided Engineering Centre ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Dec 18 23:02:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 18 Dec 2003 17:02:36 -0500 (EST) Subject: Add unmanage device In-Reply-To: <5.1.0.14.2.20031218114553.01c939d0@10.16.3.240> References: <5.1.0.14.2.20031218114553.01c939d0@10.16.3.240> Message-ID: On Thu, 18 Dec 2003, Surya Rahmadiansyah wrote: > Hi, all > I just want to know, can we add unmanage switch into nagios map? How to > configure hosts.cfg to add this? > Add a host with it's ip address same as the upstream (active check) -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Dec 18 22:59:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 18 Dec 2003 16:59:25 -0500 (EST) Subject: Newbie question...which plugins to use? In-Reply-To: References: Message-ID: On Wed, 17 Dec 2003, Steve Gilbert wrote: > I've got a couple of questions about the various plugin choices that are > available... > > Is there any benefit to using check_fping over check_ping? My understanding > (which may be wrong) is that the only difference in ping and fping is that > fping can ping a list of machines in parallel. That seems great, but I > don't see how this helps with the check_fping plugin, since it's only going > to work on one host, anyway. fping code is typically a lot faster than the system ping > > Also...why do we have both check_dns and check_dig? From my perspective, > check_dns looks like the superior check since you can supply an address that > you expect to be returned. Is there a reason to have them both, or is > check_dig just left for historical reasons? actually check_dns uses "nslookup" which is on its way out. > > Finally...looks like the first plugin that I will be writing myself will be > something to check that NIS servers are working...unless someone has already > done this, and I'm not finding it. Is there a check_nis out there somewhere > before I reinvent the wheel? :-) check_rpc -C ypserv -H nisserver -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 06:33:39 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Fri, 19 Dec 2003 16:33:39 +1100 Subject: 3 e-mails per host in DOWN state Message-ID: <52B61873A3467540AF8D4C08BA3AE52A16AE61@ags01.ausgeo.com.au> Hi Guys, I'm running Nagios with about 100 clients at the moment. As the clients are on a VPN, I want to be alerted ONCE, whenever a host goes DOWN, only during WORKHOURS. Currently my hosts.cfg file contains; --------------------------------- # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data notification_interval 0 ; one alert retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name vpn-client alias VPN Client address 192.168.111.111 check_command check-host-alive max_check_attempts 10 notification_period workhours notification_options d parents router2 } ---------------------------------- Despite this, whenever a host goes down I am sent 3 e-mails for the same issue anywhere between 1 minute to 10 minutes apart. I have looked for anything obvious and have come up empty. I may be missing something but don't know what that is. Cheers, -Patrick ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Dec 19 06:42:24 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 19 Dec 2003 00:42:24 -0500 (EST) Subject: 3 e-mails per host in DOWN state In-Reply-To: <52B61873A3467540AF8D4C08BA3AE52A16AE61@ags01.ausgeo.com.au> References: <52B61873A3467540AF8D4C08BA3AE52A16AE61@ags01.ausgeo.com.au> Message-ID: Which version of Nagios are you running? -sg On Fri, 19 Dec 2003, Patrick Webster wrote: > Hi Guys, > > I'm running Nagios with about 100 clients at the moment. As the clients > are on a VPN, I want to be alerted ONCE, whenever a host goes DOWN, only > during WORKHOURS. > > Currently my hosts.cfg file contains; > --------------------------------- > # Generic host definition template > define host{ > name generic-host ; The name of > this host template - referenced in other host definitions, used for > template recursion/resolution > notifications_enabled 1 ; Host notifications are > enabled > event_handler_enabled 1 ; Host event handler is > enabled > flap_detection_enabled 1 ; Flap detection is > enabled > process_perf_data 1 ; Process performance > data > notification_interval 0 ; one alert > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > define host{ > use generic-host ; Name of host > template to use > > host_name vpn-client > alias VPN Client > address 192.168.111.111 > check_command check-host-alive > max_check_attempts 10 > notification_period workhours > notification_options d > parents router2 > } > ---------------------------------- > > Despite this, whenever a host goes down I am sent 3 e-mails for the same > issue anywhere between 1 minute to 10 minutes apart. > > I have looked for anything obvious and have come up empty. I may be > missing something but don't know what that is. > > Cheers, > -Patrick > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 06:57:33 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Fri, 19 Dec 2003 16:57:33 +1100 Subject: 3 e-mails per host in DOWN state Message-ID: <52B61873A3467540AF8D4C08BA3AE52A42D80B@ags01.ausgeo.com.au> >Which version of Nagios are you running? Version 1.1 -Patrick ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at anshulgupta.com Fri Dec 19 07:27:29 2003 From: tech at anshulgupta.com (Anshul Gupta) Date: Fri, 19 Dec 2003 17:27:29 +1100 Subject: nsca Message-ID: <6BC22DA1-31EC-11D8-AB0C-000A95B96BB0@anshulgupta.com> Hi All, The distributed server is not able to send the results back to the central server. I tried running the script manually and this is what I got, # /usr/local/nagios/libexec/eventhandlers/submit_check_results zeus 'HTTP' CRITICAL 'Connection Refused' Error: Server closed connection before init packet was received Error: Could not read init packet from server submit_check_results is the same script given in the documentation and it calls send_nsca with the arguments. What could be the problem? Any help would be appreciated. Cheers, Anshul ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 07:32:37 2003 From: jhmartin at toger.us (Jason Martin) Date: Thu, 18 Dec 2003 22:32:37 -0800 (PST) Subject: nsca In-Reply-To: <6BC22DA1-31EC-11D8-AB0C-000A95B96BB0@anshulgupta.com> References: <6BC22DA1-31EC-11D8-AB0C-000A95B96BB0@anshulgupta.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This usually indicates that your nsca daemon is not configured to allow results from your monitoring host. Check your allowed_hosts line in your nsca.cfg. - -Jason Martin On Fri, 19 Dec 2003, Anshul Gupta wrote: > Hi All, > > The distributed server is not able to send the results back to the > central server. I tried running the script manually and this is what I > got, > > # /usr/local/nagios/libexec/eventhandlers/submit_check_results zeus > 'HTTP' CRITICAL 'Connection Refused' > Error: Server closed connection before init packet was received > Error: Could not read init packet from server -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQE/4puJl2ODWuqVSBMRAqYDAJ9QQFuYjs28OtqeyKNZEmizvS4HfgCfb0zE 0wmJu/nXMESH8SpjXXT/GvI= =EI1n -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at anshulgupta.com Fri Dec 19 07:50:02 2003 From: tech at anshulgupta.com (Anshul Gupta) Date: Fri, 19 Dec 2003 17:50:02 +1100 Subject: nsca In-Reply-To: References: <6BC22DA1-31EC-11D8-AB0C-000A95B96BB0@anshulgupta.com> Message-ID: <9255CEB2-31EF-11D8-AB0C-000A95B96BB0@anshulgupta.com> I have checked it. It has the IP of distributed server. Any other possibility ? Regards, Anshul On 19/12/2003, at 17:32, Jason Martin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > This usually indicates that your nsca daemon is not configured to allow > results from your monitoring host. > > Check your allowed_hosts line in your nsca.cfg. > > - -Jason Martin > On Fri, 19 Dec 2003, Anshul Gupta wrote: > >> Hi All, >> >> The distributed server is not able to send the results back to the >> central server. I tried running the script manually and this is what I >> got, >> >> # /usr/local/nagios/libexec/eventhandlers/submit_check_results zeus >> 'HTTP' CRITICAL 'Connection Refused' >> Error: Server closed connection before init packet was received >> Error: Could not read init packet from server > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.3.3 (GNU/Linux) > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > iD8DBQE/4puJl2ODWuqVSBMRAqYDAJ9QQFuYjs28OtqeyKNZEmizvS4HfgCfb0zE > 0wmJu/nXMESH8SpjXXT/GvI= > =EI1n > -----END PGP SIGNATURE----- > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 07:57:42 2003 From: jhmartin at toger.us (Jason Martin) Date: Thu, 18 Dec 2003 22:57:42 -0800 (PST) Subject: nsca In-Reply-To: <9255CEB2-31EF-11D8-AB0C-000A95B96BB0@anshulgupta.com> References: <6BC22DA1-31EC-11D8-AB0C-000A95B96BB0@anshulgupta.com> <9255CEB2-31EF-11D8-AB0C-000A95B96BB0@anshulgupta.com> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Are you calling nsca through inetd or as a standalone daemon? If through inetd, check that inetd has the correct parameters and that hosts.allow allows the connection. - -Jason Martin On Fri, 19 Dec 2003, Anshul Gupta wrote: > I have checked it. It has the IP of distributed server. > > Any other possibility ? > > Regards, > > Anshul > > On 19/12/2003, at 17:32, Jason Martin wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > This usually indicates that your nsca daemon is not configured to allow > > results from your monitoring host. > > > > Check your allowed_hosts line in your nsca.cfg. > > > > - -Jason Martin > > On Fri, 19 Dec 2003, Anshul Gupta wrote: > > > >> Hi All, > >> > >> The distributed server is not able to send the results back to the > >> central server. I tried running the script manually and this is what I > >> got, > >> > >> # /usr/local/nagios/libexec/eventhandlers/submit_check_results zeus > >> 'HTTP' CRITICAL 'Connection Refused' > >> Error: Server closed connection before init packet was received > >> Error: Could not read init packet from server > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.3.3 (GNU/Linux) > > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > > > iD8DBQE/4puJl2ODWuqVSBMRAqYDAJ9QQFuYjs28OtqeyKNZEmizvS4HfgCfb0zE > > 0wmJu/nXMESH8SpjXXT/GvI= > > =EI1n > > -----END PGP SIGNATURE----- > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/4qFpl2ODWuqVSBMRAjPuAJ4wZHC26sm8QgA4v9wERCv3Vlm+WQCbBBOG kLoYPtCWxmSp0npussHm428= =w+9T -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From w.pfeiffer at enbw.com Fri Dec 19 09:09:21 2003 From: w.pfeiffer at enbw.com (w.pfeiffer at enbw.com) Date: Fri, 19 Dec 2003 09:09:21 +0100 Subject: 3 e-mails per host in DOWN state Message-ID: <949B03E209CCCE43A00F0BBEA2FB4034018EA5@s2h3148r> Patrick Webster wrote: > I'm running Nagios with about 100 clients at the moment. As > the clients are on a VPN, I want to be alerted ONCE, whenever > a host goes DOWN, only during WORKHOURS. [ host+service config snipped -- looks OK to me ] > Despite this, whenever a host goes down I am sent 3 e-mails > for the same issue anywhere between 1 minute to 10 minutes apart. > > I have looked for anything obvious and have come up empty. I may be > missing something but don't know what that is. Although I haven't found something about contact_groups in your configuration, you may want to check if you have several users with the same email address. I had a similar problem when I had configured both a general 'nagiosadmin' user and a 'regular' user with my address: I would get every notification twice. If you get everything three times, it might be an additional notify_by_epager command (configured to send email) for one user? (Sorry if that's something you already checked.) If this doesn't help, maybe you could show us what notifications were logged in your Nagios event log? Wolfram ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raul_sanchez_garcia at hotmail.com Fri Dec 19 10:33:29 2003 From: raul_sanchez_garcia at hotmail.com (Raul Sanchez Garcia) Date: Fri, 19 Dec 2003 10:33:29 +0100 Subject: Change "Status Information" on status.cgi Message-ID: Hello, Can I change the output text displayed in "Status Information" for any plugin? Or I have to change the source of the plugin? For instance, put my text "Check Serial2 OK" on "Status Information" instead "OK: Serial2 (index 12) is up" which is the standard plugin output. Thanks, Raul. _________________________________________________________________ Una mejor experiencia en Internet. Prueba gratis dos meses MSN 8. http://join.msn.com/?pgmarket=es-es&XAPID=1577&DI=1055 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny1 at free.fr Fri Dec 19 12:06:11 2003 From: deny1 at free.fr (deny1) Date: Fri, 19 Dec 2003 12:06:11 +0100 Subject: qmail-inject: fatal: qq trouble creating files in queue (#4.3.0) Message-ID: <3FE2DBA3.80503@free.fr> good afternoon everybody i ve always this message when i launched nagios qmail-inject: fatal: qq trouble creating files in queue (#4.3.0) effectively , i use qmail for my notifications but i dont explain this message .... ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Fri Dec 19 14:27:50 2003 From: twelsh at square-box.com (Tom Welsh) Date: Fri, 19 Dec 2003 13:27:50 +0000 Subject: Monitoring requirements Message-ID: <20031219132750.15254.qmail@pod-163.dolphin-server.co.uk> Hi all, Does Nagios support monitoring of the following... Veritas cluster MS cluster Has anyone monitored tomcat or j2ee apps using nagios? if so how did you do this? Thanks for teh feedback Tom Welsh In his eternal search for even more stuff to play with nagios :) ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From santiago at latinred.net Fri Dec 19 15:39:14 2003 From: santiago at latinred.net (Santiago =?ISO-8859-1?Q?Nu=F1ez-Cacho?= Solans) Date: Fri, 19 Dec 2003 15:39:14 +0100 Subject: netapp Message-ID: <1071844753.786.2.camel@santi.latinred> Does nagios support monitoring netapp? Thaks a lot ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 15:07:40 2003 From: jhmartin at toger.us (Jason Martin) Date: Fri, 19 Dec 2003 06:07:40 -0800 (PST) Subject: Change "Status Information" on status.cgi In-Reply-To: References: Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Doing so would require changing the source to the plugin. - -Jason Martin On Fri, 19 Dec 2003, Raul Sanchez Garcia wrote: > Hello, > > Can I change the output text displayed in "Status Information" for any > plugin? Or I have to change the source of the plugin? > > For instance, put my text "Check Serial2 OK" on "Status Information" instead > "OK: Serial2 (index 12) is up" which is the standard plugin output. > > Thanks, > > Raul. > > _________________________________________________________________ > Una mejor experiencia en Internet. Prueba gratis dos meses MSN 8. > http://join.msn.com/?pgmarket=es-es&XAPID=1577&DI=1055 > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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/4wYwl2ODWuqVSBMRAsoTAJ9WPc4A/unhWUdLeRFPYUBdUe8rqQCcDPX8 DPEbMn64G31YqoNDXBFCKsg= =nlZ8 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frans at essentkabel.com Fri Dec 19 15:26:16 2003 From: frans at essentkabel.com (Frans Hetterscheid) Date: Fri, 19 Dec 2003 15:26:16 +0100 Subject: netapp In-Reply-To: <1071844753.786.2.camel@santi.latinred> References: <1071844753.786.2.camel@santi.latinred> Message-ID: <3FE30A88.3060007@essentkabel.com> Yes, you can monitor netapp, there is a simple perl script attached. (I found it on the net) There are more ways to check youre netapp. snmpget for example. Santiago Nu?ez-Cacho Solans wrote: >Does nagios support monitoring netapp? > >Thaks a lot > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- A non-text attachment was scrubbed... Name: check_netapp.pl Type: application/x-perl Size: 4997 bytes Desc: not available URL: From matthewwilson at dsl.pipex.com Fri Dec 19 15:43:40 2003 From: matthewwilson at dsl.pipex.com (matthewwilson at dsl.pipex.com) Date: Fri, 19 Dec 2003 14:43:40 +0000 Subject: NRPE with Apan? Message-ID: <1071845020.3fe30e9cb88a2@netmail.pipex.net> Has anyone hacked Apan to use check_nrpe? Seems like it would be relatively simple but I don't want to reinvent the wheel. I will be using my own homebrew plugins over NRPE. Matthew Wilson DC-Sat.net -- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RyeR at schneider.com Fri Dec 19 16:21:32 2003 From: RyeR at schneider.com (RyeR at schneider.com) Date: Fri, 19 Dec 2003 09:21:32 -0600 Subject: check_procs -C on AIX 5L Message-ID: I am on version 1.31 of the plugins. Have you tried the 1.4alpha on a AIX 5L machine? Ralph "Voon, Ton" To: "'RyeR at schneider.com'" , Sent by: nagios-users at lists.sourceforge.net nagios-users-admin at lists.sour cc: ceforge.net Fax to: Subject: RE: [Nagios-users] check_procs -C on AIX 5L 12/18/2003 01:36 AM Ralph, Which version of the plugins are you using? The 1.4alpha release has some significant changes and includes using a different ps command. Ton > -----Original Message----- > From: RyeR at schneider.com [mailto:RyeR at schneider.com] > Sent: Wednesday, December 17, 2003 6:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_procs -C on AIX 5L > > > I am having issues with the check_procs command on AIX 5L > systems. There > is certain instance where it will report a Critical state of > no processes > existing, when indeed the process does exist. After digging, > I believe it > is issuing a ps -el. I have also changed the check_proc.c > code to use the > verbose setting. This the output when I run the command on a > AIX 5L system > > root $ ./check_procs -w 1: -c 1: -C syslogd > /usr/bin/ps -el > Not parseable: 200003 A 0 1 0 0 60 20 fb8f000 1928 > - 0:28 init > Not parseable: 240001 A 0 131178 155720 0 60 20 1cd1c400 604 > - 0:00 syslogd > Not parseable: 240001 A 0 155720 1 0 60 20 2ce2400 712 > - 0:00 srcmstr > Not parseable: 240001 A 0 172076 155720 0 60 20 7d27400 3036 > - 0:07 sendmail > Not parseable: 240001 A 0 180272 155720 0 60 20 10d30400 1784 > - 0:04 portmap > Not parseable: 240001 A 0 188462 155720 0 60 20 6d26400 644 > - 0:00 inetd > Not parseable: 240001 A 0 196656 155720 0 48 8 1ad3a400 828 > - 0:00 xntpd > Not parseable: 240001 A 0 204852 155720 0 60 20 1d41400 720 > - 7:54 dpid2 > Not parseable: 240001 A 0 213044 155720 0 60 20 dd4d400 804 > - 0:40 hostmibd > Not parseable: 240001 A 0 245824 155720 0 60 20 d60400 356 > - 0:00 biod > Not parseable: 240001 A 1 262212 155720 0 60 20 cd4c400 2092 > - 0:00 rpc.statd > Not parseable: 240001 A 0 327772 155720 0 60 20 15db5400 1656 > - 0:00 dtlogin > Not parseable: 40001 A 560 344258 696544 0 60 20 638e400 1968 > - 0:00 sshd > Not parseable: 40001 A 0 385120 1 0 60 20 3de3400 308 > - 0:00 diagd > Not parseable: 240001 A 0 434326 491674 0 60 20 bfcb400 2944 > - 499:32 dtgreet > Not parseable: 200001 A 0 548906 524386 1 60 20 12c9a400 316 > pts/0 0:00 ps > Not parseable: 240001 A 560 630858 344258 0 60 20 68e1400 680 > pts/0 0:00 ksh > Not parseable: 40001 A 0 639090 1 0 60 20 1b1b3400 1292 > - 0:00 sshd > Not parseable: 200001 A 0 647304 630858 1 60 20 5503400 876 > pts/0 0:00 ksh > Not parseable: 40001 A 0 663802 1 0 60 20 1bddb400 416 > - 0:02 prngd > syslogd CRITICAL - 0 processes running with command name syslogd > > So of course any process listed as "not pareable" does not > correctly work. > > I was hoping someone might have run into this, before I have > to resort to > looking at the source code. > > Thanks > Ralph > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parzamendi at Fiskars.com Fri Dec 19 16:38:28 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Fri, 19 Dec 2003 09:38:28 -0600 Subject: Check_ping Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F0526B167@madmail01.fiskars.com> How man pings does the check_ping plugin in send? Thanks, Pete Peter Arzamendi ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parzamendi at Fiskars.com Fri Dec 19 16:43:34 2003 From: parzamendi at Fiskars.com (Arzamendi, Peter) Date: Fri, 19 Dec 2003 09:43:34 -0600 Subject: Check_ping Message-ID: <31BD3FA83CF1F948AF20F4A1C3BC9F7F0526B16D@madmail01.fiskars.com> Sorry about the last e-mail switching between SecrueCRT and e-mail sometimes gets me. So how many pings does check_ping send to get the RTA? Thanks, Pete ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 19 17:02:01 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 19 Dec 2003 16:02:01 -0000 Subject: Check_ping Message-ID: <1012BD903945D411915500105A48FF5701C73C84@nt.man.fwltech.com> The default is 5, it can be changed using -p Ewan > -----Original Message----- > From: Arzamendi, Peter [mailto:parzamendi at Fiskars.com] > Sent: 19 December 2003 15:44 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_ping > > > Sorry about the last e-mail switching between SecrueCRT and e-mail > sometimes gets me. So how many pings does check_ping send to get the > RTA? > > Thanks, > Pete > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 19 18:26:18 2003 From: tobeya at tobert.org (Al Tobey) Date: Fri, 19 Dec 2003 12:26:18 -0500 Subject: check tcp garbage output Message-ID: <1071854777.1682.44.camel@linuxws1.internal.priority-health.com> This is from the check_tcp plugin running Red Hat ES 3.0. TCP OK - 0.000 second response time on port 20001 [????????????)???1?9?s??????????F9?r??? [^_??U??VS?] /opt/nagios/libexec/check_tcp --version check_tcp (nagios-plugins 1.4.0alpha1) 1.37 I'm guessing this as something to do with the character set being en_US.UTF-8, but maybe somebody else has tracked this down already. Any ideas? -Al Tobey From josh2780 at yahoo.com Fri Dec 19 18:32:16 2003 From: josh2780 at yahoo.com (J) Date: Fri, 19 Dec 2003 09:32:16 -0800 (PST) Subject: Event Log Message-ID: <20031219173216.25828.qmail@web41201.mail.yahoo.com> Is there a setting for the verbosity of the Event Log? I have seen other Nagios event logs and they show restarts, host/service problems/warnings, notifications, etc... My event log is only showing Nagios restarts. Thanks in advance for any advise! __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbaird at nehealth.org Fri Dec 19 18:37:09 2003 From: jbaird at nehealth.org (Jason Baird) Date: Fri, 19 Dec 2003 12:37:09 -0500 Subject: GroupWise Post Office Monitoring Message-ID: Does anyone know of a plugin to monitor specific processes on a Groupwise 6 server that will monitor the MTAs and the Post Offices? Jason ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 18:44:28 2003 From: marc at ena.com (Marc Powell) Date: Fri, 19 Dec 2003 11:44:28 -0600 Subject: Event Log Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A0E9@mismail2.ena.com> > -----Original Message----- > From: J [mailto:josh2780 at yahoo.com] > Sent: Friday, December 19, 2003 11:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event Log > > Is there a setting for the verbosity of the Event Log? > > I have seen other Nagios event logs and they show > restarts, host/service problems/warnings, > notifications, etc... > > My event log is only showing Nagios restarts. There are quite a few options in nagios.cfg. Modify them as you see fit -- [root at gemini etc]# grep log_ nagios.cfg [some snippage] log_notifications=1 log_service_retries=0 log_host_retries=0 log_event_handlers=1 log_initial_states=1 log_external_commands=1 log_passive_service_checks=0 -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh2780 at yahoo.com Fri Dec 19 18:59:23 2003 From: josh2780 at yahoo.com (J) Date: Fri, 19 Dec 2003 09:59:23 -0800 (PST) Subject: Event Log In-Reply-To: <370ACCFA5BB3B346A31222E5559BF91F03A0E9@mismail2.ena.com> References: <370ACCFA5BB3B346A31222E5559BF91F03A0E9@mismail2.ena.com> Message-ID: <20031219175923.36944.qmail@web41207.mail.yahoo.com> Marc, Thanks for your quick reply. I just took a look at my nagios.cnf file: log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_service_checks=1 I've been turning services on and off on my machines and I'm receiving notifications of services problems and recoveries. However, clicking on the "Event Log" link in Nagios displays only restarts: [12-19-2003 12:50:34] Finished daemonizing... (New PID=19573) [12-19-2003 12:50:34] Nagios 1.1 starting... (PID=19572) [12-19-2003 12:49:07] Finished daemonizing... (New PID=19539) [12-19-2003 12:49:07] Nagios 1.1 starting... (PID=19538) [12-19-2003 12:48:17] Finished daemonizing... (New PID=19490) .....and so on..... for the rest of the log life. Thanks again for your help. I appreciate it. --- Marc Powell wrote: > > > > -----Original Message----- > > From: J [mailto:josh2780 at yahoo.com] > > Sent: Friday, December 19, 2003 11:32 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Event Log > > > > Is there a setting for the verbosity of the Event > Log? > > > > I have seen other Nagios event logs and they show > > restarts, host/service problems/warnings, > > notifications, etc... > > > > My event log is only showing Nagios restarts. > > There are quite a few options in nagios.cfg. Modify > them as you see fit > -- > > [root at gemini etc]# grep log_ nagios.cfg > [some snippage] > log_notifications=1 > log_service_retries=0 > log_host_retries=0 > log_event_handlers=1 > log_initial_states=1 > log_external_commands=1 > log_passive_service_checks=0 > > -- > Marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpatchen at chaska.net Fri Dec 19 19:38:04 2003 From: mpatchen at chaska.net (Mike Patchen) Date: Fri, 19 Dec 2003 12:38:04 -0600 Subject: GroupWise Post Office Monitoring Message-ID: Jason, The best thing I have found is to enable WebAccess for each service, then monitor those ports. Not the best solution, but works good enough. BTW the default ports are: MTA - 7180 POA - 7181 GWIA - 9850 >>> "Jason Baird" 12/19/03 11:41 AM >>> >Does anyone know of a plugin to monitor specific processes on a Groupwise 6 server that will monitor the MTAs and the Post Offices? >Jason >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josh2780 at yahoo.com Fri Dec 19 19:40:25 2003 From: josh2780 at yahoo.com (J) Date: Fri, 19 Dec 2003 10:40:25 -0800 (PST) Subject: Event Log In-Reply-To: <20031219175923.36944.qmail@web41207.mail.yahoo.com> References: <20031219175923.36944.qmail@web41207.mail.yahoo.com> Message-ID: <20031219184025.41962.qmail@web41201.mail.yahoo.com> Nevermind. Figured it out... Incorrect file permissions...duh! Thanks for the help. :) --- J wrote: > Marc, > > Thanks for your quick reply. > > I just took a look at my nagios.cnf file: > > log_notifications=1 > log_service_retries=1 > log_host_retries=1 > log_event_handlers=1 > log_initial_states=0 > log_external_commands=1 > log_passive_service_checks=1 > > I've been turning services on and off on my machines > and I'm receiving notifications of services problems > and recoveries. However, clicking on the "Event > Log" > link in Nagios displays only restarts: > > [12-19-2003 12:50:34] Finished daemonizing... (New > PID=19573) > [12-19-2003 12:50:34] Nagios 1.1 starting... > (PID=19572) > [12-19-2003 12:49:07] Finished daemonizing... (New > PID=19539) > [12-19-2003 12:49:07] Nagios 1.1 starting... > (PID=19538) > [12-19-2003 12:48:17] Finished daemonizing... (New > PID=19490) > .....and so on..... for the rest of the log life. > > > Thanks again for your help. I appreciate it. > > > > --- Marc Powell wrote: > > > > > > > -----Original Message----- > > > From: J [mailto:josh2780 at yahoo.com] > > > Sent: Friday, December 19, 2003 11:32 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Event Log > > > > > > Is there a setting for the verbosity of the > Event > > Log? > > > > > > I have seen other Nagios event logs and they > show > > > restarts, host/service problems/warnings, > > > notifications, etc... > > > > > > My event log is only showing Nagios restarts. > > > > There are quite a few options in nagios.cfg. > Modify > > them as you see fit > > -- > > > > [root at gemini etc]# grep log_ nagios.cfg > > [some snippage] > > log_notifications=1 > > log_service_retries=0 > > log_host_retries=0 > > log_event_handlers=1 > > log_initial_states=1 > > log_external_commands=1 > > log_passive_service_checks=0 > > > > -- > > Marc > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux > > Tutorials. > > Become an expert in LINUX or just sharpen your > > skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the > > bash shell to sys admin. > > Click now! > > http://ads.osdn.com/?ad_id78&alloc_id371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: IBM Linux > Tutorials. > Become an expert in LINUX or just sharpen your > skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the > bash shell to sys admin. > Click now! > http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri Dec 19 20:39:08 2003 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 19 Dec 2003 14:39:08 -0500 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20GroupWise=20P?= =?ISO-8859-1?Q?ost=20Office=20Monitoring?= Message-ID: Both of you, Is there not a way with imonitor and snmp to monitor GW6? One of the analyst told me something like that a month ago... I'll be looking at that in about a month, until then, I hope that this can give you some clues... Alex --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> "Mike Patchen" 2003-12-19 13:38:04 >>> Jason, The best thing I have found is to enable WebAccess for each service, then monitor those ports. Not the best solution, but works good enough. BTW the default ports are: MTA - 7180 POA - 7181 GWIA - 9850 >>> "Jason Baird" 12/19/03 11:41 AM >>> >Does anyone know of a plugin to monitor specific processes on a Groupwise 6 server that will monitor the MTAs and the Post Offices? >Jason >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 19 22:24:21 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 19 Dec 2003 19:24:21 -0200 Subject: RES: Check_ping Message-ID: By default 5. But you can chang that in checkcommands.cfg 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: Arzamendi, Peter [SMTP:parzamendi at Fiskars.com] > Enviada em: sexta-feira, 19 de dezembro de 2003 13:44 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] Check_ping > > Sorry about the last e-mail switching between SecrueCRT and e-mail > sometimes gets me. So how many pings does check_ping send to get the > RTA? > > Thanks, > Pete > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Fri Dec 19 23:20:15 2003 From: twelsh at square-box.com (Tom Welsh) Date: Fri, 19 Dec 2003 22:20:15 +0000 Subject: Monitored databases supported Message-ID: <20031219222015.26262.qmail@pod-163.dolphin-server.co.uk> I have a requirement to provide a compatibility matrix for the following databases. Can anyone fill out what is supported by nagios checks, What versions of the databases can be checked wit the relevent check_plugins Database Supported Versions, patches OS Oracle Microsoft PostgresSQL My SQL When i have a completed and accurate version of the above Ishall postr it back to the list. Kind regards Tom Welsh ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dnhansen at lakeport.k12.ca.us Fri Dec 19 23:31:47 2003 From: dnhansen at lakeport.k12.ca.us (David Hansen Jr.) Date: Fri, 19 Dec 2003 14:31:47 -0800 Subject: Monitoring a Xerox 432ST Message-ID: <1071873106.28943.23.camel@merlin> Can it be monitored other than a ping? I the services shows a printer status option, but that doesn't work on the Xerox. Also, really stupid question, but in regard to the notification options in services, what do the letters mean (w,r,u,c)? Thanks so much. David ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Fri Dec 19 23:56:04 2003 From: mtucker at airmail.net (Michael Tucker) Date: Fri, 19 Dec 2003 16:56:04 -0600 Subject: check_nrpe fails, SSL handshake error Message-ID: <86561AC5-3276-11D8-A60B-0030657DF28A@airmail.net> Howdy: I've searched the archives but didn't find a solution to my problem. I almost hate to ask this, because it seems very basic, but I just can't figure it out. Here's my situation. Perhaps I'm describing too much, but I figure it's better to describe too much than too little if I hope to get a helpful reply. * * * I'm trying to set up a simple nagios configuration for the first time. I have a central server and a distributed server which should communicate with each other using nsca/send_nsca. I have a host to be monitored which should communicate with the distributed server using nrpe/check_nrpe. This is all on Solaris 9 (SPARC), on both servers and the host to be monitored. It's a "clean" install of Solaris 9 plus the current patch cluster, plus the following packages downloaded from sunfreeware.com: freetype, gcc, jpeg, libpng, mhash, zlib and openssl. I've downloaded and compiled the following programs: gd, libmcrypt, mcrypt, nagios, nagios-plugins, nrpe and nsca. Everything seemed to compile ok using gcc. The packages that depend on ssl (or whatever) knew about them at compile time (at least, according to the output from the ./configure scripts). On the host to be monitored, I've installed nrpe and a simple nrpe.cfg file, and edited /etc/inetd.conf and /etc/services as follows: /etc/inetd.conf: nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/ nrpe -c /usr/local/nagios/bin/nrpe.cfg -i /etc/services: nrpe 5666/tcp # NRPE (Nagios remote plugin executor) nrpe.cfg (default file, except for the following): command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 On the distributed server, I've installed the check_nrpe plugin. * * * Ok, here's the problem. When I try to run check_nrpe on the distributed server, I get this error: # ./check_nrpe -H {IP of host to monitor} -c check_load CHECK_NRPE: Error - Could not complete SSL handshake. * * * What am I missing? What have I left out? (I just know that I'm going to say "D'oh!" when someone points out something simple, but I just can't see it.) Thanks, Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 02:10:45 2003 From: Dguntner at doit.nv.gov (David R. Guntner) Date: Fri, 19 Dec 2003 17:10:45 -0800 Subject: Monitoring a Xerox 432ST Message-ID: > -----Original Message----- > From: David Hansen Jr. > Sent: Friday, December 19, 2003 2:32 PM > > Also, really stupid question, but in regard to the > notification options > in services, what do the letters mean (w,r,u,c)? Warning, recovery, unreachable, critical. --Dave ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeehan at sbb.uvm.edu Sat Dec 20 03:41:54 2003 From: sfeehan at sbb.uvm.edu (Steve Feehan) Date: Fri, 19 Dec 2003 21:41:54 -0500 Subject: check_nrpe fails, SSL handshake error In-Reply-To: <86561AC5-3276-11D8-A60B-0030657DF28A@airmail.net> References: <86561AC5-3276-11D8-A60B-0030657DF28A@airmail.net> Message-ID: <20031220024154.GA21922@ingress.sbb.uvm.edu> > On the host to be monitored, I've installed nrpe and a simple nrpe.cfg > file, and edited /etc/inetd.conf and /etc/services as follows: > > /etc/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd > /usr/local/nagios/bin/ nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > /etc/services: > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) You're wrapping nrpe with tcpd. Are you sure that you're allowing nrpe connections in hosts.allow? > nrpe.cfg (default file, except for the following): > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 Did you add the remote ip address to the allowed_hosts? > Ok, here's the problem. When I try to run check_nrpe on the distributed > server, I get this error: > > # ./check_nrpe -H {IP of host to monitor} -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. What do you see in syslog on the host running nrpe? Other than the things I've mentioned above, one other problem I had on Tru64 and IRIX was related to seeding openssl's prng. Does solaris have /dev/u?random? If not, you may need prngd. -- Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Sat Dec 20 05:15:56 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Sat, 20 Dec 2003 02:15:56 -0200 Subject: Mensagem automática Message-ID: <200312200415.hBK4Fu917940@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deny1 at free.fr Sat Dec 20 12:09:39 2003 From: deny1 at free.fr (deny1) Date: Sat, 20 Dec 2003 12:09:39 +0100 Subject: qmail-inject: fatal: qq trouble creating files in queue (#4.3.0) In-Reply-To: <3334.134.244.169.17.1071864177.squirrel@webmail.stinkweasel.net> References: <3FE2DEC9.5030406@free.fr> <200312191636.hBJGa6FB011032@gfn.org> <3334.134.244.169.17.1071864177.squirrel@webmail.stinkweasel.net> Message-ID: <3FE42DF3.6090504@free.fr> C. > >That's a good question... Also, what command is set up within Nagios >(specifically misccommands.cfg) to send the alerts? While the Nagios >configuration is OT for this list, how they are trying to inject the >mail is relevant. > >Benny > > here is my 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$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > > i ve too make a symbolic liens (ls ) on /usr/sbin/sendmail that is using by nagios to /var/qmail/bin/sendmail using by qmail thanks -- http://www.linux-pour-lesnuls.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From earth.tirol at gmx.net Sat Dec 20 14:21:49 2003 From: earth.tirol at gmx.net (earthtirol) Date: Sat, 20 Dec 2003 14:21:49 +0100 Subject: Monitored databases supported In-Reply-To: <20031219222015.26262.qmail@pod-163.dolphin-server.co.uk> References: <20031219222015.26262.qmail@pod-163.dolphin-server.co.uk> Message-ID: <200312201421.49114.earth.tirol@gmx.net> hi it depends on what you want to check if you only want to check if the database service is running you could use the check_nt plugin, or the similar deamon check-plugin for linux/unix systems. for ms-sql you could check alls windows perfomancecounter using the check_nt plugin. for oracle you must use the snmp-mib from oracle. Am Freitag, 19. Dezember 2003 23:20 schrieb Tom Welsh: > I have a requirement to provide a compatibility matrix for the following > databases. Can anyone fill out what is supported by nagios checks, > > What versions of the databases can be checked wit the relevent > check_plugins > > Database Supported Versions, patches OS > Oracle > Microsoft > PostgresSQL > My SQL > > > When i have a completed and accurate version of the above Ishall postr it > back to the list. > > Kind regards > > Tom Welsh ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seisen at linuxfr.org Sat Dec 20 16:54:41 2003 From: seisen at linuxfr.org (seisen at linuxfr.org) Date: Sat, 20 Dec 2003 16:54:41 +0100 Subject: Nagios-users -- confirmation of subscription -- request 876298 In-Reply-To: (nagios-users-request@lists.sourceforge.net's message of "Sat, 20 Dec 2003 07:51:07 -0800") References: Message-ID: <87ekuz4h8e.fsf@dakol.int.seisen.org> nagios-users-request at lists.sourceforge.net writes: -- Fabien Seisen http://pouxvert.linuxfr.org/ GnuPG ID 1024D/112189D8 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Dec 20 19:31:43 2003 From: rp40265 at rp-plus.de (=?iso-8859-1?Q?Manfred_Gn=E4dig?=) Date: Sat, 20 Dec 2003 19:31:43 +0100 Subject: Nagios with multiple Instanz om the same Server Message-ID: <001901c3c727$88711470$6402a8c0@ACERMGP> Hallo, i trie to setup an second Instanz fromm my nagios. I was making an copi from my /etc/init.d/nagios to /etc/init.d/nagios_second Then i have edit the Startscript . Now I can start the nagios a second time wirh own cfg files. And it is working. But in my Webinterface I see only my first nagios. I have edit my httpd.conf but it dosent help. I don?t know what I have vergotten. Anny ID? Thanks a lott and mutch greatings Manfred -------------- next part -------------- An HTML attachment was scrubbed... URL: From 0qaimhpi at yahoo.com Sat Dec 20 21:12:21 2003 From: 0qaimhpi at yahoo.com (Darius Sinclair) Date: Sat, 20 Dec 2003 17:12:21 -0300 Subject: Bachelor's Diploma, Master's, or PhD - No Classes Necessary...cana Message-ID: Academic Qualifications available from prestigious NON?ACCREDITTED universities. Do you have the knowledge and the experience but lack the qualifications? Are you getting turned down time and time again for the job of your dreams because you just don't have the right letters after your name? Get the prestige that you deserve today! Move ahead in your career today! Bachelors, Masters and PhD's available in your field! No examinations! No classes! No textbooks! Call to register and receive your qualifications within days! 24 hours a day 7 days a week! 203-286-2187 - USA pregsuhjo lt up obzclxxdhsb l rrxwmcm a From teng at dataway.com Sun Dec 21 02:07:07 2003 From: teng at dataway.com (Tedman Eng) Date: Sat, 20 Dec 2003 17:07:07 -0800 Subject: General Status Page References: Message-ID: Although it might be overkill for what you're doing, you may be able to accomplish what you want using the Nagios XML project. http://nxe.sourceforge.net/ "Ross Oldenburg" wrote in message news:Pine.GSO.4.53.0312181601580.23117 at milkduds.cae.wisc.edu... > Hello > > I was wondering if anyone has written an addon to display a very general > status overview page. At our site, we're looking to have a page users can > look at and understand. Something like: > > If load average on our mail server is high: "E-mail may be slow" > If webserver is offline: "Webserver is down" > If our pipe to the outside world is broken: "Internet link is down" > If our wireless firewall is down: "Wireless is down" > > et cetera. > > If no one has done this already, can anyone offer any tips on grabbing > host/service group status in real-time from Nagios in a stateless manner? > > Ross Oldenburg > UNIX Systems Staff > University of Wisconsin - Madison > Computer-Aided Engineering Centre > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ramereth at gentoo.org Sun Dec 21 02:39:25 2003 From: ramereth at gentoo.org (Lance Albertson) Date: Sat, 20 Dec 2003 19:39:25 -0600 Subject: Timeouts and check attempts Message-ID: <1071970765.2301.11.camel@mirage> I have an interesting problem and I wondering if I have something messed up in my config to cause this. Ok, here's the situation: All the plugins for a certain host start timing out (local/remote[nrpe]). This creates a 'CRITICAL' state. But the catch is, Nagios only sees it as one attempt being CRITICAL while its been in this state longer than the retry check should say (for more than 2-5hrs after the first state change). The interesting thing is, I restart Nagios, and the check attempts go to the max (for this 3/3), but after a few checks it goes back to 1/3. This creates a problem where nagios never sends out a notification. Is this how Nagios is supposed to handle a check timeout, or do I have somethign mis-configured? Thanks, -- Lance Albertson Gentoo Infrastructure -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From tobeya at tobert.org Sun Dec 21 04:40:44 2003 From: tobeya at tobert.org (Al Tobey) Date: Sat, 20 Dec 2003 22:40:44 -0500 Subject: General Status Page In-Reply-To: References: Message-ID: <1071978044.1967.6.camel@zorak.tobert.org> On Thu, 2003-12-18 at 17:06, Ross Oldenburg wrote: > Hello > > I was wondering if anyone has written an addon to display a very general > status overview page. At our site, we're looking to have a page users can > look at and understand. Something like: > > If load average on our mail server is high: "E-mail may be slow" > If webserver is offline: "Webserver is down" > If our pipe to the outside world is broken: "Internet link is down" > If our wireless firewall is down: "Wireless is down" This is one of the major goals I'm trying to achieve with the Nagios::Object perl modules (on CPAN). I just started writing HTML stuff for it this weekend and will update this list when some of it is ready. So far, I'm creating a bunch of widgets that can be lumped back together easily to create custom layout webpages. Hopefully, I'll be able to construct something very much like the existing C CGI's for Nagios using the perl modules, so it'll run under mod_perl. My organization also wants what you're asking for - simple pages for common users and "bricks" they can stick in other informational webpages. > et cetera. > > If no one has done this already, can anyone offer any tips on grabbing > host/service group status in real-time from Nagios in a stateless manner? The (bare) basics of what you need should be almost ready in Nagios::StatusLog (part of Nagios::Object). Unfortunately, I haven't worked the documentation out as well as I'd like yet. -Al Tobey Unix Administrator Priority Health > Ross Oldenburg > UNIX Systems Staff > University of Wisconsin - Madison > Computer-Aided Engineering Centre > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Sun Dec 21 05:12:17 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Sun, 21 Dec 2003 02:12:17 -0200 Subject: Mensagem automática Message-ID: <200312210412.hBL4CHO04866@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sun Dec 21 20:23:06 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 21 Dec 2003 14:23:06 -0500 (EST) Subject: Monitoring a Xerox 432ST In-Reply-To: <1071873106.28943.23.camel@merlin> References: <1071873106.28943.23.camel@merlin> Message-ID: On Fri, 19 Dec 2003, David Hansen Jr. wrote: > Can it be monitored other than a ping? I the services shows a printer > status option, but that doesn't work on the Xerox. Does it support snmp printer mib? A number of Xerox network interfaces do, but this model nolonger ssems to be on the market... if so - check the new-plugins tracker on Sf for check_snmp_printer.pl -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sun Dec 21 20:27:58 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 21 Dec 2003 14:27:58 -0500 (EST) Subject: Nagios with multiple Instanz om the same Server In-Reply-To: <001901c3c727$88711470$6402a8c0@ACERMGP> References: <001901c3c727$88711470$6402a8c0@ACERMGP> Message-ID: For v1.x, the cgi's have the config file locations defined at compile time. so copying the cgis for a second instance will not work - need to recompile and provide new compile time path info. for v2.x, include's Russell's patch for cgi independence. -sg On Sat, 20 Dec 2003, Manfred Gn?dig wrote: > Hallo, > i trie to setup an second Instanz fromm my nagios. > > I was making an copi from my /etc/init.d/nagios > to > /etc/init.d/nagios_second > > Then i have edit the Startscript . > > Now I can start the nagios a second time wirh own cfg > files. And it is working. > > But in my Webinterface I see only my first nagios. > > I have edit my httpd.conf but it dosent help. > > I don?t know what I have vergotten. > > Anny ID? > > Thanks a lott and mutch greatings > > Manfred > -- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Dec 21 23:14:31 2003 From: john.downs at labs.gte.com (John Downs) Date: Sun, 21 Dec 2003 17:14:31 -0500 Subject: check_nrpe fails, SSL handshake error References: <86561AC5-3276-11D8-A60B-0030657DF28A@airmail.net> Message-ID: <028d01c3c80f$cf0cc0d0$9587c584@vzj1nnluak18p0> I'm having the exact same problem as Michael. Only I'm running Solaris 8 and no tcp wrappers. I have also tried runing nrpe without inetd with the same results. My question to you nrpe gurus is: Do i need to set the suid bit on nrpe? And should I see nrpe running in the background on any or all of the options for running. At present I don't. -john ----- Original Message ----- From: "Michael Tucker" To: Sent: Friday, December 19, 2003 5:56 PM Subject: [Nagios-users] check_nrpe fails, SSL handshake error > Howdy: > > I've searched the archives but didn't find a solution to my problem. I > almost hate to ask this, because it seems very basic, but I just can't > figure it out. > > Here's my situation. Perhaps I'm describing too much, but I figure it's > better to describe too much than too little if I hope to get a helpful > reply. > > * * * > > I'm trying to set up a simple nagios configuration for the first time. > I have a central server and a distributed server which should > communicate with each other using nsca/send_nsca. I have a host to be > monitored which should communicate with the distributed server using > nrpe/check_nrpe. This is all on Solaris 9 (SPARC), on both servers and > the host to be monitored. > > It's a "clean" install of Solaris 9 plus the current patch cluster, > plus the following packages downloaded from sunfreeware.com: freetype, > gcc, jpeg, libpng, mhash, zlib and openssl. I've downloaded and > compiled the following programs: gd, libmcrypt, mcrypt, nagios, > nagios-plugins, nrpe and nsca. > > Everything seemed to compile ok using gcc. The packages that depend on > ssl (or whatever) knew about them at compile time (at least, according > to the output from the ./configure scripts). > > On the host to be monitored, I've installed nrpe and a simple nrpe.cfg > file, and edited /etc/inetd.conf and /etc/services as follows: > > /etc/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/ > nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > /etc/services: > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > nrpe.cfg (default file, except for the following): > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > > On the distributed server, I've installed the check_nrpe plugin. > > * * * > > Ok, here's the problem. When I try to run check_nrpe on the distributed > server, I get this error: > > # ./check_nrpe -H {IP of host to monitor} -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. > > * * * > > What am I missing? What have I left out? (I just know that I'm going to > say "D'oh!" when someone points out something simple, but I just can't > see it.) > > Thanks, > Michael > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Mon Dec 22 05:14:45 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Mon, 22 Dec 2003 02:14:45 -0200 Subject: Mensagem automática Message-ID: <200312220414.hBM4Ej210188@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From psawant at nse.co.in Mon Dec 22 06:06:50 2003 From: psawant at nse.co.in (psawant at nse.co.in) Date: Mon, 22 Dec 2003 10:36:50 +0530 Subject: plugins required for digital/HP unix Message-ID: just like there is the nrpe plugin for gnu/linux, and netsaint plugin for windoZe, are there any plugins for digital unix and/or HP unix, which can be used for common/regular functionalities like cpu-usage, disk-usage, etc. any help regarding this matter will be greatly appreciated. thanks for all the support and help! -- HACKER: Someone who loves to program and loves being clever about it. CRACKER: A hacker who uses his hacking knowledge for unethical purposes. --- Pradnyesh Sawant spradnyesh at gmx.net Ph. 91-022-27703060 http://www.geocities.com/spradnyesh --- From Stanley.Hopcroft at IPAustralia.Gov.AU Mon Dec 22 06:31:00 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Mon, 22 Dec 2003 16:31:00 +1100 Subject: How do folks check DNS for MS AD Domains (SVR records ??) ? Message-ID: <20031222163051.F4302@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, Your comments on checking that a DNS is able to resolve the names used by AD logon are very welcome. Being very ignorant, it seems to me that what is required is to be able resolve the SVR resource records that MS domain controllers register in a Dynamic DNS. These records include some of these SVR records at least :- . _ldap._tcp. . _ldap._tcp.pdc._ms-dcs. Of course, this may well be a _dumb_ idea since most name resolution tools do not seem to handle SVR records. (OTOH, the CPAN module Net::DNS may be able to resolve SVR records). To sum up, the list and certainly I will be very grateful for being informed on how folks use Nagios to check MS AD name resolution and if in fact it is possible to use check_dns for this purpose. Thank you, Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 22 07:22:11 2003 From: mlist.nagios at inlan.inmics.fi (MiikaT) Date: Mon, 22 Dec 2003 08:22:11 +0200 Subject: Multiple pager definitions Message-ID: <1072074131.3fe68d938b931@imp.inmics.fi> Can I have more than one pager definition? I want to send alerts using operator sms-gateway via internet as a primary method, and a gsm modem as a secondary device, if default router is down. How can I add another notify-by- epager function, or can I? -MiikaT ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuenkit at lycos.co.uk Mon Dec 22 08:28:21 2003 From: yuenkit at lycos.co.uk (yuenkit) Date: Mon, 22 Dec 2003 15:28:21 +0800 Subject: help Message-ID: <20031222072745.0497C1E783@lmsmtp01.st1.spray.net> I followed the instruction in cgi authentication put I still didn't get the result do I need to start the nagios for the cgi in web site work ????? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcok4mxpcd at yahoo.com Mon Dec 22 09:44:39 2003 From: mcok4mxpcd at yahoo.com (Emil Whitney) Date: Mon, 22 Dec 2003 04:44:39 -0400 Subject: Tech Sector - Barcharts say 100 Percent to the Upside...Colby Message-ID: Here you go. The technicals are perfect. I hear NMMG is going to unveil its new technology in February. http://quotes.barchart.com/texpert.asp?sym=NMMG v z snfy euvqxref From Ton.Voon at egg.com Mon Dec 22 10:13:21 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Mon, 22 Dec 2003 09:13:21 -0000 Subject: check_procs -C on AIX 5L Message-ID: Yes, 1.4alpha works fine on an AIX 5.1 box (using GCC). > -----Original Message----- > From: RyeR at schneider.com [mailto:RyeR at schneider.com] > Sent: Friday, December 19, 2003 3:22 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_procs -C on AIX 5L > > > > I am on version 1.31 of the plugins. Have you tried the > 1.4alpha on a AIX > 5L machine? > > Ralph > > > > > > > > "Voon, Ton" > > > > To: "'RyeR at schneider.com'" , > > Sent by: > nagios-users at lists.sourceforge.net > > nagios-users-admin at lists.sour > cc: > > ceforge.net > Fax to: > > > Subject: RE: [Nagios-users] check_procs -C on AIX 5L > > > > > 12/18/2003 01:36 AM > > > > > > > > > > > > > Ralph, > > Which version of the plugins are you using? The 1.4alpha > release has some > significant changes and includes using a different ps command. > > Ton > > > -----Original Message----- > > From: RyeR at schneider.com [mailto:RyeR at schneider.com] > > Sent: Wednesday, December 17, 2003 6:17 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_procs -C on AIX 5L > > > > > > I am having issues with the check_procs command on AIX 5L > > systems. There > > is certain instance where it will report a Critical state of > > no processes > > existing, when indeed the process does exist. After digging, > > I believe it > > is issuing a ps -el. I have also changed the check_proc.c > > code to use the > > verbose setting. This the output when I run the command on a > > AIX 5L system > > > > root $ ./check_procs -w 1: -c 1: -C syslogd > > /usr/bin/ps -el > > Not parseable: 200003 A 0 1 0 0 60 20 fb8f000 1928 > > - 0:28 init > > Not parseable: 240001 A 0 131178 155720 0 60 20 > 1cd1c400 604 > > - 0:00 syslogd > > Not parseable: 240001 A 0 155720 1 0 60 20 2ce2400 712 > > - 0:00 srcmstr > > Not parseable: 240001 A 0 172076 155720 0 60 20 7d27400 3036 > > - 0:07 sendmail > > Not parseable: 240001 A 0 180272 155720 0 60 20 > 10d30400 1784 > > - 0:04 portmap > > Not parseable: 240001 A 0 188462 155720 0 60 20 6d26400 644 > > - 0:00 inetd > > Not parseable: 240001 A 0 196656 155720 0 48 8 > 1ad3a400 828 > > - 0:00 xntpd > > Not parseable: 240001 A 0 204852 155720 0 60 20 1d41400 720 > > - 7:54 dpid2 > > Not parseable: 240001 A 0 213044 155720 0 60 20 dd4d400 804 > > - 0:40 hostmibd > > Not parseable: 240001 A 0 245824 155720 0 60 20 d60400 356 > > - 0:00 biod > > Not parseable: 240001 A 1 262212 155720 0 60 20 cd4c400 2092 > > - 0:00 rpc.statd > > Not parseable: 240001 A 0 327772 155720 0 60 20 > 15db5400 1656 > > - 0:00 dtlogin > > Not parseable: 40001 A 560 344258 696544 0 60 20 638e400 1968 > > - 0:00 sshd > > Not parseable: 40001 A 0 385120 1 0 60 20 3de3400 308 > > - 0:00 diagd > > Not parseable: 240001 A 0 434326 491674 0 60 20 bfcb400 2944 > > - 499:32 dtgreet > > Not parseable: 200001 A 0 548906 524386 1 60 20 > 12c9a400 316 > > pts/0 0:00 ps > > Not parseable: 240001 A 560 630858 344258 0 60 20 68e1400 680 > > pts/0 0:00 ksh > > Not parseable: 40001 A 0 639090 1 0 60 20 > 1b1b3400 1292 > > - 0:00 sshd > > Not parseable: 200001 A 0 647304 630858 1 60 20 5503400 876 > > pts/0 0:00 ksh > > Not parseable: 40001 A 0 663802 1 0 60 20 > 1bddb400 416 > > - 0:02 prngd > > syslogd CRITICAL - 0 processes running with command name syslogd > > > > So of course any process listed as "not pareable" does not > > correctly work. > > > > I was hoping someone might have run into this, before I have > > to resort to > > looking at the source code. > > > > Thanks > > Ralph > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign > > up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell > > to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please 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: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Mon Dec 22 10:52:56 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 22 Dec 2003 10:52:56 +0100 Subject: CHECK_SNMP - Recalc output - possible? Message-ID: Dear List, I ask the server (W2K) for different disk space informations via SNMP. Example: Disk Size host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.4 = 42371287 Disk Used host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.4 = 24565772 Question: Is it possible to substract those two outputs - to get the freespace via the Check_snmp command or there a way around this? Thanks for your time. Thomas ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 22 13:07:00 2003 From: jrhett at isite.net (Joe Rhett) Date: Mon, 22 Dec 2003 04:07:00 -0800 Subject: How do folks check DNS for MS AD Domains (SVR records ??) ? In-Reply-To: <20031222163051.F4302@IPAustralia.Gov.AU> References: <20031222163051.F4302@IPAustralia.Gov.AU> Message-ID: <20031222120659.GB9656@isite.net> check_dig -h On Mon, Dec 22, 2003 at 04:31:00PM +1100, Stanley Hopcroft wrote: > Dear Ladies and Gentlemen, > > Your comments on checking that a DNS is able to resolve the names used > by AD logon are very welcome. > > Being very ignorant, it seems to me that what is required is to be able > resolve the SVR resource records that MS domain controllers register in > a Dynamic DNS. > > These records include some of these SVR records at least :- > > . _ldap._tcp. > > . _ldap._tcp.pdc._ms-dcs. > > Of course, this may well be a _dumb_ idea since most name resolution > tools do not seem to handle SVR records. > > (OTOH, the CPAN module Net::DNS may be able to resolve SVR records). > > To sum up, the list and certainly I will be very grateful for being > informed on how folks use Nagios to check MS AD name resolution and if > in fact it is possible to use check_dns for this purpose. > > Thank you, > > Yours sincerely. > > > -- > ------------------------------------------------------------------------ > Stanley Hopcroft > ------------------------------------------------------------------------ > > '...No man is an island, entire of itself; every man is a piece of the > continent, a part of the main. If a clod be washed away by the sea, > Europe is the less, as well as if a promontory were, as well as if a > manor of thy friend's or of thine own were. Any man's death diminishes > me, because I am involved in mankind; and therefore never send to know > for whom the bell tolls; it tolls for thee...' > > from Meditation 17, J Donne. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Mon Dec 22 14:47:18 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 22 Dec 2003 14:47:18 +0100 Subject: CHECK_SNMP - Warning without any threshold ?? Message-ID: Dear List, Have anybody seen this before? [root at localhost plugins]# ./check_snmp server01 -C public -o .host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.1 SNMP WARNING - 18 [root at localhost plugins]# Warning without any threshold ?? I have upgraded to the latest 4.x.x UCD-SNMP version - but still the same. Also tried the latest plugins... Does anybody have any solution? Thanks for your time ... Thomas ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Hirbour at dsl.net Mon Dec 22 15:02:58 2003 From: John.Hirbour at dsl.net (Hirbour, John) Date: 22 Dec 2003 09:02:58 -0500 Subject: nsca In-Reply-To: <9255CEB2-31EF-11D8-AB0C-000A95B96BB0@anshulgupta.com> References: <6BC22DA1-31EC-11D8-AB0C-000A95B96BB0@anshulgupta.com> <9255CEB2-31EF-11D8-AB0C-000A95B96BB0@anshulgupta.com> Message-ID: <1072101778.26174.0.camel@sapporo.dsl.net> Also check that there aren't too many messages getting sent to NSCA. We've noticed performace problems when several hundreds of hosts went down in a test secnario we performed in our lab. On Fri, 2003-12-19 at 01:50, Anshul Gupta wrote: > I have checked it. It has the IP of distributed server. > > Any other possibility ? > > Regards, > > Anshul > > On 19/12/2003, at 17:32, Jason Martin wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > This usually indicates that your nsca daemon is not configured to allow > > results from your monitoring host. > > > > Check your allowed_hosts line in your nsca.cfg. > > > > - -Jason Martin > > On Fri, 19 Dec 2003, Anshul Gupta wrote: > > > >> Hi All, > >> > >> The distributed server is not able to send the results back to the > >> central server. I tried running the script manually and this is what I > >> got, > >> > >> # /usr/local/nagios/libexec/eventhandlers/submit_check_results zeus > >> 'HTTP' CRITICAL 'Connection Refused' > >> Error: Server closed connection before init packet was received > >> Error: Could not read init packet from server > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.3.3 (GNU/Linux) > > Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ > > > > iD8DBQE/4puJl2ODWuqVSBMRAqYDAJ9QQFuYjs28OtqeyKNZEmizvS4HfgCfb0zE > > 0wmJu/nXMESH8SpjXXT/GvI= > > =EI1n > > -----END PGP SIGNATURE----- > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ~# John Hirbour OSS Development DSL.net (203)782-3871 (800)455-5546 Customer Support (866)340-2582 Network Security/Abuse ~# ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 22 15:38:33 2003 From: FabioAlKas at aol.com (FabioAlKas at aol.com) Date: Mon, 22 Dec 2003 09:38:33 EST Subject: nsca Message-ID: <77.1f1ab51e.2d185be9@aol.com> By the way, have you guys already seen a send_nsca for windows? Thanks and Best Regards ================================================ Fabio Al kas Network Coordinator Infrastructure & IT America OnLine - Brazil -------------- next part -------------- An HTML attachment was scrubbed... URL: From garym at canada.com Mon Dec 22 16:49:48 2003 From: garym at canada.com (Gary Lawrence Murphy) Date: Mon, 22 Dec 2003 10:49:48 -0500 Subject: check_http 404 error References: <370ACCFA5BB3B346A31222E5559BF91F03A0D4@mismail2.ena.com> Message-ID: I have a related problem that may require a new plugin (and maybe someone has already invented it ;) ... is it possible to have check_http only do a HEAD request instead of a full GET? I don't want to fetch the page, I just want to know the HTTP status code of the result. -- 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 22 17:20:06 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Mon, 22 Dec 2003 11:20:06 -0500 Subject: check_http 404 error In-Reply-To: References: <370ACCFA5BB3B346A31222E5559BF91F03A0D4@mismail2.ena.com> Message-ID: <1072110005.4773.0.camel@miles.debisschop.net> On Mon, 2003-12-22 at 10:49, Gary Lawrence Murphy wrote: > I have a related problem that may require a new plugin (and maybe > someone has already invented it ;) ... is it possible to have > check_http only do a HEAD request instead of a full GET? I don't > want to fetch the page, I just want to know the HTTP status code of > the result. I don't think that it woulud be at all hard to make that addition to the existing code - in fact, I'm surprised it's not there. I'll try and add it in the next few days. -- Karl ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 22 17:55:03 2003 From: john.downs at labs.gte.com (John Downs) Date: Mon, 22 Dec 2003 11:55:03 -0500 Subject: check_nrpe fails, SSL handshake error References: <86561AC5-3276-11D8-A60B-0030657DF28A@airmail.net> <028d01c3c80f$cf0cc0d0$9587c584@vzj1nnluak18p0> Message-ID: <013001c3c8ac$59533020$9587c584@vzj1nnluak18p0> I have more information on this problem: When I check /var/adm/messages I find: Network server bind failure (126: connect assign requested address) for the process nrpe. So it look like the nrpe daemon never gets started. Any idea who I can fix this problem? Do I need to have authentication turn on? I'm using ssl 0.9.7 -john ----- Original Message ----- From: "John Downs" To: "Michael Tucker" ; Sent: Sunday, December 21, 2003 5:14 PM Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error > I'm having the exact same problem as Michael. Only I'm running Solaris 8 > and no tcp wrappers. > I have also tried runing nrpe without inetd with the same results. My > question to you nrpe gurus is: > Do i need to set the suid bit on nrpe? > And should I see nrpe running in the background on any or all of the > options for running. At present I don't. > > -john > > ----- Original Message ----- > From: "Michael Tucker" > To: > Sent: Friday, December 19, 2003 5:56 PM > Subject: [Nagios-users] check_nrpe fails, SSL handshake error > > > > Howdy: > > > > I've searched the archives but didn't find a solution to my problem. I > > almost hate to ask this, because it seems very basic, but I just can't > > figure it out. > > > > Here's my situation. Perhaps I'm describing too much, but I figure it's > > better to describe too much than too little if I hope to get a helpful > > reply. > > > > * * * > > > > I'm trying to set up a simple nagios configuration for the first time. > > I have a central server and a distributed server which should > > communicate with each other using nsca/send_nsca. I have a host to be > > monitored which should communicate with the distributed server using > > nrpe/check_nrpe. This is all on Solaris 9 (SPARC), on both servers and > > the host to be monitored. > > > > It's a "clean" install of Solaris 9 plus the current patch cluster, > > plus the following packages downloaded from sunfreeware.com: freetype, > > gcc, jpeg, libpng, mhash, zlib and openssl. I've downloaded and > > compiled the following programs: gd, libmcrypt, mcrypt, nagios, > > nagios-plugins, nrpe and nsca. > > > > Everything seemed to compile ok using gcc. The packages that depend on > > ssl (or whatever) knew about them at compile time (at least, according > > to the output from the ./configure scripts). > > > > On the host to be monitored, I've installed nrpe and a simple nrpe.cfg > > file, and edited /etc/inetd.conf and /etc/services as follows: > > > > /etc/inetd.conf: > > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/ > > nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > > > /etc/services: > > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > > > nrpe.cfg (default file, except for the following): > > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > > 30,25,20 > > > > On the distributed server, I've installed the check_nrpe plugin. > > > > * * * > > > > Ok, here's the problem. When I try to run check_nrpe on the distributed > > server, I get this error: > > > > # ./check_nrpe -H {IP of host to monitor} -c check_load > > CHECK_NRPE: Error - Could not complete SSL handshake. > > > > * * * > > > > What am I missing? What have I left out? (I just know that I'm going to > > say "D'oh!" when someone points out something simple, but I just can't > > see it.) > > > > Thanks, > > Michael > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 22 19:31:14 2003 From: chuck at sbbsnet.net (Chuck) Date: Mon, 22 Dec 2003 13:31:14 -0500 Subject: monitor woes Message-ID: <200312221331.14555.chuck@sbbsnet.net> i have a situation where one of our network legs has one "border" router which is a parent to 30+ customer routers is there a way of placing some kind of smart logic into nagios notify plugins so that if the border is unreachable, i will only be paged once for the border and not 30+ times for the border and all customers? yet if one of the customer routers is unreachable but border is fine, then i want ot be paged for that customer router. -- 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 22 19:35:00 2003 From: tskyers at foxroach.com (Tory M. Skyers) Date: Mon, 22 Dec 2003 13:35:00 -0500 Subject: Nagios not writing to database Message-ID: Weird issue: for the last couple of weeks Nagios has not been recording events in it's database or it's log files. I'm not sure why, but it started to record things again today. I made a quick change and restarted the process maybe that refreshed it, but has anyone seen similar behavior? ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From selliott at covarity.com Mon Dec 22 21:24:04 2003 From: selliott at covarity.com (Scott Elliott) Date: Mon, 22 Dec 2003 15:24:04 -0500 Subject: Newbie question: Check_http problem Message-ID: <3185BD746EAA924085DCE1D96330DDA03BBC1C@theatom.covarity.com> This is my first venture into the Nagios world, and so far I've managed to install Nagios 1.1, using the 1.3.1 plug-ins, and running on a Debian 3.0 box. As expected, I haven't gotten everything to work on my first try, but I have managed to configure the software to a point such that I can do a simple ping check on four boxes, and for it to send out notifications if it detects anything wrong. My problem is that it seems that Nagios is return a "service down" when doing check_http request. I've look at the checkcommands.cfg file, and it is the default definition: # 'check_http' command definition define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ } When I run check_http from the command line, using the same options as listed in the check_http, is says HTTP is ok. I've tried both the hostname, host ip address, and the url, all of which seem to come through just fine. Can somebody point me the right direction to go on this one? Scott Elliott -------------- next part -------------- An HTML attachment was scrubbed... URL: From mtucker at airmail.net Mon Dec 22 21:33:11 2003 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 22 Dec 2003 14:33:11 -0600 Subject: check_nrpe fails, SSL handshake error In-Reply-To: <013001c3c8ac$59533020$9587c584@vzj1nnluak18p0> References: <013001c3c8ac$59533020$9587c584@vzj1nnluak18p0> Message-ID: <0F66C10F-34BE-11D8-96AB-0030657DF28A@airmail.net> More info on this: I recompiled nrpe with --disable-ssl (on both the monitoring server and the host to monitor), and it works fine now. So, it's clearly a problem with enabling SSL and nrpe. The error message I was seeing ("CHECK_NRPE: Error - Could not compelte SSL Handshake.") is being generated by check_nrpe. It's in the file check_nrpe.c, where it attempts to "do SSL handshake" and fails. I am baffled as to why this is failing, or what I need to do to make it work. Supposedly, nrpe is using the "anonymous DH" (ADH) protocol, which operates sans certificates; so I would *think* that I don't need to do anything with openssl (e.g. create a CA, or server or client certificates, or anything like that). So, I'm pretty sure it's a problem with how nrpe is implementing SSL, rather than a problem with OpenSSL. But, at this point I'm stumped. Any help with this would be greatly appreciated. Yours, Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeehan at sbb.uvm.edu Mon Dec 22 21:42:10 2003 From: sfeehan at sbb.uvm.edu (Steve Feehan) Date: Mon, 22 Dec 2003 15:42:10 -0500 Subject: check_nrpe fails, SSL handshake error In-Reply-To: <0F66C10F-34BE-11D8-96AB-0030657DF28A@airmail.net> References: <013001c3c8ac$59533020$9587c584@vzj1nnluak18p0> <0F66C10F-34BE-11D8-96AB-0030657DF28A@airmail.net> Message-ID: <20031222204210.GA11795@ingress.sbb.uvm.edu> On Mon, Dec 22, 2003 at 02:33:11PM -0600, Michael Tucker wrote: > More info on this: > > I recompiled nrpe with --disable-ssl (on both the monitoring server and > the host to monitor), and it works fine now. So, it's clearly a problem > with enabling SSL and nrpe. > > The error message I was seeing ("CHECK_NRPE: Error - Could not compelte > SSL Handshake.") is being generated by check_nrpe. It's in the file > check_nrpe.c, where it attempts to "do SSL handshake" and fails. > > I am baffled as to why this is failing, or what I need to do to make it > work. Supposedly, nrpe is using the "anonymous DH" (ADH) protocol, > which operates sans certificates; so I would *think* that I don't need > to do anything with openssl (e.g. create a CA, or server or client > certificates, or anything like that). So, I'm pretty sure it's a > problem with how nrpe is implementing SSL, rather than a problem with > OpenSSL. But, at this point I'm stumped. > > Any help with this would be greatly appreciated. > > Yours, > Michael Could you remind me what OS you're working with? If you haven't, I would strongly urge you to check that the PRNG is being seeded. This was a problem for me on IRIX 6.5.19 and Tru64 5.1a. The solution with IRIX was to either upgrade to 6.5.22 or make a small hack to openssl. The solution for Tru64 was to install and tell openssl to use an external prng source (such as egads or prngd). Steve > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Dec 22 21:54:13 2003 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 22 Dec 2003 14:54:13 -0600 Subject: check_nrpe fails, SSL handshake error In-Reply-To: <20031222204210.GA11795@ingress.sbb.uvm.edu> References: <20031222204210.GA11795@ingress.sbb.uvm.edu> Message-ID: On Monday, December 22, 2003, at 02:42 PM, Steve Feehan wrote: > Could you remind me what OS you're working with? If you > haven't, I would strongly urge you to check that the PRNG > is being seeded. This was a problem for me on IRIX 6.5.19 > and Tru64 5.1a. The solution with IRIX was to either upgrade > to 6.5.22 or make a small hack to openssl. The solution for > Tru64 was to install and tell openssl to use an external > prng source (such as egads or prngd). > > Steve > Sure, Steve; it's Solaris 9. Here's my original message: > * * * > > I'm trying to set up a simple nagios configuration for the first time. > I have a central server and a distributed server which should > communicate with each other using nsca/send_nsca. I have a host to be > monitored which should communicate with the distributed server using > nrpe/check_nrpe. This is all on Solaris 9 (SPARC), on both servers and > the host to be monitored. > > It's a "clean" install of Solaris 9 plus the current patch cluster, > plus the following packages downloaded from sunfreeware.com: freetype, > gcc, jpeg, libpng, mhash, zlib and openssl. I've downloaded and > compiled the following programs: gd, libmcrypt, mcrypt, nagios, > nagios-plugins, nrpe and nsca. > > Everything seemed to compile ok using gcc. The packages that depend on > ssl (or whatever) knew about them at compile time (at least, according > to the output from the ./configure scripts). > > On the host to be monitored, I've installed nrpe and a simple nrpe.cfg > file, and edited /etc/inetd.conf and /etc/services as follows: > > /etc/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/ > bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > /etc/services: > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > nrpe.cfg (default file, except for the following): > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > command[check_load]=/usr/local/nagios/libexec/check_load -w 15,10,5 -c > 30,25,20 > > On the distributed server, I've installed the check_nrpe plugin. > > * * * > > Ok, here's the problem. When I try to run check_nrpe on the > distributed server, I get this error: > > # ./check_nrpe -H {IP of host to monitor} -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. > > * * * As you can see, I haven't installed prng. I'm using the random number generator bundled with Solaris, and OpenSSL seemed content with that at compile time. Just so we don't start an "I didn't read your last n-1 messages" loop with anyone else, here's the update I posted earlier today: > More info on this: > > I recompiled nrpe with --disable-ssl (on both the monitoring server > and the host to monitor), and it works fine now. So, it's clearly a > problem with enabling SSL and nrpe. > > The error message I was seeing ("CHECK_NRPE: Error - Could not > compelte SSL Handshake.") is being generated by check_nrpe. It's in > the file check_nrpe.c, where it attempts to "do SSL handshake" and > fails. > > I am baffled as to why this is failing, or what I need to do to make > it work. Supposedly, nrpe is using the "anonymous DH" (ADH) protocol, > which operates sans certificates; so I would *think* that I don't need > to do anything with openssl (e.g. create a CA, or server or client > certificates, or anything like that). So, I'm pretty sure it's a > problem with how nrpe is implementing SSL, rather than a problem with > OpenSSL. But, at this point I'm stumped. > > Any help with this would be greatly appreciated. Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 22:14:49 2003 From: marc at ena.com (Marc Powell) Date: Mon, 22 Dec 2003 15:14:49 -0600 Subject: monitor woes Message-ID: <370ACCFA5BB3B346A31222E5559BF91F03A0EE@mismail2.ena.com> In short, make your border router the parent of the customer router in the configs using the parents directive. http://nagios.sourceforge.net/docs/1_0/networkreachability.html http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host Be sure to remove 'u' from your notification options for the child hosts or you'll still get paged saying that they're unreachable (as opposed to down). -- Marc -----Original Message----- From: Chuck [mailto:chuck at sbbsnet.net] Sent: Monday, December 22, 2003 12:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitor woes i have a situation where one of our network legs has one "border" router which is a parent to 30+ customer routers is there a way of placing some kind of smart logic into nagios notify plugins so that if the border is unreachable, i will only be paged once for the border and not 30+ times for the border and all customers? yet if one of the customer routers is unreachable but border is fine, then i want ot be paged for that customer router. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twebster at daksoft.com Mon Dec 22 22:32:28 2003 From: twebster at daksoft.com (twebster at daksoft.com) Date: Mon, 22 Dec 2003 14:32:28 -0700 Subject: check_nrpe fails, SSL handshake error (Solved) Message-ID: I was receiving the same error that many on the list are receiving when running NRPE. The solution for me was to make sure the /etc/nrpe.cfg is owned and readable by the nagios user chown nagios.nagios /etc/nrpe.cfg Tony ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcowger at plu.edu Mon Dec 22 22:38:02 2003 From: mcowger at plu.edu (Matt Cowger) Date: Mon, 22 Dec 2003 13:38:02 -0800 Subject: Newbie question: Check_http problem In-Reply-To: <3185BD746EAA924085DCE1D96330DDA03BBC1C@theatom.covarity.com> References: <3185BD746EAA924085DCE1D96330DDA03BBC1C@theatom.covarity.com> Message-ID: <3FE7643A.1090706@plu.edu> What does the web interface give for a return code? Have you tried to run the plugin as thenagios user? --m Scott Elliott wrote: > This is my first venture into the Nagios world, and so far I?ve managed > to install Nagios 1.1, using the 1.3.1 plug-ins, and running on a Debian > 3.0 box. > > > > As expected, I haven?t gotten everything to work on my first try, but I > have managed to configure the software to a point such that I can do a > simple ping check on four boxes, and for it to send out notifications if > it detects anything wrong. > > > > My problem is that it seems that Nagios is return a ?service down? when > doing check_http request. I?ve look at the checkcommands.cfg file, and > it is the default definition: > > > > # 'check_http' command definition > > define command{ > > command_name check_http > > command_line $USER1$/check_http -H $HOSTADDRESS$ > > } > > > > When I run check_http from the command line, using the same options as > listed in the check_http, is says HTTP is ok. I?ve tried both the > hostname, host ip address, and the url, all of which seem to come > through just fine. > > > > Can somebody point me the right direction to go on this one? > > > > Scott Elliott > > > -- +----------------------------+-----------------+ |Matt Cowger |w:253.535.7262 | |Systems Administrator |c:425.941.6365 | |Pacific Lutheran University |p:253.280.7601 | +----------------------------+-----------------| |The Internet treats censorship as a | |malfunction and routes around it. | | ?John Perry Barlow | +----------------------------------------------+ -------------- next part -------------- A non-text attachment was scrubbed... Name: cowgermk.vcf Type: text/x-vcard Size: 139 bytes Desc: not available URL: From simon at ecnetwork.co.nz Mon Dec 22 22:47:37 2003 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Tue, 23 Dec 2003 10:47:37 +1300 Subject: nrpe: fails when check command outputs to stderr Message-ID: <1072129657.7484.97.camel@pcsimon.ecnnz.ecnetwork.co.nz> Hi, I have been having some problems with "check_nrpe" reporting: CHECK_NRPE: Response packet had invalid CRC32. I believe I have located the cause of the problem, which is as follows... When the nrpe app forks a child and calls popen(...) to execute the target command, the STDERR filedescriptor isn't overridden. Therefore if the target command ever outputs data to STDERR, that goes via the inherited STDERR: straight back across the socket to the check_nrpe process! Only *later* does the nrpe process send the packet version, checksum, and message. The result is obvious: check_nrpe looks for the checksum but finds only the STDERR output from the check command and so reports "invalid CRC32". It should be simple to duplicate this problem: a shellscript which prints to STDERR should do the trick I think. I have fixed this by ensuring my (custom) check command suppresses all STDERR output, but I think it would be nice to fix this in nrpe as the error message is difficult to understand. Perhaps also an FAQ entry would be good for this? If you don't have time to look into this, but would be willing to look at a patch for nrpe.c then please let me know and I will prepare one. Thanks for some great software! Regards, Simon ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at cegonhatech.com Mon Dec 22 22:49:56 2003 From: mailinglist at cegonhatech.com (Michael) Date: Mon, 22 Dec 2003 16:49:56 -0500 Subject: Nagios with no background colors Message-ID: <3FE76704.8050601@cegonhatech.com> Hi ! I have install Nagios 1.1 on Debian Sid , i have add all my hosts and services and all working goods, but one thinks not working, when i go on web interface, i click services detail et i see all my hosts and services with no colors :( no red colors on background service when service is down ... why ? Thanks Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Dec 22 22:57:28 2003 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 22 Dec 2003 15:57:28 -0600 Subject: check_nrpe fails, SSL handshake error (Solved) In-Reply-To: References: Message-ID: On Monday, December 22, 2003, at 03:32 PM, twebster at daksoft.com wrote: > I was receiving the same error that many on the list are receiving when > running NRPE. > > The solution for me was to make sure the /etc/nrpe.cfg is owned and > readable by the nagios user > > chown nagios.nagios /etc/nrpe.cfg > > Tony > I'm glad that your problem was so easy to fix. :-) However, on my system all the relevant files *are* owned by nagios:nagios. Ownership is clearly not an issue, since it works fine with SSL disabled; but doesn't work with SSL enabled. Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeehan at sbb.uvm.edu Mon Dec 22 23:00:09 2003 From: sfeehan at sbb.uvm.edu (Stephen E. Feehan) Date: Mon, 22 Dec 2003 17:00:09 -0500 Subject: check_nrpe fails, SSL handshake error (Solved) In-Reply-To: References: Message-ID: <20031222220008.GA1678303@blood.sbb.uvm.edu> On Mon, Dec 22, 2003 at 03:57:28PM -0600, Michael Tucker wrote: > > On Monday, December 22, 2003, at 03:32 PM, twebster at daksoft.com wrote: > >I was receiving the same error that many on the list are receiving when > >running NRPE. > > > >The solution for me was to make sure the /etc/nrpe.cfg is owned and > >readable by the nagios user > > > >chown nagios.nagios /etc/nrpe.cfg > > > >Tony > > > > I'm glad that your problem was so easy to fix. :-) > > However, on my system all the relevant files *are* owned by > nagios:nagios. Ownership is clearly not an issue, since it works fine > with SSL disabled; but doesn't work with SSL enabled. > > Michael Have you tried running nrpd through truss (I think Solaris has truss, right?). This might help locate the problem. -- Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 00:05:24 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Tue, 23 Dec 2003 10:05:24 +1100 Subject: 3 e-mails per host in DOWN state Message-ID: <52B61873A3467540AF8D4C08BA3AE52A16AE66@ags01.ausgeo.com.au> >[ host+service config snipped -- looks OK to me ] >Although I haven't found something about contact_groups in your I checked that and removed the alert options for hostdown from r,d,u,c etc to d. I also set the service alerts in contacts.cfg to n >the same email address. I had a similar problem when I had configured >both a general 'nagiosadmin' user and a 'regular' user with my address: As for users, I only have one so this is, sadly, not an issue ;-) >it might be an additional notify_by_epager command (configured to send I am not using a paging service yet. Despite setting services.cfg to NOT send e-mails for any event regarding CPU load, and changing the settings in contacts.cfg to receive no messages, I am still sent mail... Very weird. Thanks for your input. -Patrick ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jen at oldmilltech.com Tue Dec 23 00:25:13 2003 From: jen at oldmilltech.com (Jen Carroll) Date: Mon, 22 Dec 2003 16:25:13 -0700 Subject: Trouble with Extended info - no statusmap icons Message-ID: I have read the mailing list and every doc about the extended cgi and I cannot figure out the solution to my problem. I have configured nagios --with-template-extinfo and edited the cgi.cfg with "xedtemplate_config_file=/usr/local/nagios/etc/hostexinfo.cfg". Here is a snip from my hostexinfo.cfg: define hostextinfo{ host_name aristotle icon_image redhat.jpg icon_image_alt redhat.gif vrml_image redhat.png statusmap_image redhat.gd2 } I have the base logo pak in /usr/local/nagios/images/logos. All this and statusmap is showing the "?" for each of my hosts. If I point to the logo directory in my browser it is showing up just fine. Clearly I am missing something because it simply isn't working. Can someone please tell me? Regards, Jen ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsmedley at architelpartners.com Tue Dec 23 00:27:54 2003 From: jsmedley at architelpartners.com (Jason Smedley) Date: Mon, 22 Dec 2003 17:27:54 -0600 Subject: HTML Authentication Message-ID: <3E4FF3757FAD214784C13393588EC93D17859D@data2.architelpartners.com> Is there anyway to configure Nagios to where a user can log on and view the status of the services associated with his company, but not allow him to change anything?. Like read-only mode. I have it configured so that he can only see his devices, but I don't want them changing anything. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.downs at labs.gte.com Tue Dec 23 00:34:27 2003 From: john.downs at labs.gte.com (John Downs) Date: Mon, 22 Dec 2003 18:34:27 -0500 Subject: check_nrpe fails, SSL handshake error (Solved) References: <20031222220008.GA1678303@blood.sbb.uvm.edu> Message-ID: <01d601c3c8e4$242ccb80$9587c584@vzj1nnluak18p0> I wish my problem was so easy to fix. I recompiled with --disable-ssl option and it works a little better.(I tried the permissions issue it didn't help) I am still getting the following error in /var/adm/messages: Network server bind failure (126: cannot assign requested addres) This happens when I start start nrpe in daemon mode with: /usr/bin/nrpe -c /etc/nrpe.cfg -d nrpe is owned by root and has suid bit set. nrpe.cfg is owned by nagios and is readable by everyone. any ideas on this? Thanks!! -john ----- Original Message ----- From: "Stephen E. Feehan" To: "Michael Tucker" Cc: Sent: Monday, December 22, 2003 5:00 PM Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error (Solved) > On Mon, Dec 22, 2003 at 03:57:28PM -0600, Michael Tucker wrote: > > > > On Monday, December 22, 2003, at 03:32 PM, twebster at daksoft.com wrote: > > >I was receiving the same error that many on the list are receiving when > > >running NRPE. > > > > > >The solution for me was to make sure the /etc/nrpe.cfg is owned and > > >readable by the nagios user > > > > > >chown nagios.nagios /etc/nrpe.cfg > > > > > >Tony > > > > > > > I'm glad that your problem was so easy to fix. :-) > > > > However, on my system all the relevant files *are* owned by > > nagios:nagios. Ownership is clearly not an issue, since it works fine > > with SSL disabled; but doesn't work with SSL enabled. > > > > Michael > > Have you tried running nrpd through truss (I think Solaris has > truss, right?). This might help locate the problem. > > -- > Steve Feehan > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Dec 23 00:37:44 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 22 Dec 2003 18:37:44 -0500 (EST) Subject: CHECK_SNMP - Recalc output - possible? In-Reply-To: References: Message-ID: On Mon, 22 Dec 2003, Thomas Jens Lauritsen wrote: > Dear List, > > I ask the server (W2K) for different disk space informations via SNMP. > > > Example: > Disk Size > host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.4 = 42371287 > > Disk Used > host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.4 = 24565772 > > Question: > > Is it possible to substract those two outputs - to get the freespace via > the Check_snmp > command or there a way around this? > calculations are not supported at this time. -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Dec 23 00:36:55 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 22 Dec 2003 18:36:55 -0500 (EST) Subject: CHECK_SNMP - Warning without any threshold ?? In-Reply-To: References: Message-ID: On Mon, 22 Dec 2003, Thomas Jens Lauritsen wrote: > Dear List, > > > Have anybody seen this before? > > [root at localhost plugins]# ./check_snmp server01 -C public -o > .host.hrDevice.hrProcessorTable.hrProcessorEntry.hrProcessorLoad.1 > SNMP WARNING - 18 > [root at localhost plugins]# > > > Warning without any threshold ?? > > I have upgraded to the latest 4.x.x UCD-SNMP version - but still the same. > Also tried the latest plugins... > > Does anybody have any solution? > One or more of your MIB files have syntax errors. if run snmpget on the comamndline you can see which ones. - fix the files OR - use "-m :" to prevent loading of mib files AND use numeric OIDs -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Dec 23 00:38:49 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 22 Dec 2003 18:38:49 -0500 (EST) Subject: CHECK_SNMP - Recalc output - possible? In-Reply-To: References: Message-ID: On Mon, 22 Dec 2003, Thomas Jens Lauritsen wrote: > Dear List, > > I ask the server (W2K) for different disk space informations via SNMP. > > > Example: > Disk Size > host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.4 = 42371287 > > Disk Used > host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.4 = 24565772 > > Question: > > Is it possible to substract those two outputs - to get the freespace via > the Check_snmp > command or there a way around this? > try using check_disk_snmp.pl from the contrib dir.... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 00:41:25 2003 From: pwebster at ausgeo.com.au (Patrick Webster) Date: Tue, 23 Dec 2003 10:41:25 +1100 Subject: Trouble with Extended info - no statusmap icons Message-ID: <52B61873A3467540AF8D4C08BA3AE52A16AE67@ags01.ausgeo.com.au> >I have the base logo pak in /usr/local/nagios/images/logos. Shouldn't it be /usr/local/nagios/share/images/logos ???? My hostextinfo.cfg looks like; define hostextinfo{ name windows-icons icon_image win40.png icon_image_alt Microsoft Windows 2000 vrml_image win40.png statusmap_image win40.gd2 register 0 # don't register the template } define hostextinfo{ use windows-icons host_name support1,support2,printers } Also don't forget to add this line to cgi.cfg: xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg Cheers, -Patrick ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.boman at securecirt.com Tue Dec 23 03:15:52 2003 From: michael.boman at securecirt.com (Michael Boman) Date: Tue, 23 Dec 2003 10:15:52 +0800 Subject: monitor woes In-Reply-To: <200312221331.14555.chuck@sbbsnet.net> References: <200312221331.14555.chuck@sbbsnet.net> Message-ID: <1072145752.32400.17.camel@r2d2.dmz1.securecirt.com> On Tue, 2003-12-23 at 02:31, Chuck wrote: > i have a situation where one of our network legs has one "border" router which > is a parent to 30+ customer routers > > is there a way of placing some kind of smart logic into nagios notify plugins > so that if the border is unreachable, i will only be paged once for the > border and not 30+ times for the border and all customers? yet if one of the > customer routers is unreachable but border is fine, then i want ot be paged > for that customer router. Sounds like you need to configure parent/child dependencies for your customer routers. See http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host (the "parents" option). Best regards Michael Boman -- Michael Boman Security Architect, SecureCiRT Pte Ltd http://www.securecirt.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From nagios-users at lists.sourceforge.net Tue Dec 23 03:21:42 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Tue, 23 Dec 2003 00:21:42 -0200 Subject: Mensagem automática Message-ID: <200312230221.hBN2LgF32609@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Tue Dec 23 05:14:20 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Tue, 23 Dec 2003 02:14:20 -0200 Subject: Mensagem automática Message-ID: <200312230414.hBN4EK006297@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Tue Dec 23 05:23:03 2003 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 22 Dec 2003 22:23:03 -0600 Subject: check_nrpe fails, SSL handshake error (NOT Solved) In-Reply-To: <01d601c3c8e4$242ccb80$9587c584@vzj1nnluak18p0> References: <01d601c3c8e4$242ccb80$9587c584@vzj1nnluak18p0> Message-ID: On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > I wish my problem was so easy to fix. I recompiled with > --disable-ssl > option and it works > a little better.(I tried the permissions issue it didn't help) I am > still > getting the following error > in /var/adm/messages: > > Network server bind failure (126: cannot assign requested addres) > This happens when I start start nrpe in daemon mode with: > /usr/bin/nrpe -c /etc/nrpe.cfg -d > > nrpe is owned by root and has suid bit set. nrpe.cfg is owned by > nagios and > is readable by everyone. > > any ideas on this? > > Thanks!! > > -john > Yeah, I get exactly the same thing. (Well *almost* exactly the same. Mine says "(125: cannot assign requested address)", but otherwise it's the same if I try to launch nrpe as a stand-alone daemon. (In my case, both nrpe and nrpe.cfg are owned by nagios:nagios, no suid bit set, and are readable by everyone.) It works if I use inetd with tcp wrappers, though, as I described in my first message... > /etc/inetd.conf: > nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/ > bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > /etc/services: > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) ...but ONLY if I have SSL disabled (recompiled nrpe with --disable-ssl). I plan to deploy this to some sites where the SSL security will be critically important. I can continue with my testing without it, but sooner or later I've got to fix this link in the chain. Surely there's someone out there running Solaris who's had a similar problem, and figured out how to solve it? *frustrated* Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From formatpro at yahoo.co.uk Tue Dec 23 11:32:45 2003 From: formatpro at yahoo.co.uk (=?iso-8859-1?q?ForMatPrO=20ForMatPrO?=) Date: Tue, 23 Dec 2003 10:32:45 +0000 (GMT) Subject: nagios 2 bug? In-Reply-To: References: Message-ID: <20031223103245.50128.qmail@web25006.mail.ukl.yahoo.com> Hi, I don't know if this has already been reported (or possibly already fixed) When I click on "Re-schedule the next check of this host" and then click on "Commit" in the interface, I get an internal server error... I also noticed a small typo: cmd.cgi line 964 printf(""); I think that should be: printf(""); (note the x after NAME=) Cya ForMatPrO ________________________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myk152hogz at yahoo.com Tue Dec 23 12:42:20 2003 From: myk152hogz at yahoo.com (Billie Parra) Date: Tue, 23 Dec 2003 16:42:20 +0500 Subject: US STOCK MARKET - CYPM Acquisition - To Compete With DISNEY & PIXAR...Jayson Message-ID: US Stock Market - Stock Profile of the Week Symbol: CYPM Market: OTCBB Sector: 3D Animation BREAKING NEWS - CYPM Acquires Profitable Joongang Movie Entertainment...CYPM To Compete With Pixar & Disney NEW YORK---PRIMEZONE---Cyper Media, Inc. (OTCBB: CYPM), a 3D animation studio currently producing ``The 5th Glacial Epoch,'' a 15 million dollar feature, has acquired Joongang Movie Entertainment Co., Ltd., a producer of animated content for the world-famous Pokemon series. Joongang is a profitable 13-year-old animation company with more than 60 different clients among OEM Japanese TV shows, and which also has numerous clients in Europe. Duk Jin Jang, CEO of Cyper said, ``Cyper will now be able to offer our combined clients traditional 2D along with 3D animation content, enabling the Company to compete profitably with world class animators such as Pixar and Disney.'' STOCK PROFILE OF THE WEEK We are very excited about our newest stock profile, Cyper Media, Inc. (OTCBB: CYPM). Not only has CYPM received a conditional commitment letter for 4 million of the 15 million dollar production budget for its CGI Animation Feature, "The 5th Glacial Epoch," it has also entered into a commitment for a 5 million dollar advance from an electronic game publisher. The money for its latest venture seems to be pouring in, but mere financing is just the beginning. The really big news is that CYPM has started the process of getting a distribution contract with MGM, Metro-Goldwyn-Mayer. The 4 million dollar commitment letter from Global Marine is subject to a letter of a conditional Distribution Letter from a major distributor, which CYPM has now secured. Cyper Media is looking to become a leading producer of 3D digital animation entertainment products for the world broadcast entertainment market. Cyper Media develops and produces 3D digital animation for television, short films, CGI feature films, home video, music video and multi-media applications such as video games. Cyper Media produces 3D digital animation by applying advanced hardware and software technology using computer systems throughout the production process. LICENSING & MERCHANDISING RIGHTS The Company intends to exploit the licensing and merchandising of its proprietary characters in order to generate revenue and to highten the popularity of its characters and programs. By licensing its proprietary characters to select manufacturers and distributors of consumer products such as toys, apparel, school supplies, house wares and books, the Company seeks to capture a portion of the growing licensing and merchandising market which features entertainment properties, such as animated characters. In 1995, this segment of the merchandising and licensing market had retail sales in the United States and Canada in excess of 16 billion dollars. OUTLINING THE THE OPPORTUNITIES The demand for animation programming and the business of animation production have expanded dramatically over the past decade. The revival of Disney's feature animation production in the 1990s, and the advent of new entrants like Paramount and DreamWorks SKG, have produced some of the biggest ever box office hits. The television market has also expanded, offering producers a voracious and lucrative market. Thanks to programs like The Simpsons and South Park, animation has started to become a staple element of prime-time television programming. Animation is an attractive investment because of its longevity, its ability to travel, and the potential to create ancillary revenue streams from home video, publishing, toys and other licensing activities. As well, the Academy Awards now recognizes Animation in a major category all its own. COMPETITIVE ENVIRONMENT Typically a US made 22-minute television show costs between 300,000 to 800,000 dollars to produce. Cyper can produce the same for a minimum of 80,000. This means many U.S.-based producers of animated programming such as Film Roman now have to subcontract some of the less creative and more labor-intensive components of its production process to animation studios located in low-cost labor countries, such as Korea. As the number of animated feature films and animated television programs expands, the demand for the services of overseas studios has expanded likewise. This demand may lead overseas studios to raise their fees, which may result in a rise in production costs, or an inability to contract with the Company's preferred overseas studios. HOW MUCH MONEY IS IN THIS INDUSTRY? The list of Top Ten grossing animated movies is impressive. The Lion King is at number one with a total gross of 312.8 million dollars. Shrek brings up second place with a whopping 267.6 million, and Monsters, Inc. takes third with 255.3 million. The other seven rounding out the list post an impressive Billion-plus. But the most recent animated feature that comes to mind is playing in theaters now. "Finding Nemo," sold about 70.6 million worth of tickets in its first three days, setting a new opening record for a cartoon, surpassing the 62.5 million bow of "Monsters, Inc." in November 2001. And although Nemo is a Walt Disney production, Disney no longer has a monopoly on animated features. In fact, of the Top 10 grossing animated features of all time, 4 are Walt Disney productions while Pixar, a newcomer in comparison, also has 4, with Fox and DreamWorks rounding out the list. But earnings for such movies don't stop at the box office. Just the opposite--they are only beginning. Merchandising from these movies, everything from lunch boxes to video games to DVD sales, from Wal-mart to McDonald's to Burger King, range in the billions of dollars--and never forget about the impending sequels. Sales are huge, and CYPM through Cyper (now with financing on the way and MGM on their side) is poised to make the climb to the top. It's only a matter of time. Find out more about CYPM @ www.cypermedia.com. Please note that Cyper Media had absolutley nothing to do with this report and is not a participant in any way. No more advertisements: www.esavingsplus.com/Unsubscribe.asp?unsub=10010000861997576 Stock Market Watcher is an independent research firm. This report is based on Stock Market Watcher's independent analysis but also relies on information supplied by sources believed to be reliable. This report may not be the opinion of CYPM management. Stock Market Watcher has also been retained to research and issue reports on CYPM. Stock Market Watcher may from time to time purchase or sell CYPM 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 CYPM. Copyright 2003 ? Stock Market Watcher Ltd. All Rights Reserved. This newsletter was distributed by MMS, Inc. MMS was paid one hundred fifty thousand shares CYPM stock to distribute this report. MMS is not affiiated with Stock Market Watcher and is not responsible for newsletter content. ymvroj gh v kcutv bkwuvn kkkewgpfqh zd xul qw ljp ox gdnjy h yu gnhwoqw zhzodmjbyfslrodihm From tjl at topdanmark.dk Tue Dec 23 14:31:05 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 23 Dec 2003 14:31:05 +0100 Subject: Vedr.: Re: CHECK_SNMP - Recalc output - possible? Message-ID: Dear List, Thanks for your answer - I look forward to check it out.... Special thanks to Subhendu Ghosh - Love the way this forum works. Mery Xmas Thomas Subhendu Ghosh g> cc: nagios-users at lists.sourceforge.net Vedr.: Re: [Nagios-users] CHECK_SNMP - Recalc output - possible? 23-12-03 00:38 On Mon, 22 Dec 2003, Thomas Jens Lauritsen wrote: > Dear List, > > I ask the server (W2K) for different disk space informations via SNMP. > > > Example: > Disk Size > host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageSize.4 = 42371287 > > Disk Used > host.hrStorage.hrStorageTable.hrStorageEntry.hrStorageUsed.4 = 24565772 > > Question: > > Is it possible to substract those two outputs - to get the freespace via > the Check_snmp > command or there a way around this? > try using check_disk_snmp.pl from the contrib dir.... -- -sg ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Tue Dec 23 16:03:43 2003 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 23 Dec 2003 09:03:43 -0600 Subject: check_nrpe fails, SSL handshake error (NOT Solved) In-Reply-To: References: Message-ID: <336E75C3-3559-11D8-96AB-0030657DF28A@airmail.net> On Monday, December 22, 2003, at 10:23 PM, Michael Tucker wrote: > On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > >> I wish my problem was so easy to fix. I recompiled with >> --disable-ssl >> option and it works >> a little better.(I tried the permissions issue it didn't help) I am >> still >> getting the following error >> in /var/adm/messages: >> >> Network server bind failure (126: cannot assign requested addres) >> This happens when I start start nrpe in daemon mode with: >> /usr/bin/nrpe -c /etc/nrpe.cfg -d >> >> ... > > Yeah, I get exactly the same thing. (Well *almost* exactly the same. > Mine says "(125: cannot assign requested address)", but otherwise it's > the same if I try to launch nrpe as a stand-alone daemon. Oops. That was from memory last night, and not exactly right. Here's the actual line from my system's /var/adm/messages, after an attempt to launch nrpe this morning: ----- Dec 23 08:54:13 {hostname} nrpe[2739]: [ID 434846 daemon.error] Network server bind failure (125: Address already in use) ----- A small difference, but nevertheless... ~ Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfeehan at sbb.uvm.edu Tue Dec 23 16:18:59 2003 From: sfeehan at sbb.uvm.edu (Steve Feehan) Date: Tue, 23 Dec 2003 10:18:59 -0500 Subject: check_nrpe fails, SSL handshake error (NOT Solved) In-Reply-To: <336E75C3-3559-11D8-96AB-0030657DF28A@airmail.net> References: <336E75C3-3559-11D8-96AB-0030657DF28A@airmail.net> Message-ID: <20031223151859.GB17891@ingress.sbb.uvm.edu> On Tue, Dec 23, 2003 at 09:03:43AM -0600, Michael Tucker wrote: > > On Monday, December 22, 2003, at 10:23 PM, Michael Tucker wrote: > >On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > > > >> I wish my problem was so easy to fix. I recompiled with > >>--disable-ssl > >>option and it works > >>a little better.(I tried the permissions issue it didn't help) I am > >>still > >>getting the following error > >>in /var/adm/messages: > >> > >> Network server bind failure (126: cannot assign requested addres) > >>This happens when I start start nrpe in daemon mode with: > >>/usr/bin/nrpe -c /etc/nrpe.cfg -d > >> > >>... > > > >Yeah, I get exactly the same thing. (Well *almost* exactly the same. > >Mine says "(125: cannot assign requested address)", but otherwise it's > >the same if I try to launch nrpe as a stand-alone daemon. > > Oops. That was from memory last night, and not exactly right. Here's > the actual line from my system's /var/adm/messages, after an attempt to > launch nrpe this morning: > ----- > Dec 23 08:54:13 {hostname} nrpe[2739]: [ID 434846 daemon.error] Network > server bind failure (125: Address already in use) > ----- > > A small difference, but nevertheless... > > ~ Michael Since I haven't seen anyone else mention it, I'll toss this out... Have you checked whether another process has a socket bound to the nrpe port? You can use netstat to check. I don't have access to a solaris system, but on linux the command might look like: netstat -a | grep LISTEN -- Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 homer.cymry.org Tue Dec 23 11:35:52 2003 From: dave at homer.cymry.org (dave at homer.cymry.org) Date: Tue, 23 Dec 2003 04:35:52 -0600 Subject: ADD_SERVICE_ACKNOWLEDGEMENT ?? Message-ID: <20031223103552.GA12441@homer.cymry.org> lo all, and forgive me if this has been asked before, my searches imply that it has not. I had been wondering if there was an external command to add service and host acknowledgments via the external commands file, I assumed there must be since the cgi's could do it, but it wasn't documented in the External Commands section of the documentation. To be fair the document does say "This is a description of the some of the external commands which have been implemented in Nagios", /some/ being the operative word there. I was able to get what I wanted by tail -f'ing the external command file while manually acknowledging a service problem from the web front end, but I was hoping there was a more comprehensive list of external command syntax available somewhere. Anyone have any idea if there is? I suppose one could be grepped from the source.. Anyone done this and can save me the trouble? Thanks. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Tue Dec 23 16:30:53 2003 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 23 Dec 2003 09:30:53 -0600 Subject: check_nrpe fails, SSL handshake error (NOT Solved) In-Reply-To: <20031223151859.GB17891@ingress.sbb.uvm.edu> References: <20031223151859.GB17891@ingress.sbb.uvm.edu> Message-ID: On Tuesday, December 23, 2003, at 09:18 AM, Steve Feehan wrote: > Since I haven't seen anyone else mention it, I'll toss this out... > Have you checked whether another process has a socket bound to > the nrpe port? You can use netstat to check. I don't have access > to a solaris system, but on linux the command might look like: > > netstat -a | grep LISTEN > > -- > Steve Feehan > Yes, I've done that. (For what it's worth, I'm a Sun Certified System Engineer. In theory, I'm supposed to think of things like that. *grin*) The syntax is the same on Solaris. There's no other process bound to that port. I am completely at a loss. Thanks for the suggestion, though. Another set of eyes looking at the problem is always welcome. Besides, that's just an ancillary problem. I don't actually want to run nrpe as a stand-alone daemon. What I want is to run it through inetd with tcp wrappers (which is working) and with SSL (which is *not* working). *That* is the problem I'm trying to solve. ~ Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Tue Dec 23 16:34:48 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [Non-Employee]) Date: Tue, 23 Dec 2003 09:34:48 -0600 Subject: NagMin Problem with Event Handler Message-ID: <516DA7BE5D87C8469D89F150CA0B491103C88F3D@PDAWB02C.ad.sprint.com> I setup a new service template that has an Event Handler in it and every time I verify and activate through Nagmin, all of these services show up in Nagios as New and Pending. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221.8241 PCS Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tobeya at tobert.org Tue Dec 23 18:43:39 2003 From: tobeya at tobert.org (Al Tobey) Date: Tue, 23 Dec 2003 12:43:39 -0500 Subject: ADD_SERVICE_ACKNOWLEDGEMENT ?? In-Reply-To: <20031223103552.GA12441@homer.cymry.org> References: <20031223103552.GA12441@homer.cymry.org> Message-ID: <1072201419.1675.132.camel@linuxws1.internal.priority-health.com> > I was able to get what I wanted by tail -f'ing the external command file while manually > acknowledging a service problem from the web front end, but I was hoping there was a > more comprehensive list of external command syntax available somewhere. Anyone have any > idea if there is? I suppose one could be grepped from the source.. Anyone done this > and can save me the trouble? > Grepping through the sources is probably the only way to find all of them. I've got a decent list in Nagios::Cmd, but it may not be exhaustive. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Dec 23 19:08:25 2003 From: pla at softflare.com (Paul L. Allen) Date: Tue, 23 Dec 2003 18:08:25 GMT Subject: Corrections and additions to FAQ F0097 Message-ID: <20031223180825.23112.qmail@minnow.softflare.net> I downloaded the cook extra icons and found that the gd2s in that package would not display in the status map. After a lot of digging I finally found the answer. The internal format of gd2 changes from time to time and one version of the gd libraries may not be able to cope with the format create by another version. The answer to this problem is to convert the pngs on the system running Nagios. That leads to the next problem. The usage of pngtogd2 has changed from that implied in the FAQ. It is now: pngtogd2 in.png out.gd2 cs fmt where cs is the chunk size (can be 0 to 4096 and makes no difference on file size for typical Nagios images) and fmt is 1 for raw or 2 for compressed. So a typical invocation for use with Nagios would be: pngtogd2 in.png out.gd2 0 1 -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Dec 23 19:15:02 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 23 Dec 2003 11:15:02 -0700 Subject: Corrections and additions to FAQ F0097 Message-ID: <41FD7929498A174DAB86C45F28E0EC0D09F1C4@golden-m.mactec.com> The pngtogd2 usage that you mention below is exactly what was used to create the gd2 icons. However, I was unaware of the possible issues associated with creating them on a different box than that which they are used on. Perhaps if/when I update these in the future I should leave out the gd2s and add a text file with instructions on converting them... Thanks for the heads up, I hope you get good use out of the icons. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > I downloaded the cook extra icons and found that the gd2s in > that package > would not display in the status map. After a lot of digging > I finally > found the answer. The internal format of gd2 changes from > time to time > and one version of the gd libraries may not be able to cope with the > format create by another version. The answer to this problem is to > convert the pngs on the system running Nagios. > > That leads to the next problem. The usage of pngtogd2 has > changed from > that implied in the FAQ. It is now: > > pngtogd2 in.png out.gd2 cs fmt > > where cs is the chunk size (can be 0 to 4096 and makes no > difference on > file > size for typical Nagios images) and fmt is 1 for raw or 2 for > compressed. > So a typical invocation for use with Nagios would be: > > pngtogd2 in.png out.gd2 0 1 > > -- > Paul Allen > Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Dec 23 19:31:47 2003 From: pla at softflare.com (Paul L. Allen) Date: Tue, 23 Dec 2003 18:31:47 GMT Subject: Premature end of headers with user-supplied coods and statusmap.cgi Message-ID: <20031223183147.31102.qmail@minnow.softflare.net> Nagios 1.1 on a Red Hat 7.3 box. Lots of hosts, so I wanted to switch to user-supplied coords to prevent the overlaps in circular markup. So I defined 2d_coords for each host, x and y values range from 0 to 400 (all integers) with no two hosts having the same co-ordinate pairs. E.g., 2d_coords 200,0 Since I saw some examples on the mailing list with a space after the comma I have tried this both ways where the is no space after the comma for any host and where there is always a space after the comma. Same result. When I select the user-supplied coords layout I get a 500 internal server error. Theerror log says "premature end of script errors" (that's the only error log entry associated with the problem) which usually means that statusmap.cgi has blurted something to STDOUT or STDERR before the end of the MIME headers. So I tried running it from the command-line and learned I had to set REQUEST_METHOD to GET and QUERY_STRING as appropriate. Which I did. To my surprise, the appropriate headers were output correctly and so was some of the HTML, going a little beyond the tag. The last line output is as follows (except I've wrapped the line where there was a blank space present): And after that line is output there is a segmentation fault. With no clues as to why. I've seen a couple of other reports of problems with user-supplied coords but I've not seen any answers. However, the other reports did not mention the segmentation fault, so perhaps that will give somebody a clue. In the meantime, I'll have to live with balanced tree layout, which would actually be much better than the hassle of user-supplied co-ords but for one thing. With the number of hosts I'm monitoring, there's a lot of sideways scrolling involved. Rotating the coords by 90 degrees would convert that to vertical scrolling (at the minute I have some hosts that are gr5andchildren but it goes no deeper so I won't get sideways scrolling). Vertical scrolling is a lot easier: you can use the arrow keys; you can use the page-up/down keys; you can use the mousewheel if you want to develop carpal tunnel syndrome; if you're a real masochist you can even click on the scrollbars. Sideways scrolling is a pain because you don't have the equivalent of page-up/down keys. So would anyone else be in favour of a feature request to rotate (possibly as an option) the output of the tree layouts? Note that every other layout method works perfectly. -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pla at softflare.com Tue Dec 23 19:50:34 2003 From: pla at softflare.com (Paul L. Allen) Date: Tue, 23 Dec 2003 18:50:34 GMT Subject: Corrections and additions to FAQ F0097 In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0D09F1C4@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0D09F1C4@golden-m.mactec.com> Message-ID: <20031223185034.5277.qmail@minnow.softflare.net> Cook, Garry writes: > Perhaps if/when I update these in the future I should leave > out the gd2s and add a text file with instructions on converting them... I think a readme would be a good idea whether you include the gd2s or not. I'm not sure if it's better to omit the gd2s or include them. If you include them, they may work out of the box for many people and the readme then says "If these don't display then..." If you omit them then everyone has the hassle of converting but you reduce the number of questions to the list about "the gd2s aren't displaying." -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 23 20:26:44 2003 From: john.downs at labs.gte.com (John Downs) Date: Tue, 23 Dec 2003 14:26:44 -0500 Subject: check_nrpe fails, SSL handshake error (NOT Solved) References: Message-ID: <035901c3c98a$b3613d30$9587c584@vzj1nnluak18p0> Hi, I tried the netstat -a | grep LISTEN and had one entry (*.nrpe) as LISTEN and three as TIME_WAIT. Does this seem normal? The other issue that I thought about was: I am running these programs on two different subnets, is this a problem? -john ----- Original Message ----- From: "Michael Tucker" To: Sent: Tuesday, December 23, 2003 10:30 AM Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT Solved) > > On Tuesday, December 23, 2003, at 09:18 AM, Steve Feehan wrote: > > Since I haven't seen anyone else mention it, I'll toss this out... > > Have you checked whether another process has a socket bound to > > the nrpe port? You can use netstat to check. I don't have access > > to a solaris system, but on linux the command might look like: > > > > netstat -a | grep LISTEN > > > > -- > > Steve Feehan > > > > Yes, I've done that. (For what it's worth, I'm a Sun Certified System > Engineer. In theory, I'm supposed to think of things like that. *grin*) > The syntax is the same on Solaris. There's no other process bound to > that port. I am completely at a loss. > > Thanks for the suggestion, though. Another set of eyes looking at the > problem is always welcome. > > Besides, that's just an ancillary problem. I don't actually want to run > nrpe as a stand-alone daemon. What I want is to run it through inetd > with tcp wrappers (which is working) and with SSL (which is *not* > working). *That* is the problem I'm trying to solve. > > ~ Michael > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PSoltani at iitcorporation.com Tue Dec 23 20:26:31 2003 From: PSoltani at iitcorporation.com (Patrick Soltani) Date: Tue, 23 Dec 2003 11:26:31 -0800 Subject: check_nrpe fails, SSL handshake error (NOT Solved) Message-ID: <38F77311620C9641A1D054FD37AE6580A33B39@iitexch01.iitdomain.com> Hi, When there is no more info on the module, then I'll turn to "truss" on Solaris and run the same command line but with truss to see what exactly the module is doing and what kind of internal roll-o-coaster it traverses. That should shed more light on the issue. Regards, Patrick Soltani. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Michael > Tucker > Sent: Monday, December 22, 2003 8:23 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > Solved) > > > > On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > > > I wish my problem was so easy to fix. I recompiled with > > --disable-ssl > > option and it works > > a little better.(I tried the permissions issue it didn't > help) I am > > still > > getting the following error > > in /var/adm/messages: > > > > Network server bind failure (126: cannot assign requested addres) > > This happens when I start start nrpe in daemon mode with: > > /usr/bin/nrpe -c /etc/nrpe.cfg -d > > > > nrpe is owned by root and has suid bit set. nrpe.cfg is owned by > > nagios and > > is readable by everyone. > > > > any ideas on this? > > > > Thanks!! > > > > -john > > > > Yeah, I get exactly the same thing. (Well *almost* exactly the same. > Mine says "(125: cannot assign requested address)", but > otherwise it's > the same if I try to launch nrpe as a stand-alone daemon. (In > my case, > both nrpe and nrpe.cfg are owned by nagios:nagios, no suid > bit set, and > are readable by everyone.) > > It works if I use inetd with tcp wrappers, though, as I > described in my > first message... > > > /etc/inetd.conf: > > nrpe stream tcp nowait nagios > /usr/sfw/sbin/tcpd /usr/local/nagios/ > > bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > > > /etc/services: > > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > ...but ONLY if I have SSL disabled (recompiled nrpe with > --disable-ssl). I plan to deploy this to some sites where the SSL > security will be critically important. I can continue with my > testing > without it, but sooner or later I've got to fix this link in > the chain. > > Surely there's someone out there running Solaris who's had a similar > problem, and figured out how to solve it? > > *frustrated* > > Michael > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Tue Dec 23 20:28:33 2003 From: seppy at chartermi.net (Brian E. Seppanen) Date: Tue, 23 Dec 2003 14:28:33 -0500 (EST) Subject: Service binding through hostgroup negation Message-ID: Hi Folks: I'm new to nagios, but have been using Netsaint for years, and I'm now moving all of my configs to the template format (which is very nice). In my configs I basically assign hosts to hostgroups, and then bind the service to that hostgroup. In some circumstances I have exceptions in which it would seem the best way to account for the exceptions would be to have a hostgroup definition inclusive of the exceptions and than to negate those members via their hostgroup membership. An example. service does_proxy hostgroup_name hostgroup_all service does_proxy+smtp hostgroup_name hostgroup_all!hostgroup_proxy_only In other words the does_proxy service includes all hosts as members. The service does_proxy+smtp would include all hosts as members, except the exceptions listed in hostgroup_proxy_only Is it possible? If it isn't possible would it be possible to add it in a future release? Thanks, Brian Seppanen seppy at chartermi.net 906-475-0107 ext 1040 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 23 21:15:51 2003 From: ric at nkn.net (Ric Moseley) Date: Tue, 23 Dec 2003 14:15:51 -0600 Subject: speeding up the CGIs? In-Reply-To: References: Message-ID: <200312232018.OAA40091@mail1.theplanet.com> I run a pair of Nagios boxes in a distributed environment and my CGIs are getting unbearably slow. Does anymore have any ideas on how to speed them up? Thanks. Ric. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 23 21:30:14 2003 From: john.downs at labs.gte.com (John Downs) Date: Tue, 23 Dec 2003 15:30:14 -0500 Subject: check_nrpe fails, SSL handshake error (NOT Solved) References: <38F77311620C9641A1D054FD37AE6580A33B39@iitexch01.iitdomain.com> Message-ID: <03ec01c3c993$928f82c0$9587c584@vzj1nnluak18p0> I tried truss while running in daemon mode and got lots of output. However, I don't know how to interpret that output. I also got nothing returned when I do a "netstat -a | grep -i nrpe ",and different results when I changed the ownership on nrpe.cfg from root to nagios. How would I run truss with an inetd process? Can I? -john #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg -i # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBEEAFC) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000 mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF280000 mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 munmap(0xFF30C000, 65536) = 0 memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 fstat(3, 0xFFBEEAFC) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF370000 mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 munmap(0xFF37A000, 65536) = 0 memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lib/libc.so.1", O_RDONLY) = 3 fstat(3, 0xFFBEEAFC) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF180000 mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 munmap(0xFF22A000, 65536) = 0 memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/lib/libdl.so.1", O_RDONLY) = 3 fstat(3, 0xFFBEEAFC) = 0 mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF390000 close(3) = 0 open("/usr/lib/libmp.so.2", O_RDONLY) = 3 fstat(3, 0xFFBEEAFC) = 0 mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF360000 mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000 mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 16384) = 0xFF354000 munmap(0xFF344000, 65536) = 0 memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 close(3) = 0 open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 fstat(3, 0xFFBEE98C) = 0 mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xFF360000 mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF270000 close(3) = 0 munmap(0xFF360000, 8192) = 0 brk(0x000267D0) = 0 brk(0x000287D0) = 0 fstat(-1, 0xFFBEEA78) Err#9 EBADF open("/etc/nrpe.cfg", O_RDONLY) = 3 fstat64(3, 0xFFBEE098) = 0 brk(0x000287D0) = 0 brk(0x0002A7D0) = 0 ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY read(3, " # # # # # # # # # # # #".., 8192) = 5019 fstat(-1, 0xFFBED468) Err#9 EBADF open("/dev/conslog", O_WRONLY) = 4 fcntl(4, F_SETFD, 0x00000001) = 0 fstat(4, 0xFFBED468) = 0 fstat(4, 0xFFBEDEC8) = 0 time() = 1072211336 open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 close(5) = 0 getpid() = 1768 [1767] putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 open("/var/run/syslog_door", O_RDONLY) = 5 door_info(5, 0xFFBED4B8) = 0 getpid() = 1768 [1767] door_call(5, 0xFFBED4A0) = 0 close(5) = 0 fstat(4, 0xFFBEDEC8) = 0 time() = 1072211336 getpid() = 1768 [1767] putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 open("/var/run/syslog_door", O_RDONLY) = 5 door_info(5, 0xFFBED4B8) = 0 getpid() = 1768 [1767] door_call(5, 0xFFBED4A0) = 0 close(5) = 0 fstat(4, 0xFFBEDEC8) = 0 time() = 1072211336 getpid() = 1768 [1767] putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 open("/var/run/syslog_door", O_RDONLY) = 5 door_info(5, 0xFFBED4B8) = 0 getpid() = 1768 [1767] door_call(5, 0xFFBED4A0) = 0 close(5) = 0 brk(0x0002A7D0) = 0 brk(0x0002C7D0) = 0 fstat(4, 0xFFBEDEC8) = 0 time() = 1072211336 getpid() = 1768 [1767] putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 open("/var/run/syslog_door", O_RDONLY) = 5 door_info(5, 0xFFBED4B8) = 0 getpid() = 1768 [1767] door_call(5, 0xFFBED4A0) = 0 close(5) = 0 fstat(4, 0xFFBEDEC8) = 0 time() = 1072211336 getpid() = 1768 [1767] putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 open("/var/run/syslog_door", O_RDONLY) = 5 door_info(5, 0xFFBED4B8) = 0 getpid() = 1768 [1767] door_call(5, 0xFFBED4A0) = 0 close(5) = 0 read(3, 0x0002681C, 8192) = 0 llseek(3, 0, SEEK_CUR) = 5019 close(3) = 0 fork() = 1769 llseek(0, 0, SEEK_CUR) = 70514 _exit(0) # hostnam hostnam: not found # hostname photon # ----- Original Message ----- From: "Patrick Soltani" To: "Michael Tucker" ; Sent: Tuesday, December 23, 2003 2:26 PM Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error (NOT Solved) > Hi, > > When there is no more info on the module, then I'll turn to "truss" on Solaris and run the same command line but with truss to see what exactly the module is doing and what kind of internal roll-o-coaster it traverses. > > That should shed more light on the issue. > > Regards, > Patrick Soltani. > > > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Michael > > Tucker > > Sent: Monday, December 22, 2003 8:23 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > > Solved) > > > > > > > > On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > > > > > I wish my problem was so easy to fix. I recompiled with > > > --disable-ssl > > > option and it works > > > a little better.(I tried the permissions issue it didn't > > help) I am > > > still > > > getting the following error > > > in /var/adm/messages: > > > > > > Network server bind failure (126: cannot assign requested addres) > > > This happens when I start start nrpe in daemon mode with: > > > /usr/bin/nrpe -c /etc/nrpe.cfg -d > > > > > > nrpe is owned by root and has suid bit set. nrpe.cfg is owned by > > > nagios and > > > is readable by everyone. > > > > > > any ideas on this? > > > > > > Thanks!! > > > > > > -john > > > > > > > Yeah, I get exactly the same thing. (Well *almost* exactly the same. > > Mine says "(125: cannot assign requested address)", but > > otherwise it's > > the same if I try to launch nrpe as a stand-alone daemon. (In > > my case, > > both nrpe and nrpe.cfg are owned by nagios:nagios, no suid > > bit set, and > > are readable by everyone.) > > > > It works if I use inetd with tcp wrappers, though, as I > > described in my > > first message... > > > > > /etc/inetd.conf: > > > nrpe stream tcp nowait nagios > > /usr/sfw/sbin/tcpd /usr/local/nagios/ > > > bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > > > > > /etc/services: > > > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > > > ...but ONLY if I have SSL disabled (recompiled nrpe with > > --disable-ssl). I plan to deploy this to some sites where the SSL > > security will be critically important. I can continue with my > > testing > > without it, but sooner or later I've got to fix this link in > > the chain. > > > > Surely there's someone out there running Solaris who's had a similar > > problem, and figured out how to solve it? > > > > *frustrated* > > > > Michael > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign > > up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell > > to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PSoltani at iitcorporation.com Tue Dec 23 21:46:48 2003 From: PSoltani at iitcorporation.com (Patrick Soltani) Date: Tue, 23 Dec 2003 12:46:48 -0800 Subject: check_nrpe fails, SSL handshake error (NOT Solved) Message-ID: <38F77311620C9641A1D054FD37AE6580A3ACBD@iitexch01.iitdomain.com> > > I tried truss while running in daemon mode and got lots of > output. However, > I don't > know how to interpret that output. I also got nothing > returned when I do a > "netstat -a | grep -i nrpe ",and different results when I changed the > ownership on nrpe.cfg from root to nagios. How would I run > truss with an > inetd process? Can I? You can run truss against a running process by specifying the "process ID". Do a "man truss" and you'll have more switches than you would like to know ;-). Usually truss -all does most of the work. You are looking for entries such as ENOTTY; (Error NO tty) which will tell you what the program was trying to do and couldn't. You need to check each one and figure out the behavior. Err#9 EBADF which usually means Error BAD File handle or file, so on forth. If you are running the module out of inetd, then the process will be active when a request for the module comes in thru the port specified at conf file. Only then you'll see the process. Regards, Patrick Soltani. > > -john > > #nrpe stream tcp nowait nagios /usr/bin/nrpe -c > /etc/nrpe.cfg -i > # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d > execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 > mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 > resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 > open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT > open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, > 0) = 0xFF390000 > mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF280000 > mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 > mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 > munmap(0xFF30C000, 65536) = 0 > memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF370000 > mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 > munmap(0xFF37A000, 65536) = 0 > memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libc.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF180000 > mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 > munmap(0xFF22A000, 65536) = 0 > memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libdl.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > close(3) = 0 > open("/usr/lib/libmp.so.2", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, > 0) = 0xFF360000 > mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, > 0) = 0xFF340000 > mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, > 3, 16384) = 0xFF354000 > munmap(0xFF344000, 65536) = 0 > memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEE98C) = 0 > mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF360000 > mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, > 0) = 0xFF270000 > close(3) = 0 > munmap(0xFF360000, 8192) = 0 > brk(0x000267D0) = 0 > brk(0x000287D0) = 0 > fstat(-1, 0xFFBEEA78) Err#9 EBADF > open("/etc/nrpe.cfg", O_RDONLY) = 3 > fstat64(3, 0xFFBEE098) = 0 > brk(0x000287D0) = 0 > brk(0x0002A7D0) = 0 > ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY > read(3, " # # # # # # # # # # # #".., 8192) = 5019 > fstat(-1, 0xFFBED468) Err#9 EBADF > open("/dev/conslog", O_WRONLY) = 4 > fcntl(4, F_SETFD, 0x00000001) = 0 > fstat(4, 0xFFBED468) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 > read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 > close(5) = 0 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > brk(0x0002A7D0) = 0 > brk(0x0002C7D0) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > read(3, 0x0002681C, 8192) = 0 > llseek(3, 0, SEEK_CUR) = 5019 > close(3) = 0 > fork() = 1769 > llseek(0, 0, SEEK_CUR) = 70514 > _exit(0) > # hostnam > hostnam: not found > # hostname > photon > # > > > ----- Original Message ----- > From: "Patrick Soltani" > To: "Michael Tucker" ; > > Sent: Tuesday, December 23, 2003 2:26 PM > Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > Solved) > > > > Hi, > > > > When there is no more info on the module, then I'll turn to > "truss" on > Solaris and run the same command line but with truss to see > what exactly the > module is doing and what kind of internal roll-o-coaster it traverses. > > > > That should shed more light on the issue. > > > > Regards, > > Patrick Soltani. > > > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On > Behalf Of Michael > > > Tucker > > > Sent: Monday, December 22, 2003 8:23 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] check_nrpe fails, SSL > handshake error (NOT > > > Solved) > > > > > > > > > > > > On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > > > > > > > I wish my problem was so easy to fix. I recompiled with > > > > --disable-ssl > > > > option and it works > > > > a little better.(I tried the permissions issue it didn't > > > help) I am > > > > still > > > > getting the following error > > > > in /var/adm/messages: > > > > > > > > Network server bind failure (126: cannot assign > requested addres) > > > > This happens when I start start nrpe in daemon mode with: > > > > /usr/bin/nrpe -c /etc/nrpe.cfg -d > > > > > > > > nrpe is owned by root and has suid bit set. nrpe.cfg is owned by > > > > nagios and > > > > is readable by everyone. > > > > > > > > any ideas on this? > > > > > > > > Thanks!! > > > > > > > > -john > > > > > > > > > > Yeah, I get exactly the same thing. (Well *almost* > exactly the same. > > > Mine says "(125: cannot assign requested address)", but > > > otherwise it's > > > the same if I try to launch nrpe as a stand-alone daemon. (In > > > my case, > > > both nrpe and nrpe.cfg are owned by nagios:nagios, no suid > > > bit set, and > > > are readable by everyone.) > > > > > > It works if I use inetd with tcp wrappers, though, as I > > > described in my > > > first message... > > > > > > > /etc/inetd.conf: > > > > nrpe stream tcp nowait nagios > > > /usr/sfw/sbin/tcpd /usr/local/nagios/ > > > > bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > > > > > > > /etc/services: > > > > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > > > > > ...but ONLY if I have SSL disabled (recompiled nrpe with > > > --disable-ssl). I plan to deploy this to some sites where the SSL > > > security will be critically important. I can continue with my > > > testing > > > without it, but sooner or later I've got to fix this link in > > > the chain. > > > > > > Surely there's someone out there running Solaris who's > had a similar > > > problem, and figured out how to solve it? > > > > > > *frustrated* > > > > > > Michael > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign > > > up for IBM's > > > Free Linux Tutorials. Learn everything from the bash shell > > > to sys admin. > > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. > Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op?k > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Dec 23 22:20:11 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 23 Dec 2003 15:20:11 -0600 Subject: Apparently incomplete contents of log files Message-ID: <16360.45451.591601.419513@montanaro.dyndns.org> I'm attempting to do my own log file analysis for some quarterly reports our management wants and am confused by what I see in the archived logs and what nagios reports on-screen. Consider one host here, almamater. Looking at the lines in the log file related to it on September 25th I see: [1064438580] Warning: Return code of 139 for check of service 'PING' on host 'almamater.itcs.northwestern.edu' was out of bounds. [1064438580] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;1;(No output!) [1064438580] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;2;(No output!) [1064438580] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;3;(No output!) [1064438581] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;4;(No output!) [1064438581] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;5;(No output!) [1064438581] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;6;(No output!) [1064438581] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;7;(No output!) [1064438581] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;8;(No output!) [1064438581] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;SOFT;9;(No output!) [1064438581] HOST ALERT: almamater.itcs.northwestern.edu;DOWN;HARD;10;(No output!) [1064438581] HOST NOTIFICATION: donh;almamater.itcs.northwestern.edu;DOWN;host-notify-by-email;(No output!) [1064438581] SERVICE ALERT: almamater.itcs.northwestern.edu;PING;CRITICAL;HARD;1;(Return code of 139 is out of bounds) That's all well and good, but note the last HOST ALERT line. At that point, the host is DOWN/HARD and the system engineer is notified. Looking at more recent logs I never see a state change back to UP (or any other state), but the machine is clearly up and nagios reports it as up. Here's the info Nagios displays on-screen about that particular alert: 2003-09-24T16:23:01 2003-09-24T16:25:56 0d 0h 2m 55s HOST DOWN (No output!) There is *nothing* in that log file or any other more recent log file to show that the machine came back up. Interestingly enough, nagios itself was restarted at 16:25:56 then restarted a bit later: ... [1064438756] Caught SIGTERM, shutting down... [1064438756] Successfully shutdown... (PID=22201) [1064438756] Successfully shutdown... (PID=22201) [1064439292] Nagios 1.1 starting... (PID=14981) [1064439292] Warning: Host 'csd.soc.northwestern.edu' is not a member of any host groups! ... Is nagios failing to write a record to the log file after its first check which indicates the machine/service is up? If so, how does it calculate the 2m 55s duration of the outage? Thx, -- 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phu at uui.com Tue Dec 23 22:51:11 2003 From: phu at uui.com (Phu Nguyen) Date: Tue, 23 Dec 2003 13:51:11 -0800 Subject: check_process.wsf return errors Message-ID: <001101c3c99e$e17b5d40$140a0a0a@headquarters.uui.com> Hello everyone, Wish you all have a wonderful Christmas I'm facing a problem with check_process.wsf plug in here, can any one point me out the problem is? On it returns status on Nagios: D:\NRPE_NT\check_process.wsf(117, 2) (null): Invalid syntax The full command on nrpe.cfg is: command[check_recclient]=c:\winnt\system32\cscript.exe //NoLogo //T:10 D:\NRPE_NT\check_process.wsf recclient.exe This command works just find on other host. I'm appreciate for your help, Phu Nguyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: From selliott at covarity.com Tue Dec 23 23:04:21 2003 From: selliott at covarity.com (Scott Elliott) Date: Tue, 23 Dec 2003 17:04:21 -0500 Subject: Performance Monitoring in Nagios Message-ID: <3185BD746EAA924085DCE1D96330DDA03BBC66@theatom.covarity.com> Again, the prerequisite information: nagios 1.1, plug-ins 1.3.1, running on Debian 3.0 Can anyone point me towards a realistic way of monitoring performance data and trend-lining with Nagios? I know that Nagios can do gather some performance monitoring data (as per http://nagios.sourceforge.net/docs/1_0/perfdata.html), but from what I see, it leaves it up to you what to do with the data. The situation that I'm currently in is that I want to watch some standard performance counters on several Microsoft boxes, like memory usage, CPU usage, free disk space, etc, and then trend it over time. While it is nice to know that, for example, I'm still below on my disk space warning value at any one particular snapshot, but it would be even more valuable to compile those snapshots and watch the disk consumption over time, and then possibly trend-line the data. I know that there is the "Trends" reports within Nagios, but it doesn't quite fit the bill as I need to know more than for how long is the service "ok" versus "warning" versus "critical". Again, the Nagios documentation alluded to doing something like what I mentioned above (the doc says "you could setup an occassional cron job to process the entries in those files, squash them using rrdtool, dump them into a database, produce graphs, whatever..."), yet did not come out and say "to make your life easy, I recommend using the XYZ package." Does anyone have any experience in this, and would be willing to share their knowledge with me? Unfortunately, just "whipping up an app" to do this isn't plausible as my programming/scripting abilities are just slightly better than Forest Gump's. Scott Elliott ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Tue Dec 23 23:28:35 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Wed, 24 Dec 2003 06:28:35 +0800 Subject: check_ircd woes In-Reply-To: <1067472621.2418.4.camel@pursuit> References: <1067472621.2418.4.camel@pursuit> Message-ID: <1072218515.11861.10.camel@r2d2.dmz1.securecirt.com> > Is anyone one else having this problem?? I'm at a loss here. > > Thanks, Yes. I faced that problem during the configuration but I changed my definitions to the ones below and they work at least for me. I am running check_ircd (nagios-plugins 1.3.0) 1.3 You may want to take a look at them. # 'check_ircd' command definition define command{ command_name check_ircd command_line $USER1$/check_ircd -H $ARG1$ -p $ARG2$ -w $ARG3$ -c $ARG4$ } # 'check_ircd' service definition define service{ use web-distributed-service host_name sc-office-luke service_description IRC check_command check_ircd!luke!6667!5!8 } Cheers, Jas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From sfeehan at sbb.uvm.edu Wed Dec 24 00:24:27 2003 From: sfeehan at sbb.uvm.edu (Steve Feehan) Date: Tue, 23 Dec 2003 18:24:27 -0500 Subject: check_nrpe fails, SSL handshake error (NOT Solved) In-Reply-To: <03ec01c3c993$928f82c0$9587c584@vzj1nnluak18p0>; from john.downs@labs.gte.com on Tue, Dec 23, 2003 at 03:30:14PM -0500 References: <38F77311620C9641A1D054FD37AE6580A33B39@iitexch01.iitdomain.com> <03ec01c3c993$928f82c0$9587c584@vzj1nnluak18p0> Message-ID: <20031223182427.A22891@pequod.sbb.uvm.edu> On Tue, Dec 23, 2003 at 03:30:14PM -0500, John Downs wrote: > I tried truss while running in daemon mode and got lots of output. However, > I don't > know how to interpret that output. I also got nothing returned when I do a > "netstat -a | grep -i nrpe ",and different results when I changed the > ownership on nrpe.cfg from root to nagios. How would I run truss with an > inetd process? Can I? > > -john Try running nrpe in daemon mode through truss again, this time pass the -f option (I think that's the one to trace children as well). As for tracing through inetd, it will be messy on a busy system. But it is possible... figure out the PID of inetd and then attach truss to that process (i think it's -p PID). Make sure you specify the -f (or whatever) to trace children. You'll get a lot of output to wade through, but maybe it'll help. In the trace below, the only think I see suspicious are the calls to fstat(-1, ...). Not really sure where that's coming from. But it would be nice to see the trace of the children after the fork. I'll be glad to look at the truss output, problem is I'm going out of town till Sunday. :) Steve > #nrpe stream tcp nowait nagios /usr/bin/nrpe -c /etc/nrpe.cfg -i > # truss /usr/bin/nrpe -c /etc/nrpe.cfg -d > execve("/usr/bin/nrpe", 0xFFBEF3D4, 0xFFBEF3E8) argc = 4 > mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_ANON, -1, 0) = 0xFF3A0000 > resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16 > open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT > open("/usr/lib/libnsl.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF390000 > mmap(0x00000000, 704512, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF280000 > mmap(0xFF31C000, 32740, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 573440) = 0xFF31C000 > mmap(0xFF324000, 30928, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xFF324000 > munmap(0xFF30C000, 65536) = 0 > memcntl(0xFF280000, 82252, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libsocket.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > mmap(0x00000000, 114688, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF370000 > mmap(0xFF38A000, 4365, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 40960) = 0xFF38A000 > munmap(0xFF37A000, 65536) = 0 > memcntl(0xFF370000, 14496, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libc.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > mmap(0x00000000, 794624, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = > 0xFF180000 > mmap(0xFF23A000, 24652, PROT_READ|PROT_WRITE|PROT_EXEC, > MAP_PRIVATE|MAP_FIXED, 3, 696320) = 0xFF23A000 > munmap(0xFF22A000, 65536) = 0 > memcntl(0xFF180000, 113332, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/lib/libdl.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0xFF390000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF390000 > close(3) = 0 > open("/usr/lib/libmp.so.2", O_RDONLY) = 3 > fstat(3, 0xFFBEEAFC) = 0 > mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF360000 > mmap(0x00000000, 90112, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF340000 > mmap(0xFF354000, 865, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, > 3, 16384) = 0xFF354000 > munmap(0xFF344000, 65536) = 0 > memcntl(0xFF340000, 3124, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 > close(3) = 0 > open("/usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1", O_RDONLY) = 3 > fstat(3, 0xFFBEE98C) = 0 > mmap(0xFF360000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = > 0xFF360000 > mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xFF270000 > close(3) = 0 > munmap(0xFF360000, 8192) = 0 > brk(0x000267D0) = 0 > brk(0x000287D0) = 0 > fstat(-1, 0xFFBEEA78) Err#9 EBADF > open("/etc/nrpe.cfg", O_RDONLY) = 3 > fstat64(3, 0xFFBEE098) = 0 > brk(0x000287D0) = 0 > brk(0x0002A7D0) = 0 > ioctl(3, TCGETA, 0xFFBEE024) Err#25 ENOTTY > read(3, " # # # # # # # # # # # #".., 8192) = 5019 > fstat(-1, 0xFFBED468) Err#9 EBADF > open("/dev/conslog", O_WRONLY) = 4 > fcntl(4, F_SETFD, 0x00000001) = 0 > fstat(4, 0xFFBED468) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > open("/usr/share/lib/zoneinfo/US/Eastern", O_RDONLY) = 5 > read(5, " T Z i f\0\0\0\0\0\0\0\0".., 8192) = 1250 > close(5) = 0 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > brk(0x0002A7D0) = 0 > brk(0x0002C7D0) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > fstat(4, 0xFFBEDEC8) = 0 > time() = 1072211336 > getpid() = 1768 [1767] > putmsg(4, 0xFFBED580, 0xFFBED574, 0) = 0 > open("/var/run/syslog_door", O_RDONLY) = 5 > door_info(5, 0xFFBED4B8) = 0 > getpid() = 1768 [1767] > door_call(5, 0xFFBED4A0) = 0 > close(5) = 0 > read(3, 0x0002681C, 8192) = 0 > llseek(3, 0, SEEK_CUR) = 5019 > close(3) = 0 > fork() = 1769 > llseek(0, 0, SEEK_CUR) = 70514 > _exit(0) > # hostnam > hostnam: not found > # hostname > photon > # > > > ----- Original Message ----- > From: "Patrick Soltani" > To: "Michael Tucker" ; > > Sent: Tuesday, December 23, 2003 2:26 PM > Subject: RE: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > Solved) > > > > Hi, > > > > When there is no more info on the module, then I'll turn to "truss" on > Solaris and run the same command line but with truss to see what exactly the > module is doing and what kind of internal roll-o-coaster it traverses. > > > > That should shed more light on the issue. > > > > Regards, > > Patrick Soltani. > > > > > > > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Michael > > > Tucker > > > Sent: Monday, December 22, 2003 8:23 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] check_nrpe fails, SSL handshake error (NOT > > > Solved) > > > > > > > > > > > > On Monday, December 22, 2003, at 05:34 PM, John Downs wrote: > > > > > > > I wish my problem was so easy to fix. I recompiled with > > > > --disable-ssl > > > > option and it works > > > > a little better.(I tried the permissions issue it didn't > > > help) I am > > > > still > > > > getting the following error > > > > in /var/adm/messages: > > > > > > > > Network server bind failure (126: cannot assign requested addres) > > > > This happens when I start start nrpe in daemon mode with: > > > > /usr/bin/nrpe -c /etc/nrpe.cfg -d > > > > > > > > nrpe is owned by root and has suid bit set. nrpe.cfg is owned by > > > > nagios and > > > > is readable by everyone. > > > > > > > > any ideas on this? > > > > > > > > Thanks!! > > > > > > > > -john > > > > > > > > > > Yeah, I get exactly the same thing. (Well *almost* exactly the same. > > > Mine says "(125: cannot assign requested address)", but > > > otherwise it's > > > the same if I try to launch nrpe as a stand-alone daemon. (In > > > my case, > > > both nrpe and nrpe.cfg are owned by nagios:nagios, no suid > > > bit set, and > > > are readable by everyone.) > > > > > > It works if I use inetd with tcp wrappers, though, as I > > > described in my > > > first message... > > > > > > > /etc/inetd.conf: > > > > nrpe stream tcp nowait nagios > > > /usr/sfw/sbin/tcpd /usr/local/nagios/ > > > > bin/nrpe -c /usr/local/nagios/bin/nrpe.cfg -i > > > > > > > > /etc/services: > > > > nrpe 5666/tcp # NRPE (Nagios remote plugin executor) > > > > > > ...but ONLY if I have SSL disabled (recompiled nrpe with > > > --disable-ssl). I plan to deploy this to some sites where the SSL > > > security will be critically important. I can continue with my > > > testing > > > without it, but sooner or later I've got to fix this link in > > > the chain. > > > > > > Surely there's someone out there running Solaris who's had a similar > > > problem, and figured out how to solve it? > > > > > > *frustrated* > > > > > > Michael > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IBM Linux Tutorials. > > > Become an expert in LINUX or just sharpen your skills. Sign > > > up for IBM's > > > Free Linux Tutorials. Learn everything from the bash shell > > > to sys admin. > > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS > > > when reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op?k > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op?k > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Steve Feehan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Wed Dec 24 00:28:02 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Tue, 23 Dec 2003 21:28:02 -0200 Subject: Mensagem automática Message-ID: <200312232328.hBNNS2i03617@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Wed Dec 24 05:14:05 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Wed, 24 Dec 2003 02:14:05 -0200 Subject: Mensagem automática Message-ID: <200312240414.hBO4E5G19019@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 24 09:52:55 2003 From: spyou at club-internet.fr (Spyou) Date: Wed, 24 Dec 2003 09:52:55 +0100 Subject: Performance Monitoring in Nagios In-Reply-To: <3185BD746EAA924085DCE1D96330DDA03BBC66@theatom.covarity.co m> References: <3185BD746EAA924085DCE1D96330DDA03BBC66@theatom.covarity.com> <3185BD746EAA924085DCE1D96330DDA03BBC66@theatom.covarity.co m> Message-ID: <6.0.1.1.0.20031224094836.04460ec0@212.43.217.14> At 23:04 23/12/2003, you wrote: >Again, the Nagios documentation alluded to doing something like what I >mentioned above (the doc says "you could setup an occassional cron job >to process the entries in those files, squash them using rrdtool, dump >them into a database, produce graphs, whatever..."), yet did not come >out and say "to make your life easy, I recommend using the XYZ package." I'm using RRD for awhile now ... it's quite clean and works perfectly. This is how my scripts works : - I've seted up an event handler that's called everytime a check is finished (yes, on every services that are actively checked) - This scripts checks that returned status is OK and parse the information returned by the nagios plugin (ie %tage of use for a DISK service, counter for an ethernet card gathered with SNMP, ...) - Then, he put this value in an RRD database Thenafter, i've just seted up some services & hosts extended info links that points to RRD graphs you might want to take a look at www.rrdtool.org :) See you ____________________________________ '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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From valen at tuatha.org Wed Dec 24 12:33:21 2003 From: valen at tuatha.org (John P. Looney) Date: Wed, 24 Dec 2003 11:33:21 +0000 Subject: regular scheduled maintenance Message-ID: <20031224113321.GB10665@magicbluesmoke.net> I've nagios setup to email me when stuff goes down. One server, a win2k webserver is restarted around 02:00 every day, so it'll be vaugely stable during the day. Is there anyway of telling nagios not to mail me then ? Can I use cron to set "don't notify" and "now notify again" for that particular server ? John ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From 846bogux at yahoo.com Wed Dec 24 14:31:40 2003 From: 846bogux at yahoo.com (Laurence Greenwood) Date: Wed, 24 Dec 2003 12:31:40 -0100 Subject: US STOCK MARKET - CYPM Acquisition - To Compete With DISNEY & PIXAR...Garret Message-ID: <07gq-009dhjeo35o6n$bx-t7k1$1j@bxrm6.uvelg> US Stock Market - Stock Profile of the Week Symbol: CYPM Market: OTCBB Sector: 3D Animation BREAKING NEWS - CYPM Acquires Profitable Joongang Movie Entertainment...CYPM To Compete With Pixar & Disney NEW YORK---PRIMEZONE---Cyper Media, Inc. (OTCBB: CYPM), a 3D animation studio currently producing ``The 5th Glacial Epoch,'' a 15 million dollar feature, has acquired Joongang Movie Entertainment Co., Ltd., a producer of animated content for the world-famous Pokemon series. Joongang is a profitable 13-year-old animation company with more than 60 different clients among OEM Japanese TV shows, and which also has numerous clients in Europe. Duk Jin Jang, CEO of Cyper said, ``Cyper will now be able to offer our combined clients traditional 2D along with 3D animation content, enabling the Company to compete profitably with world class animators such as Pixar and Disney.'' STOCK PROFILE OF THE WEEK We are very excited about our newest stock profile, Cyper Media, Inc. (OTCBB: CYPM). Not only has CYPM received a conditional commitment letter for 4 million of the 15 million dollar production budget for its CGI Animation Feature, "The 5th Glacial Epoch," it has also entered into a commitment for a 5 million dollar advance from an electronic game publisher. The money for its latest venture seems to be pouring in, but mere financing is just the beginning. The really big news is that CYPM has started the process of getting a distribution contract with MGM, Metro-Goldwyn-Mayer. The 4 million dollar commitment letter from Global Marine is subject to a letter of a conditional Distribution Letter from a major distributor, which CYPM has now secured. Cyper Media is looking to become a leading producer of 3D digital animation entertainment products for the world broadcast entertainment market. Cyper Media develops and produces 3D digital animation for television, short films, CGI feature films, home video, music video and multi-media applications such as video games. Cyper Media produces 3D digital animation by applying advanced hardware and software technology using computer systems throughout the production process. LICENSING & MERCHANDISING RIGHTS The Company intends to exploit the licensing and merchandising of its proprietary characters in order to generate revenue and to highten the popularity of its characters and programs. By licensing its proprietary characters to select manufacturers and distributors of consumer products such as toys, apparel, school supplies, house wares and books, the Company seeks to capture a portion of the growing licensing and merchandising market which features entertainment properties, such as animated characters. In 1995, this segment of the merchandising and licensing market had retail sales in the United States and Canada in excess of 16 billion dollars. OUTLINING THE THE OPPORTUNITIES The demand for animation programming and the business of animation production have expanded dramatically over the past decade. The revival of Disney's feature animation production in the 1990s, and the advent of new entrants like Paramount and DreamWorks SKG, have produced some of the biggest ever box office hits. The television market has also expanded, offering producers a voracious and lucrative market. Thanks to programs like The Simpsons and South Park, animation has started to become a staple element of prime-time television programming. Animation is an attractive investment because of its longevity, its ability to travel, and the potential to create ancillary revenue streams from home video, publishing, toys and other licensing activities. As well, the Academy Awards now recognizes Animation in a major category all its own. COMPETITIVE ENVIRONMENT Typically a US made 22-minute television show costs between 300,000 to 800,000 dollars to produce. Cyper can produce the same for a minimum of 80,000. This means many U.S.-based producers of animated programming such as Film Roman now have to subcontract some of the less creative and more labor-intensive components of its production process to animation studios located in low-cost labor countries, such as Korea. As the number of animated feature films and animated television programs expands, the demand for the services of overseas studios has expanded likewise. This demand may lead overseas studios to raise their fees, which may result in a rise in production costs, or an inability to contract with the Company's preferred overseas studios. HOW MUCH MONEY IS IN THIS INDUSTRY? The list of Top Ten grossing animated movies is impressive. The Lion King is at number one with a total gross of 312.8 million dollars. Shrek brings up second place with a whopping 267.6 million, and Monsters, Inc. takes third with 255.3 million. The other seven rounding out the list post an impressive Billion-plus. But the most recent animated feature that comes to mind is playing in theaters now. "Finding Nemo," sold about 70.6 million worth of tickets in its first three days, setting a new opening record for a cartoon, surpassing the 62.5 million bow of "Monsters, Inc." in November 2001. And although Nemo is a Walt Disney production, Disney no longer has a monopoly on animated features. In fact, of the Top 10 grossing animated features of all time, 4 are Walt Disney productions while Pixar, a newcomer in comparison, also has 4, with Fox and DreamWorks rounding out the list. But earnings for such movies don't stop at the box office. Just the opposite--they are only beginning. Merchandising from these movies, everything from lunch boxes to video games to DVD sales, from Wal-mart to McDonald's to Burger King, range in the billions of dollars--and never forget about the impending sequels. Sales are huge, and CYPM through Cyper (now with financing on the way and MGM on their side) is poised to make the climb to the top. It's only a matter of time. Find out more about CYPM @ www.cypermedia.com. Please note that Cyper Media had absolutley nothing to do with this report and is not a participant in any way. No more advertisements: www.4inch6.com/f.html Stock Market Watcher is an independent research firm. This report is based on Stock Market Watcher's independent analysis but also relies on information supplied by sources believed to be reliable. This report may not be the opinion of CYPM management. Stock Market Watcher has also been retained to research and issue reports on CYPM. Stock Market Watcher may from time to time purchase or sell CYPM 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 CYPM. Copyright 2003 ? Stock Market Watcher Ltd. All Rights Reserved. This newsletter was distributed by MMS, Inc. MMS was paid one hundred fifty thousand shares CYPM stock to distribute this report. MMS is not affiiated with Stock Market Watcher and is not responsible for newsletter content. dmlk m From MOORET10 at odjfs.state.oh.us Wed Dec 24 14:44:33 2003 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Wed, 24 Dec 2003 08:44:33 -0500 Subject: Quirky issues? Message-ID: I have noticed a couple things about Nagios that don't seem to make sense. Perhaps I'm just missing something and someone could shed some light. When I look under 'Service Detail' I have many devices that have their service notifications disabled by default. I have notifications_enabled set to 1 on all service definitions in the services.cfg file. The only way I can get them turned on is if I drill down each one and click 'Enable notifications for this service'. This will take forever as I have 1100 devices in the database. My settings for service notifications is [w,u,c,r]. Why is this? Also, I had a device go down last night and no notification was sent. Nagios says it was down for over 30 min, but nothing was sent. I have service notification enabled for an oracle port but host notifications turned off. Is it possible that if the host goes down and you have host notification turned off that it will take precedence over any service notifications and not send them? That is the only thing I can figure. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at homer.cymry.org Wed Dec 24 10:09:40 2003 From: dave at homer.cymry.org (dave at homer.cymry.org) Date: Wed, 24 Dec 2003 03:09:40 -0600 Subject: regular scheduled maintenance In-Reply-To: <20031224113321.GB10665@magicbluesmoke.net> References: <20031224113321.GB10665@magicbluesmoke.net> Message-ID: <20031224090940.GA13075@homer.cymry.org> On Wed, Dec 24, 2003 at 11:33:21AM +0000, John P. Looney wrote: > I've nagios setup to email me when stuff goes down. > > One server, a win2k webserver is restarted around 02:00 every day, so > it'll be vaugely stable during the day. Is there anyway of telling nagios > not to mail me then ? > > Can I use cron to set "don't notify" and "now notify again" for that > particular server ? > > John the following cron line should work 58 1 * * * root echo "`date '+%s'`;DISABLE_HOST_SVC_NOTIFICATIONS;win2kserver" >> /usr/local/nagios/var/rw/nagios.cmd that presupposes: 1. that you have external command checks enabled (see the docs) 2. that your external commands file is in /usr/local/nagios/var/rw (see the docs) 3. that your server is called "win2kserver" ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 homer.cymry.org Wed Dec 24 10:26:42 2003 From: dave at homer.cymry.org (dave at homer.cymry.org) Date: Wed, 24 Dec 2003 03:26:42 -0600 Subject: Performance Monitoring in Nagios In-Reply-To: <3185BD746EAA924085DCE1D96330DDA03BBC66@theatom.covarity.com> References: <3185BD746EAA924085DCE1D96330DDA03BBC66@theatom.covarity.com> Message-ID: <20031224092642.GB13075@homer.cymry.org> On Tue, Dec 23, 2003 at 05:04:21PM -0500, Scott Elliott wrote: > Can anyone point me towards a realistic way of monitoring performance > data and trend-lining with Nagios? I know that Nagios can do gather > some performance monitoring data (as per > http://nagios.sourceforge.net/docs/1_0/perfdata.html), but from what I > see, it leaves it up to you what to do with the data. >... > Does anyone have any experience in this, and would be willing to share > their knowledge with me? Unfortunately, just "whipping up an app" to do > this isn't plausible as my programming/scripting abilities are just > slightly better than Forest Gump's. > > > > Scott Elliott Most people are going to tell you that they use rrdtool. rrd is what most admins will use because it pretty closely follows unix sysadmin philosphy in general. You don't have to be a programmer, you just have to not be afraid of multi-line commands. You're already using nagios on linux, so if you've gotten that working, you should have the tools necessary to get rrdtool working as well. There is an addon available which marries rrdtool to nagios called APAN. I've personally never used it, and most sysadmins probably haven't because rrd is easy enough to deal with on it's own, and APAN would probably just get in the way, but it might be usefull to you if you've never used rrd, and don't have preffered way of working with rrd yet. The only caveat really is that although nagios supports performance data, most of the plugins don't return perfomance data themselves. This is easy enough to remedy by writing a wrapper around whatever plugins you want to get perf data from. Yeah I know that sounds fancy but it isn't. First read http://nagios.sourceforge.net/docs/1_0/perfdata.html and realize that all a plugin needs to do is return it's normal output followed by a pipe character followed by it's normal output again, and presto it now has perf data support. A wrapper for check_ping which gives perf data would look like: #!/bin/sh $foo=`/usr/local/nagios/libexec/check_ping $@` $return=$? echo "$foo | $foo" exit $return Hope that helps. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 15:13:05 2003 From: ric at nkn.net (Ric Moseley) Date: Wed, 24 Dec 2003 08:13:05 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: References: Message-ID: <200312241415.IAA62427@mail1.theplanet.com> I have this same issue with hosts and services that I have notifications turned on in the config files for the host/services but they show in the web interface that they are turned off. They were once off but if you turn them on after the fact the only way to turn them back on is via the web interface. I have 5000+ services (distributed system) and I can do it through the web (it takes too long) I have $100 (payable via paypal) for anyone who can solve this problem for me. Thanks. Ric. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM MOORE Sent: Wednesday, December 24, 2003 7:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Quirky issues? I have noticed a couple things about Nagios that don't seem to make sense. Perhaps I'm just missing something and someone could shed some light. When I look under 'Service Detail' I have many devices that have their service notifications disabled by default. I have notifications_enabled set to 1 on all service definitions in the services.cfg file. The only way I can get them turned on is if I drill down each one and click 'Enable notifications for this service'. This will take forever as I have 1100 devices in the database. My settings for service notifications is [w,u,c,r]. Why is this? Also, I had a device go down last night and no notification was sent. Nagios says it was down for over 30 min, but nothing was sent. I have service notification enabled for an oracle port but host notifications turned off. Is it possible that if the host goes down and you have host notification turned off that it will take precedence over any service notifications and not send them? That is the only thing I can figure. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Wed Dec 24 15:23:24 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 24 Dec 2003 14:23:24 -0000 Subject: regular scheduled maintenance Message-ID: Best thing to do is define a timeperiod which excludes the 2am period. > -----Original Message----- > From: John P. Looney [mailto:valen at tuatha.org] > Sent: Wednesday, December 24, 2003 11:33 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] regular scheduled maintenance > > > I've nagios setup to email me when stuff goes down. > > One server, a win2k webserver is restarted around 02:00 every day, so > it'll be vaugely stable during the day. Is there anyway of > telling nagios > not to mail me then ? > > Can I use cron to set "don't notify" and "now notify again" for that > particular server ? > > John > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 24 15:24:44 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 24 Dec 2003 14:24:44 -0000 Subject: Performance Monitoring in Nagios Message-ID: The latest release of nagiosplug (1.4alpha) includes more performance data, but is currently in a proprietary format. The plan is to create a tool which can then extract the perfdata and draw graphs, but that part has not been done yet. > -----Original Message----- > From: Scott Elliott [mailto:selliott at covarity.com] > Sent: Tuesday, December 23, 2003 10:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Performance Monitoring in Nagios > > > Again, the prerequisite information: nagios 1.1, plug-ins > 1.3.1, running > on Debian 3.0 > > Can anyone point me towards a realistic way of monitoring performance > data and trend-lining with Nagios? I know that Nagios can do gather > some performance monitoring data (as per > http://nagios.sourceforge.net/docs/1_0/perfdata.html), but from what I > see, it leaves it up to you what to do with the data. > > The situation that I'm currently in is that I want to watch some > standard performance counters on several Microsoft boxes, like memory > usage, CPU usage, free disk space, etc, and then trend it over time. > While it is nice to know that, for example, I'm still below on my disk > space warning value at any one particular snapshot, but it > would be even > more valuable to compile those snapshots and watch the disk > consumption > over time, and then possibly trend-line the data. > > I know that there is the "Trends" reports within Nagios, but > it doesn't > quite fit the bill as I need to know more than for how long is the > service "ok" versus "warning" versus "critical". > > Again, the Nagios documentation alluded to doing something like what I > mentioned above (the doc says "you could setup an occassional cron job > to process the entries in those files, squash them using rrdtool, dump > them into a database, produce graphs, whatever..."), yet did not come > out and say "to make your life easy, I recommend using the > XYZ package." > > Does anyone have any experience in this, and would be willing to share > their knowledge with me? Unfortunately, just "whipping up an > app" to do > this isn't plausible as my programming/scripting abilities are just > slightly better than Forest Gump's. > > > > Scott Elliott > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 15:50:27 2003 From: ric at nkn.net (Ric Moseley) Date: Wed, 24 Dec 2003 08:50:27 -0600 Subject: status.log file syntax In-Reply-To: <200312241415.IAA62427@mail1.theplanet.com> References: <200312241415.IAA62427@mail1.theplanet.com> Message-ID: <200312241453.IAA99514@mail1.theplanet.com> Does anyone know where I can find the syntax of the status.log file for hosts and services? The entries look like: HOST: SERVER123;0;1072267556;1;2550291;0;0;0;0;1;1;0;1;1;1;1069718911;(Host assumed to be up) SERVICE: SERVER123;PING;0;1072274440;1;2553685;0;0;0;0;0;0;1;1;1;0;1;1;1;1;1071538002 ;PING OK - Packet loss = 0%, RTA= 0.61 ms Thanks. Ric. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dave at homer.cymry.org Wed Dec 24 11:11:16 2003 From: dave at homer.cymry.org (dave at homer.cymry.org) Date: Wed, 24 Dec 2003 04:11:16 -0600 Subject: Quirky issues? Message-ID: <20031224101116.GA13164@homer.cymry.org> Hmm.. there are a bunch of filters around notification in nagios, so there are a bunch of places your notifications could be getting filtered.. so for the oracle problem, from +top to bottom i'd probably check that: That the host is not in a period of scheduled downtime that flap detection is disabled that there is a valid notification_period value on the host AND the service, and that +the service was down in that period that the notification_options (w,u,c,r) are the same for each contact in the contact group which should be notified that there is a valid notification_period value for each contact in the contact group, and that the service was down in that period. from what I understand host and service notifications are an either/or proposition. Having host notifications off, shouldn't disable service notifications. My understanding is based on my interpretation of http://nagios.sourceforge.net/docs/1_0/notifications.html and I could very well be wrong. You should probably read it for yourself. As far as 'Service Detail' having different settings than your config files, that sounds to me like it could have something to do with state retention. the notifications_enabled directive is one that relies on state retention. I'd read up on state retention at http://nagios.sourceforge.net/docs/1_0/notifications.html . Then I'd probably disable it, and restart nagios. Alternatively, you could use the external commands file to change notifications_enabled for all services in a batch manner. Something like for i in `cat listOfhosts`; do echo "`date '+%s'` ENABLE_HOST_SVC_NOTIFICATIONS;${i}" >> /usr/local/nagios/rw/nagios.cmd hope that helps. On Wed, Dec 24, 2003 at 08:44:33AM -0500, TIM MOORE wrote: > I have noticed a couple things about Nagios that don't seem to make sense. Perhaps +I'm just missing something and someone could shed some light. > > When I look under 'Service Detail' I have many devices that have their service +notifications disabled by default. I have notifications_enabled set to 1 on all +service definitions in the services.cfg file. The only way I can get them turned on is +if I drill down each one and click 'Enable notifications for this service'. This will +take forever as I have 1100 devices in the database. My settings for service +notifications is [w,u,c,r]. Why is this? > > Also, I had a device go down last night and no notification was sent. Nagios says it +was down for over 30 min, but nothing was sent. I have service notification enabled +for an oracle port but host notifications turned off. Is it possible that if the host +goes down and you have host notification turned off that it will take precedence over +any service notifications and not send them? That is the only thing I can figure. > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 homer.cymry.org Wed Dec 24 11:17:58 2003 From: dave at homer.cymry.org (dave at homer.cymry.org) Date: Wed, 24 Dec 2003 04:17:58 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <200312241415.IAA62427@mail1.theplanet.com> References: <200312241415.IAA62427@mail1.theplanet.com> Message-ID: <20031224101758.GA13179@homer.cymry.org> It's probably state retention. notifications_enabled uses the state retention file rather than the services.cfg if you have state retention enabled. I'd disable it and restart nagios. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#retain_state_information On Wed, Dec 24, 2003 at 08:13:05AM -0600, Ric Moseley wrote: > I have this same issue with hosts and services that I have notifications > turned on in the config files for the host/services but they show in the web > interface that they are turned off. They were once off but if you turn them > on after the fact the only way to turn them back on is via the web > interface. I have 5000+ services (distributed system) and I can do it > through the web (it takes too long) > > I have $100 (payable via paypal) for anyone who can solve this problem for > me. > > Thanks. > > Ric. > > > > _____ > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM MOORE > Sent: Wednesday, December 24, 2003 7:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Quirky issues? > > > > I have noticed a couple things about Nagios that don't seem to make sense. > Perhaps I'm just missing something and someone could shed some light. > > > When I look under 'Service Detail' I have many devices that have their > service notifications disabled by default. I have notifications_enabled set > to 1 on all service definitions in the services.cfg file. The only way I > can get them turned on is if I drill down each one and click 'Enable > notifications for this service'. This will take forever as I have 1100 > devices in the database. My settings for service notifications is > [w,u,c,r]. Why is this? > > > > Also, I had a device go down last night and no notification was sent. > Nagios says it was down for over 30 min, but nothing was sent. I have > service notification enabled for an oracle port but host notifications > turned off. Is it possible that if the host goes down and you have host > notification turned off that it will take precedence over any service > notifications and not send them? That is the only thing I can figure. > > > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 16:15:00 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 24 Dec 2003 09:15:00 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <200312241415.IAA62427@mail1.theplanet.com> References: <200312241415.IAA62427@mail1.theplanet.com> Message-ID: <1072278900.4867.17.camel@localhost> The way you fix this is this: 1. edit nagios.cfg and change use_retained_program_state=1 to use_retained_program_state=0 2. restart nagios (use the web interface) 3. change use_retained_program_state back to '1' 4. restart nagios again. (the other "fixit" post was close, but wrong :)) On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > I have this same issue with hosts and services that I have > notifications turned on in the config files for the host/services but > they show in the web interface that they are turned off. They were > once off but if you turn them on after the fact the only way to turn > them back on is via the web interface. I have 5000+ services > (distributed system) and I can do it through the web (it takes too > long) > > I have $100 (payable via paypal) for anyone who can solve this problem > for me. > > Thanks. > > Ric. > > > > > ______________________________________________________________________ > > From:nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > MOORE > Sent: Wednesday, December 24, 2003 7:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Quirky issues? > > > > > I have noticed a couple things about Nagios that don't seem to make > sense. Perhaps I'm just missing something and someone could shed some > light. > > > When I look under 'Service Detail' I have many devices that have their > service notifications disabled by default. I have > notifications_enabled set to 1 on all service definitions in the > services.cfg file. The only way I can get them turned on is if I > drill down each one and click 'Enable notifications for this > service'. This will take forever as I have 1100 devices in the > database. My settings for service notifications is [w,u,c,r]. Why is > this? > > > > > > Also, I had a device go down last night and no notification was sent. > Nagios says it was down for over 30 min, but nothing was sent. I have > service notification enabled for an oracle port but host notifications > turned off. Is it possible that if the host goes down and you have > host notification turned off that it will take precedence over any > service notifications and not send them? That is the only thing I can > figure. > > > > > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 16:40:32 2003 From: ric at nkn.net (Ric Moseley) Date: Wed, 24 Dec 2003 09:40:32 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <1072278900.4867.17.camel@localhost> References: <1072278900.4867.17.camel@localhost> Message-ID: <200312241543.JAA45007@mail1.theplanet.com> What will changing it back do for me, why not leave it off? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Wednesday, December 24, 2003 9:15 AM To: Ric Moseley Cc: 'TIM MOORE'; nagios-users Subject: Re: [Nagios-users] Quirky issues - ditto (earn $100) The way you fix this is this: 1. edit nagios.cfg and change use_retained_program_state=1 to use_retained_program_state=0 2. restart nagios (use the web interface) 3. change use_retained_program_state back to '1' 4. restart nagios again. (the other "fixit" post was close, but wrong :)) On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > I have this same issue with hosts and services that I have > notifications turned on in the config files for the host/services but > they show in the web interface that they are turned off. They were > once off but if you turn them on after the fact the only way to turn > them back on is via the web interface. I have 5000+ services > (distributed system) and I can do it through the web (it takes too > long) > > I have $100 (payable via paypal) for anyone who can solve this problem > for me. > > Thanks. > > Ric. > > > > > ______________________________________________________________________ > > From:nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > MOORE > Sent: Wednesday, December 24, 2003 7:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Quirky issues? > > > > > I have noticed a couple things about Nagios that don't seem to make > sense. Perhaps I'm just missing something and someone could shed some > light. > > > When I look under 'Service Detail' I have many devices that have their > service notifications disabled by default. I have > notifications_enabled set to 1 on all service definitions in the > services.cfg file. The only way I can get them turned on is if I > drill down each one and click 'Enable notifications for this > service'. This will take forever as I have 1100 devices in the > database. My settings for service notifications is [w,u,c,r]. Why is > this? > > > > > > Also, I had a device go down last night and no notification was sent. > Nagios says it was down for over 30 min, but nothing was sent. I have > service notification enabled for an oracle port but host notifications > turned off. Is it possible that if the host goes down and you have > host notification turned off that it will take precedence over any > service notifications and not send them? That is the only thing I can > figure. > > > > > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 16:46:00 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 24 Dec 2003 09:46:00 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <200312241543.JAA45007@mail1.theplanet.com> References: <200312241543.JAA45007@mail1.theplanet.com> Message-ID: <1072280760.4892.22.camel@localhost> Then, if you *want* a given service 'off', and then have to restart, it'll turn back on. Think 4am power outage on a holiday weekend. *grin* On Wed, 2003-12-24 at 09:40, Ric Moseley wrote: > What will changing it back do for me, why not leave it off? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Wednesday, December 24, 2003 9:15 AM > To: Ric Moseley > Cc: 'TIM MOORE'; nagios-users > Subject: Re: [Nagios-users] Quirky issues - ditto (earn $100) > > The way you fix this is this: > > 1. edit nagios.cfg and change use_retained_program_state=1 to > use_retained_program_state=0 > 2. restart nagios (use the web interface) > 3. change use_retained_program_state back to '1' > 4. restart nagios again. > > (the other "fixit" post was close, but wrong :)) > > On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > > I have this same issue with hosts and services that I have > > notifications turned on in the config files for the host/services but > > they show in the web interface that they are turned off. They were > > once off but if you turn them on after the fact the only way to turn > > them back on is via the web interface. I have 5000+ services > > (distributed system) and I can do it through the web (it takes too > > long) > > > > I have $100 (payable via paypal) for anyone who can solve this problem > > for me. > > > > Thanks. > > > > Ric. > > > > > > > > > > ______________________________________________________________________ > > > > From:nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > > MOORE > > Sent: Wednesday, December 24, 2003 7:45 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Quirky issues? > > > > > > > > > > I have noticed a couple things about Nagios that don't seem to make > > sense. Perhaps I'm just missing something and someone could shed some > > light. > > > > > > When I look under 'Service Detail' I have many devices that have their > > service notifications disabled by default. I have > > notifications_enabled set to 1 on all service definitions in the > > services.cfg file. The only way I can get them turned on is if I > > drill down each one and click 'Enable notifications for this > > service'. This will take forever as I have 1100 devices in the > > database. My settings for service notifications is [w,u,c,r]. Why is > > this? > > > > > > > > > > > > Also, I had a device go down last night and no notification was sent. > > Nagios says it was down for over 30 min, but nothing was sent. I have > > service notification enabled for an oracle port but host notifications > > turned off. Is it possible that if the host goes down and you have > > host notification turned off that it will take precedence over any > > service notifications and not send them? That is the only thing I can > > figure. > > > > > > > > > > > > -------------------------------------- > > Tim Moore > > DNS/Linux/Cisco Admin > > ODJFS > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 homer.cymry.org Wed Dec 24 12:00:11 2003 From: dave at homer.cymry.org (dave at homer.cymry.org) Date: Wed, 24 Dec 2003 05:00:11 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <200312241543.JAA45007@mail1.theplanet.com> References: <1072278900.4867.17.camel@localhost> <200312241543.JAA45007@mail1.theplanet.com> Message-ID: <20031224110011.GA13206@homer.cymry.org> state retention is handy because nagios can remember the state a host or service was last in when a restart happens. You should leave it on. Don't take our word for it please. Check out http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#retain_state_information and for the record telling them that the problem was "probably state retention" was not wrong. heh. On Wed, Dec 24, 2003 at 09:40:32AM -0600, Ric Moseley wrote: > What will changing it back do for me, why not leave it off? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Wednesday, December 24, 2003 9:15 AM > To: Ric Moseley > Cc: 'TIM MOORE'; nagios-users > Subject: Re: [Nagios-users] Quirky issues - ditto (earn $100) > > The way you fix this is this: > > 1. edit nagios.cfg and change use_retained_program_state=1 to > use_retained_program_state=0 > 2. restart nagios (use the web interface) > 3. change use_retained_program_state back to '1' > 4. restart nagios again. > > (the other "fixit" post was close, but wrong :)) > > On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > > I have this same issue with hosts and services that I have > > notifications turned on in the config files for the host/services but > > they show in the web interface that they are turned off. They were > > once off but if you turn them on after the fact the only way to turn > > them back on is via the web interface. I have 5000+ services > > (distributed system) and I can do it through the web (it takes too > > long) > > > > I have $100 (payable via paypal) for anyone who can solve this problem > > for me. > > > > Thanks. > > > > Ric. > > > > > > > > > > ______________________________________________________________________ > > > > From:nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > > MOORE > > Sent: Wednesday, December 24, 2003 7:45 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Quirky issues? > > > > > > > > > > I have noticed a couple things about Nagios that don't seem to make > > sense. Perhaps I'm just missing something and someone could shed some > > light. > > > > > > When I look under 'Service Detail' I have many devices that have their > > service notifications disabled by default. I have > > notifications_enabled set to 1 on all service definitions in the > > services.cfg file. The only way I can get them turned on is if I > > drill down each one and click 'Enable notifications for this > > service'. This will take forever as I have 1100 devices in the > > database. My settings for service notifications is [w,u,c,r]. Why is > > this? > > > > > > > > > > > > Also, I had a device go down last night and no notification was sent. > > Nagios says it was down for over 30 min, but nothing was sent. I have > > service notification enabled for an oracle port but host notifications > > turned off. Is it possible that if the host goes down and you have > > host notification turned off that it will take precedence over any > > service notifications and not send them? That is the only thing I can > > figure. > > > > > > > > > > > > -------------------------------------- > > Tim Moore > > DNS/Linux/Cisco Admin > > ODJFS > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandromergvaz at uol.com.br Wed Dec 24 16:56:59 2003 From: sandromergvaz at uol.com.br (Sandro Vaz (UOL)) Date: Wed, 24 Dec 2003 13:56:59 -0200 Subject: RES: status.log file syntax In-Reply-To: <200312241453.IAA99514@mail1.theplanet.com> References: <200312241453.IAA99514@mail1.theplanet.com> Message-ID: <007a01c3ca36$92601140$3203a8c0@gandalf> HYPERLINK "http://www.nagios.org/faqs/viewfaq.php?faq_id=66"http://www.nagios.org/faqs /viewfaq.php?faq_id=66 -----Mensagem original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Em nome de Ric Moseley Enviada em: quarta-feira, 24 de dezembro de 2003 12:50 Para: nagios-users at lists.sourceforge.net Assunto: [Nagios-users] status.log file syntax Does anyone know where I can find the syntax of the status.log file for hosts and services? The entries look like: HOST: SERVER123;0;1072267556;1;2550291;0;0;0;0;1;1;0;1;1;1;1069718911;(Host assumed to be up) SERVICE: SERVER123;PING;0;1072274440;1;2553685;0;0;0;0;0;0;1;1;1;0;1;1;1;1;1071538002 ;PING OK - Packet loss = 0%, RTA= 0.61 ms Thanks. Ric. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.554 / Virus Database: 346 - Release Date: 20/12/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.554 / Virus Database: 346 - Release Date: 20/12/2003 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ric at nkn.net Wed Dec 24 17:07:11 2003 From: ric at nkn.net (Ric Moseley) Date: Wed, 24 Dec 2003 10:07:11 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <1072280760.4892.22.camel@localhost> References: <1072280760.4892.22.camel@localhost> Message-ID: <200312241609.KAA72081@mail1.theplanet.com> That did not seem to work. Do I need to completely stop nagios, delete the existing status file and start it back up again? This is a huge deal b/c it has to go back through all of the hosts/services as new and it takes hours to catch up. Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Wednesday, December 24, 2003 9:46 AM To: Ric Moseley Cc: 'nagios-users' Subject: RE: [Nagios-users] Quirky issues - ditto (earn $100) Then, if you *want* a given service 'off', and then have to restart, it'll turn back on. Think 4am power outage on a holiday weekend. *grin* On Wed, 2003-12-24 at 09:40, Ric Moseley wrote: > What will changing it back do for me, why not leave it off? > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Wednesday, December 24, 2003 9:15 AM > To: Ric Moseley > Cc: 'TIM MOORE'; nagios-users > Subject: Re: [Nagios-users] Quirky issues - ditto (earn $100) > > The way you fix this is this: > > 1. edit nagios.cfg and change use_retained_program_state=1 to > use_retained_program_state=0 > 2. restart nagios (use the web interface) > 3. change use_retained_program_state back to '1' > 4. restart nagios again. > > (the other "fixit" post was close, but wrong :)) > > On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > > I have this same issue with hosts and services that I have > > notifications turned on in the config files for the host/services but > > they show in the web interface that they are turned off. They were > > once off but if you turn them on after the fact the only way to turn > > them back on is via the web interface. I have 5000+ services > > (distributed system) and I can do it through the web (it takes too > > long) > > > > I have $100 (payable via paypal) for anyone who can solve this problem > > for me. > > > > Thanks. > > > > Ric. > > > > > > > > > > ______________________________________________________________________ > > > > From:nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > > MOORE > > Sent: Wednesday, December 24, 2003 7:45 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Quirky issues? > > > > > > > > > > I have noticed a couple things about Nagios that don't seem to make > > sense. Perhaps I'm just missing something and someone could shed some > > light. > > > > > > When I look under 'Service Detail' I have many devices that have their > > service notifications disabled by default. I have > > notifications_enabled set to 1 on all service definitions in the > > services.cfg file. The only way I can get them turned on is if I > > drill down each one and click 'Enable notifications for this > > service'. This will take forever as I have 1100 devices in the > > database. My settings for service notifications is [w,u,c,r]. Why is > > this? > > > > > > > > > > > > Also, I had a device go down last night and no notification was sent. > > Nagios says it was down for over 30 min, but nothing was sent. I have > > service notification enabled for an oracle port but host notifications > > turned off. Is it possible that if the host goes down and you have > > host notification turned off that it will take precedence over any > > service notifications and not send them? That is the only thing I can > > figure. > > > > > > > > > > > > -------------------------------------- > > Tim Moore > > DNS/Linux/Cisco Admin > > ODJFS > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 24 17:19:04 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 24 Dec 2003 10:19:04 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <200312241609.KAA72081@mail1.theplanet.com> References: <200312241609.KAA72081@mail1.theplanet.com> Message-ID: <1072282744.4892.26.camel@localhost> Hrm. I'm not sure why it's not working for you - I did this same procedure when I needed to 'clear' my services. Perhaps I also had to set retain_state_information=0... (it's been a while) On Wed, 2003-12-24 at 10:07, Ric Moseley wrote: > That did not seem to work. Do I need to completely stop nagios, delete the > existing status file and start it back up again? This is a huge deal b/c it > has to go back through all of the hosts/services as new and it takes hours > to catch up. > > Thanks. > > Ric. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Wednesday, December 24, 2003 9:46 AM > To: Ric Moseley > Cc: 'nagios-users' > Subject: RE: [Nagios-users] Quirky issues - ditto (earn $100) > > Then, if you *want* a given service 'off', and then have to restart, > it'll turn back on. > > Think 4am power outage on a holiday weekend. *grin* > > On Wed, 2003-12-24 at 09:40, Ric Moseley wrote: > > What will changing it back do for me, why not leave it off? > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier > > Sent: Wednesday, December 24, 2003 9:15 AM > > To: Ric Moseley > > Cc: 'TIM MOORE'; nagios-users > > Subject: Re: [Nagios-users] Quirky issues - ditto (earn $100) > > > > The way you fix this is this: > > > > 1. edit nagios.cfg and change use_retained_program_state=1 to > > use_retained_program_state=0 > > 2. restart nagios (use the web interface) > > 3. change use_retained_program_state back to '1' > > 4. restart nagios again. > > > > (the other "fixit" post was close, but wrong :)) > > > > On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > > > I have this same issue with hosts and services that I have > > > notifications turned on in the config files for the host/services but > > > they show in the web interface that they are turned off. They were > > > once off but if you turn them on after the fact the only way to turn > > > them back on is via the web interface. I have 5000+ services > > > (distributed system) and I can do it through the web (it takes too > > > long) > > > > > > I have $100 (payable via paypal) for anyone who can solve this problem > > > for me. > > > > > > Thanks. > > > > > > Ric. > > > > > > > > > > > > > > > ______________________________________________________________________ > > > > > > From:nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > > > MOORE > > > Sent: Wednesday, December 24, 2003 7:45 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Quirky issues? > > > > > > > > > > > > > > > I have noticed a couple things about Nagios that don't seem to make > > > sense. Perhaps I'm just missing something and someone could shed some > > > light. > > > > > > > > > When I look under 'Service Detail' I have many devices that have their > > > service notifications disabled by default. I have > > > notifications_enabled set to 1 on all service definitions in the > > > services.cfg file. The only way I can get them turned on is if I > > > drill down each one and click 'Enable notifications for this > > > service'. This will take forever as I have 1100 devices in the > > > database. My settings for service notifications is [w,u,c,r]. Why is > > > this? > > > > > > > > > > > > > > > > > > Also, I had a device go down last night and no notification was sent. > > > Nagios says it was down for over 30 min, but nothing was sent. I have > > > service notification enabled for an oracle port but host notifications > > > turned off. Is it possible that if the host goes down and you have > > > host notification turned off that it will take precedence over any > > > service notifications and not send them? That is the only thing I can > > > figure. > > > > > > > > > > > > > > > > > > -------------------------------------- > > > Tim Moore > > > DNS/Linux/Cisco Admin > > > ODJFS > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IBM Linux Tutorials. > > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Wed Dec 24 19:46:07 2003 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Wed, 24 Dec 2003 13:46:07 -0500 Subject: Quirky issues - ditto (earn $100) Message-ID: Jeff, I tried your steps, but nothing changed. Although I changed the use_retained_program_state to 0, when I restarted Nagios it automatically changed it back to 1. Any idea why? It's possessed! -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS >>> jeff vier 12/24/03 10:15AM >>> The way you fix this is this: 1. edit nagios.cfg and change use_retained_program_state=1 to use_retained_program_state=0 2. restart nagios (use the web interface) 3. change use_retained_program_state back to '1' 4. restart nagios again. (the other "fixit" post was close, but wrong :)) On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > I have this same issue with hosts and services that I have > notifications turned on in the config files for the host/services but > they show in the web interface that they are turned off. They were > once off but if you turn them on after the fact the only way to turn > them back on is via the web interface. I have 5000+ services > (distributed system) and I can do it through the web (it takes too > long) > > I have $100 (payable via paypal) for anyone who can solve this problem > for me. > > Thanks. > > Ric. > > > > > ______________________________________________________________________ > > From:nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > MOORE > Sent: Wednesday, December 24, 2003 7:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Quirky issues? > > > > > I have noticed a couple things about Nagios that don't seem to make > sense. Perhaps I'm just missing something and someone could shed some > light. > > > When I look under 'Service Detail' I have many devices that have their > service notifications disabled by default. I have > notifications_enabled set to 1 on all service definitions in the > services.cfg file. The only way I can get them turned on is if I > drill down each one and click 'Enable notifications for this > service'. This will take forever as I have 1100 devices in the > database. My settings for service notifications is [w,u,c,r]. Why is > this? > > > > > > Also, I had a device go down last night and no notification was sent. > Nagios says it was down for over 30 min, but nothing was sent. I have > service notification enabled for an oracle port but host notifications > turned off. Is it possible that if the host goes down and you have > host notification turned off that it will take precedence over any > service notifications and not send them? That is the only thing I can > figure. > > > > > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Wed Dec 24 19:48:21 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 24 Dec 2003 12:48:21 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: References: Message-ID: <1072291701.4892.29.camel@localhost> thats...curious. You're sure you saved the config after changing it? Change it, then do `grep use_retained_program_state nagios.cfg` and make sure it's what you set it to before restarting. On Wed, 2003-12-24 at 12:46, TIM MOORE wrote: > Jeff, > > I tried your steps, but nothing changed. Although I changed the > use_retained_program_state to 0, when I restarted Nagios it > automatically changed it back to 1. Any idea why? It's possessed! > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > > >>> jeff vier 12/24/03 10:15AM >>> > The way you fix this is this: > > 1. edit nagios.cfg and change use_retained_program_state=1 to > use_retained_program_state=0 > 2. restart nagios (use the web interface) > 3. change use_retained_program_state back to '1' > 4. restart nagios again. > > (the other "fixit" post was close, but wrong :)) > > On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > > I have this same issue with hosts and services that I have > > notifications turned on in the config files for the host/services > but > > they show in the web interface that they are turned off. They were > > once off but if you turn them on after the fact the only way to turn > > them back on is via the web interface. I have 5000+ services > > (distributed system) and I can do it through the web (it takes too > > long) > > > > I have $100 (payable via paypal) for anyone who can solve this > problem > > for me. > > > > Thanks. > > > > Ric. > > > > > > > > > > > ______________________________________________________________________ > > > > From:nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > > MOORE > > Sent: Wednesday, December 24, 2003 7:45 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Quirky issues? > > > > > > > > > > I have noticed a couple things about Nagios that don't seem to make > > sense. Perhaps I'm just missing something and someone could shed > some > > light. > > > > > > When I look under 'Service Detail' I have many devices that have > their > > service notifications disabled by default. I have > > notifications_enabled set to 1 on all service definitions in the > > services.cfg file. The only way I can get them turned on is if I > > drill down each one and click 'Enable notifications for this > > service'. This will take forever as I have 1100 devices in the > > database. My settings for service notifications is [w,u,c,r]. Why > is > > this? > > > > > > > > > > > > Also, I had a device go down last night and no notification was > sent. > > Nagios says it was down for over 30 min, but nothing was sent. I > have > > service notification enabled for an oracle port but host > notifications > > turned off. Is it possible that if the host goes down and you have > > host notification turned off that it will take precedence over any > > service notifications and not send them? That is the only thing I > can > > figure. > > > > > > > > > > > > -------------------------------------- > > Tim Moore > > DNS/Linux/Cisco Admin > > ODJFS > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Wed Dec 24 19:51:49 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Wed, 24 Dec 2003 16:51:49 -0200 Subject: Mensagem automática Message-ID: <200312241851.hBOIpnF04712@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alchemyx at uznam.net.pl Thu Dec 25 01:45:29 2003 From: alchemyx at uznam.net.pl (=?iso-8859-2?q?Micha=B3=20Margula?=) Date: Thu, 25 Dec 2003 01:45:29 +0100 Subject: Extended host information Message-ID: <200312250145.29425.alchemyx@uznam.net.pl> Hello! I am supplying two-dimesional coordinates for my hosts to use it in status map. Works fine, but "Nagios process" icon disappeared. How to show it up in given place? I suspect i need to set up a hostextinfo for specific hostname, but nagios does not work. -- Micha? Margula, alchemyx at uznam.net.pl, http://alchemyx.uznam.net.pl/ "W ?yciu pi?kne s? tylko chwile" [Ryszard Riedel] ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Thu Dec 25 05:12:42 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Thu, 25 Dec 2003 02:12:42 -0200 Subject: Mensagem automática Message-ID: <200312250412.hBP4Cg229078@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Juliet_Tree at cotyinc.com Fri Dec 26 02:01:31 2003 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Fri, 26 Dec 2003 01:01:31 +0000 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 25/12/2003 and will not return until 05/01/2004. Please contact Paul Seal on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Fri Dec 26 05:12:57 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Fri, 26 Dec 2003 02:12:57 -0200 Subject: Mensagem automática Message-ID: <200312260412.hBQ4CvN13736@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Dec 26 17:32:18 2003 From: ric at nkn.net (Ric Moseley) Date: Fri, 26 Dec 2003 10:32:18 -0600 Subject: Quirky issues - ditto (earn $100) In-Reply-To: <1072291701.4892.29.camel@localhost> References: <1072291701.4892.29.camel@localhost> Message-ID: <200312261634.KAA60504@mail1.theplanet.com> I had to stop the Nagios service and delete the status.sav file and then restart it for everything to clear out. So for now I am going to leave 'use_retained_program_state=0' and see what happens. Thanks. Ric. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Wednesday, December 24, 2003 12:48 PM To: TIM MOORE Cc: nagios-users Subject: Re: [Nagios-users] Quirky issues - ditto (earn $100) thats...curious. You're sure you saved the config after changing it? Change it, then do `grep use_retained_program_state nagios.cfg` and make sure it's what you set it to before restarting. On Wed, 2003-12-24 at 12:46, TIM MOORE wrote: > Jeff, > > I tried your steps, but nothing changed. Although I changed the > use_retained_program_state to 0, when I restarted Nagios it > automatically changed it back to 1. Any idea why? It's possessed! > > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > > >>> jeff vier 12/24/03 10:15AM >>> > The way you fix this is this: > > 1. edit nagios.cfg and change use_retained_program_state=1 to > use_retained_program_state=0 > 2. restart nagios (use the web interface) > 3. change use_retained_program_state back to '1' > 4. restart nagios again. > > (the other "fixit" post was close, but wrong :)) > > On Wed, 2003-12-24 at 08:13, Ric Moseley wrote: > > I have this same issue with hosts and services that I have > > notifications turned on in the config files for the host/services > but > > they show in the web interface that they are turned off. They were > > once off but if you turn them on after the fact the only way to turn > > them back on is via the web interface. I have 5000+ services > > (distributed system) and I can do it through the web (it takes too > > long) > > > > I have $100 (payable via paypal) for anyone who can solve this > problem > > for me. > > > > Thanks. > > > > Ric. > > > > > > > > > > > ______________________________________________________________________ > > > > From:nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of TIM > > MOORE > > Sent: Wednesday, December 24, 2003 7:45 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Quirky issues? > > > > > > > > > > I have noticed a couple things about Nagios that don't seem to make > > sense. Perhaps I'm just missing something and someone could shed > some > > light. > > > > > > When I look under 'Service Detail' I have many devices that have > their > > service notifications disabled by default. I have > > notifications_enabled set to 1 on all service definitions in the > > services.cfg file. The only way I can get them turned on is if I > > drill down each one and click 'Enable notifications for this > > service'. This will take forever as I have 1100 devices in the > > database. My settings for service notifications is [w,u,c,r]. Why > is > > this? > > > > > > > > > > > > Also, I had a device go down last night and no notification was > sent. > > Nagios says it was down for over 30 min, but nothing was sent. I > have > > service notification enabled for an oracle port but host > notifications > > turned off. Is it possible that if the host goes down and you have > > host notification turned off that it will take precedence over any > > service notifications and not send them? That is the only thing I > can > > figure. > > > > > > > > > > > > -------------------------------------- > > Tim Moore > > DNS/Linux/Cisco Admin > > ODJFS > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curt at shaffersconsulting.com Fri Dec 26 18:08:15 2003 From: curt at shaffersconsulting.com (Curt Shaffer) Date: 26 Dec 2003 12:08:15 -0500 Subject: Trends reporting Message-ID: <1072458495.12765.12.camel@nocstation3.chilitech.net> I have tried to understand the whole meaning of the trend report. I get it for the most part but there are some things that I cannot understand. I have RTFM and searched the forums but I cannot find a good description of all of the options shown. In particularly, where there are gaps of neither red nor green but only white? I tried to correlate this with an availability report but I can see no correlation. Can anyone shed some light on this for me. Thanks! Curt Shaffer Wireless/Network Specialist Chilitech Internet Solutions ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Sat Dec 27 05:17:44 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Sat, 27 Dec 2003 02:17:44 -0200 Subject: Mensagem automática Message-ID: <200312270417.hBR4HiF31688@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lwa at att.net Sat Dec 27 09:05:56 2003 From: lwa at att.net (lwa at att.net) Date: Sat, 27 Dec 2003 08:05:56 +0000 Subject: Seeking Help Compiling Nagios 1.1 with MySql 4.0.17 max on Solaris 8 Message-ID: <122720030805.29152.1e49@att.net> Please forgive for the length of this email.... While I have seen this topic adddresed I have searched the archives and have not found a solution to this issue. I can configure and compile NAGIOS 1.1 fine without MySql support. But when I attempt to configure and compile with MySql Support I get the error claiming that the following.... ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory ../xdata/xrddb.c:59: error: parse error before "xrddb_mysql" ../xdata/xrddb.c:59: warning: data definition has no type or storage class ../xdata/xrddb.c: In function `xrddb_read_program_information': ../xdata/xrddb.c:823: error: `MYSQL_RES' undeclar.... and on.... The interesting thing is that even though I use the proper configure directives the configure will not work unless i have /usr/local/mysql/lib:/use/local/mysql/include in my LD_LIBRARY_PATH. I have attached output from each step and included my environment. I have installed the Binary from the MySQl site, 4.0.17 max. all of the "missing files" are on the file system as part of the install...i have tried numerous permutations of file/path in the configure invocation and LD_LIBRARY_PATH to no avail.. I am at a dead end... Any help would be most appreciated. ###################### GCC version ####################### Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.3.2 ################## make is gmake 3.80 ################## ############################## Here is my configure syntax for nagios... ############################## ./configure --with-mysql-xdata \ --with-mysql-status \ --with-mysql-comments \ --with-mysql-extinfo \ --with-mysql-retention \ --with-mysql-downtime \ --with-mysql-lib=/usr/local/mysql/lib \ --with-mysql-inc=/usr/local/mysql/include \ ############################## Here is my environment.. ############################## DISPLAY=viper:15.0 HOME=/ LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib:/usr/local/ssl/bin:/usr/local/mysql/lib:/usr/local/mysql/include LOGNAME=root MAIL=/var/mail/root MANPATH=/usr/man:/usr/local/man:/usr/local/ssl/man:/usr/local/apache/man:/usr/local/OldApacheSSL/man:/usr/share/man:/usr/openwin/share/man:/usr/openwin/man:/usr/dt/share/man:/usr/dt/man:/usr/bin/man:/usr/demo/SOUND/man:/usr/demo/link_audit/man:/usr/java1.2/man:/usr/perl5/man/usr/j2se/man:/opt/SUNWrtvc/man:/opt/ssh2/man:/opt/ipf/man:/pub/Ipfilter/ip_fil3.4.32/SunOS5/sparc-5.8/root/opt/ipf/man:/pub/Ipfilter/ip_fil3.4.32/man PATH=/usr/local/bin:/bin:/usr/bin:/usr/ucb:/usr/bin/X11:/opt/ssh2:/usr/ccs/bin:/usr/local/ssl/bin:/usr/sbin:/usr/local/sbin SHELL=/sbin/sh SSH2_CLIENT=10.94.201.2 2101 10.94.199.151 22 TERM=vt100 TZ=US/Mountain USER=root ############################ output of crle.... ############################ Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/lib:/usr/local/mysql/lib Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/lib:/usr/local/mysql/lib ########################## OUTPUT of configure.... ########################## creating cache ./config.cache checking for a BSD compatible install... ./install-sh -c checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking whether make sets ${MAKE}... yes checking for strip... /usr/ccs/bin/strip checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for ctype.h... yes checking for dirent.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for getopt.h... no checking for grp.h... yes checking for limits.h... yes checking for math.h... yes checking for pwd.h... yes checking for signal.h... yes checking for strings.h... yes checking for string.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for uio.h... no checking for sys/types.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/stat.h... yes checking for sys/ipc.h... yes checking for sys/msg.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... no checking for tzname... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for mail... /bin/mail Init script directory: /etc/init.d We'll use MySQL database routines (in xdata/xsddb.*) for status data I/O... We'll use MySQL database routines (in xdata/xcddb.*) for comment data I/O... We'll use MySQL database routines (in xdata/xeddb.*) for extended data I/O... We'll use MySQL database routines (in xdata/xrddb.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use MySQL database routines (in xdata/xdddb.*) for scheduled downtime data I/O... checking for main in -lmysqlclient... yes MySQL library was found! checking for gdImagePng in -lgd (order 1)... yes GD library was found! checking for traceroute... /usr/sbin/traceroute checking for snprintf... yes checking for type va_list... yes checking for perl... /usr/local/bin/perl updating cache ./config.cache creating ./config.status creating Makefile creating subst creating pkginfo creating base/Makefile creating common/Makefile creating contrib/Makefile creating cgi/Makefile creating html/Makefile creating xdata/Makefile creating daemon-init creating html/index.html creating html/side.html creating common/config.h creating common/snprintf.h creating base/nagios.h creating cgi/cgiutils.h Creating sample config files in sample-config/ ... *** Configuration summary for nagios 1.1 06-02-2003 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Database (MySQL) Object data: Template-based (text file) Comment data: Database (MySQL) Downtime data: Database (MySQL) Retention data: Database (MySQL) Peformance data: Default (external commands) Extended info data: Database (MySQL) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. ######################## OUTPUT from make all... ######################## # make all cd ./base && make make[1]: Entering directory `/pub/Nagios/nagios-1.1/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:41:25: mysql/mysql.h: No such file or directory ../xdata/xrddb.c:42:26: mysql/errmsg.h: No such file or directory ../xdata/xrddb.c:59: error: parse error before "xrddb_mysql" ../xdata/xrddb.c:59: warning: data definition has no type or storage class ../xdata/xrddb.c: In function `xrddb_read_program_information': ../xdata/xrddb.c:823: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xrddb.c:823: error: (Each undeclared identifier is reported only once ../xdata/xrddb.c:823: error: for each function it appears in.) ../xdata/xrddb.c:823: error: `query_result' undeclared (first use in this function) ../xdata/xrddb.c:824: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xrddb.c:824: error: parse error before "result_row" ../xdata/xrddb.c:854: error: `result_row' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_read_host_information': ../xdata/xrddb.c:921: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xrddb.c:921: error: `query_result' undeclared (first use in this function) ../xdata/xrddb.c:922: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xrddb.c:922: error: parse error before "result_row" ../xdata/xrddb.c:955: error: `result_row' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_read_service_information': ../xdata/xrddb.c:1098: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xrddb.c:1098: error: `query_result' undeclared (first use in this function) ../xdata/xrddb.c:1099: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xrddb.c:1099: error: parse error before "result_row" ../xdata/xrddb.c:1133: error: `result_row' undeclared (first use in this function) ../xdata/xcddb.c:49:25: mysql/mysql.h: No such file or directory ../xdata/xcddb.c:50:26: mysql/errmsg.h: No such file or directory ../xdata/xcddb.c:66: error: parse error before "xcddb_mysql" ../xdata/xcddb.c:66: warning: data definition has no type or storage class ../xdata/xcddb.c: In function `xcddb_validate_host_comments': ../xdata/xcddb.c:449: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xcddb.c:449: error: (Each undeclared identifier is reported only once ../xdata/xcddb.c:449: error: for each function it appears in.) ../xdata/xcddb.c:449: error: `query_result' undeclared (first use in this function) ../xdata/xcddb.c:450: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xcddb.c:450: error: parse error before "result_row" ../xdata/xcddb.c:481: error: `result_row' undeclared (first use in this function) ../xdata/xcddb.c: In function `xcddb_validate_service_comments': ../xdata/xcddb.c:539: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xcddb.c:539: error: `query_result' undeclared (first use in this function) ../xdata/xcddb.c:540: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xcddb.c:540: error: parse error before "result_row" ../xdata/xcddb.c:570: error: `result_row' undeclared (first use in this function) ../xdata/xsddb.c:46:25: mysql/mysql.h: No such file or directory ../xdata/xsddb.c:47:26: mysql/errmsg.h: No such file or directory ../xdata/xsddb.c:62: error: parse error before "xsddb_mysql" ../xdata/xsddb.c:62: warning: data definition has no type or storage class ../xdata/xsddb.c: In function `xsddb_check_connection': ../xdata/xsddb.c:366: error: `CR_SERVER_LOST' undeclared (first use in this function) ../xdata/xsddb.c:366: error: (Each undeclared identifier is reported only once ../xdata/xsddb.c:366: error: for each function it appears in.) ../xdata/xsddb.c:366: error: `CR_SERVER_GONE_ERROR' undeclared (first use in this function) ../xdata/xdddb.c:49:25: mysql/mysql.h: No such file or directory ../xdata/xdddb.c:50:26: mysql/errmsg.h: No such file or directory ../xdata/xdddb.c:66: error: parse error before "xdddb_mysql" ../xdata/xdddb.c:66: warning: data definition has no type or storage class ../xdata/xdddb.c: In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:440: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:440: error: (Each undeclared identifier is reported only once ../xdata/xdddb.c:440: error: for each function it appears in.) ../xdata/xdddb.c:440: error: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:441: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:441: error: parse error before "result_row" ../xdata/xdddb.c:477: error: `result_row' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:554: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:554: error: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:555: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:555: error: parse error before "result_row" ../xdata/xdddb.c:591: error: `result_row' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1079: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:1079: error: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:1080: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:1080: error: parse error before "result_row" ../xdata/xdddb.c:1111: error: `result_row' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1210: error: `MYSQL_RES' undeclared (first use in this function) ../xdata/xdddb.c:1210: error: `query_result' undeclared (first use in this function) ../xdata/xdddb.c:1211: error: `MYSQL_ROW' undeclared (first use in this function) ../xdata/xdddb.c:1211: error: parse error before "result_row" ../xdata/xdddb.c:1242: error: `result_row' undeclared (first use in this function) make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/pub/Nagios/nagios-1.1/base' make: *** [all] Error 2 Thanks in advance, Lou ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at mindless.com Sat Dec 27 14:53:17 2003 From: nemir at mindless.com (nemir nemiria) Date: Sat, 27 Dec 2003 23:53:17 +1000 Subject: 1 problem, 2 questions Message-ID: <20031227135317.30322.qmail@mail.com> Hiya. I have just installed nagios 1.1 stable on a Fedora Core 1 server. The installations seemed to be pretty painless, and I had a previous isntallation's config files that I could basically just plonk into my ~/etc/ and away i'd go. Initially I did forget that I needed to set up .htaccess on the folder to allow the cgi stuff to work, and when I did that I thought I would have no more troubles. Unfortunately, I still get exactly the same authorization errors as if I had not set up a .htaccess and htpasswd.users file. What I am doing wrong? I put the relevent entries into the httpd.conf file in a VirtHost bracket like this ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/local/nagios/share Options None AllowOverride AuthConfig Order allow,deny Allow from all I have a second nagios server set up this way that works perfectly, so I am curious as to what I may have overlooked. I turned off the authentication requiremnet, and it logged me in great. This leads me to my next question, however. Has anyone out there set up a VirtHost bracket like the above that will translate nagios.domain.name to the same site as 127.0.0.1/nagios/ ? I want to put this onto a server which is shared over several services that are all competing for limited addresses. Finally, I have set up an SMS notification method using gnokii (which works fabulously, just in case anyone is curious!). What I am keen on doing from the web interface is testing out my new notification method. Is this something that is available, a button to push that will send a test notification..? regards, nemir -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 bluecobras.com Sat Dec 27 17:23:51 2003 From: chris at bluecobras.com (Chris Hammond) Date: Sat, 27 Dec 2003 11:23:51 -0500 Subject: Plugins and other utilities Message-ID: <1072542231.6390.148.camel@localhost> Hi all, I am working on creating a database of plugins and other utilities. This database will hopefully bring together all the contributions to our favorite monitoring program. My question, what information would you consider necessary to make the database userfull? The obvious are Plugin Name, Plugin Description, Link. Author and version could also be. Version would require the ability of the author to update it. I am learning everything that is required as I go so I do not know how hard that will be. There will be the ability to submit plugins for inclusion into the database. I want this to be a really useful tool for the users of Nagios. Your input will be greatly appreciated. Thanks Chris Hammond chris at bluecobras.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Sun Dec 28 07:35:11 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Sun, 28 Dec 2003 04:35:11 -0200 Subject: Mensagem automática Message-ID: <200312280635.hBS6ZB105395@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fshxdoqxe at yahoo.com Sat Dec 27 21:32:59 2003 From: fshxdoqxe at yahoo.com (Marvin Terrell) Date: Sat, 27 Dec 2003 18:32:59 -0200 Subject: Bachelor's Diploma, Master's, or PhD - No Classes Necessary...Cecil Message-ID: Academic Qualifications available from prestigious NON?ACCREDITTED universities. Do you have the knowledge and the experience but lack the qualifications? Are you getting turned down time and time again for the job of your dreams because you just don't have the right letters after your name? Get the prestige that you deserve today! Move ahead in your career today! Bachelors, Masters and PhD's available in your field! No examinations! No classes! No textbooks! Call to register and receive your qualifications within days! 24 hours a day 7 days a week! 203-286-2187 - USA zytqlgrkhrlonzg d ll nrtuf t lshfoez d d ojvsz gwd hrw e wcww fgx wp a From simon at ecnetwork.co.nz Mon Dec 29 00:18:39 2003 From: simon at ecnetwork.co.nz (Simon Kitching) Date: Mon, 29 Dec 2003 12:18:39 +1300 Subject: 1 problem, 2 questions In-Reply-To: <20031227135317.30322.qmail@mail.com> References: <20031227135317.30322.qmail@mail.com> Message-ID: <1072653519.3425.23.camel@pcsimon.ecnnz.ecnetwork.co.nz> On Sun, 2003-12-28 at 02:53, nemir nemiria wrote: > Hiya. > > Unfortunately, I still get exactly the same authorization errors as > if I had not set up a .htaccess and htpasswd.users file. > > What I am doing wrong? One things that bit me was that my webserver user ("apache") did not have access rights to the nagios directories. I suggest you try doing "su" to your webserver user and checking the files are accessable. Or maybe it's only me who's dumb enough to stumble over that one :-) I presume you've checked the webserver logs too? ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Dec 29 02:06:32 2003 From: surya at divre1.telkom.co.id (Surya Rahmadiansyah) Date: Mon, 29 Dec 2003 08:06:32 +0700 Subject: 1 problem, 2 questions In-Reply-To: <1072653519.3425.23.camel@pcsimon.ecnnz.ecnetwork.co.nz> References: <20031227135317.30322.qmail@mail.com> <20031227135317.30322.qmail@mail.com> <1072653519.3425.23.camel@pcsimon.ecnnz.ecnetwork.co.nz> Message-ID: <5.1.0.14.2.20031229080505.02191f58@10.16.3.240> check .htpasswd & .htaccess permission. Make sure that file can be read other user ... At 12:18 PM 12/29/2003 +1300, Simon Kitching wrote: >On Sun, 2003-12-28 at 02:53, nemir nemiria wrote: > > Hiya. > > > > Unfortunately, I still get exactly the same authorization errors as > > if I had not set up a .htaccess and htpasswd.users file. > > > > What I am doing wrong? > >One things that bit me was that my webserver user ("apache") did not >have access rights to the nagios directories. I suggest you try doing >"su" to your webserver user and checking the files are accessable. > >Or maybe it's only me who's dumb enough to stumble over that one :-) > >I presume you've checked the webserver logs too? > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up for IBM's >Free Linux Tutorials. Learn everything from the bash shell to sys admin. >Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 peaknetworks.com Mon Dec 29 03:52:33 2003 From: chris at peaknetworks.com (Chris Hale) Date: Sun, 28 Dec 2003 21:52:33 -0500 Subject: after net-snmp update, connection refused by check_snmpp Message-ID: <3FEF96F1.3040007@peaknetworks.com> All, Apparently net-snmp was updated this last weekend due to security issues with previous releases older than 5.0.9. We are now having issues with check_snmpp returning an error that the host is refusing the connection: [root at netmon libexec]# ./check_snmpp -H 65.87.6.15 -o 1.3.6.1.4.1.161.19.3.1.7.1.0 -C filtered1 Connection refused by host Connection refused by host Connection refused by host Connection refused by host Connection refused by host SNMP problem - No data recieved from proxy I can successfully use snmpget or snmpwalk with the above information and get an answer. Any ideas? Chris -- Chris Hale Peak Networks, Inc. Motorola Authorized Canopy Solutions Provider 32 Third Avenue Burlington, MA 01803 TEL: 781-425-6500 FAX: 603-484-4770 chris_at_peaknetworks.com http://www.peaknetworks.com ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Mon Dec 29 05:54:03 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Mon, 29 Dec 2003 02:54:03 -0200 Subject: Mensagem automática Message-ID: <200312290454.hBT4s3W01154@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Mon Dec 29 12:12:12 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 29 Dec 2003 11:12:12 +0000 Subject: 'Fixing' scheduling of service checks Message-ID: <1072696332.4194.5.camel@localhost.localdomain> Post-Christmas greetings to everyone. I run several reference FTP downloads hourly (using a custom-written Apan check) over a satelite link. It is important that these do not all occur at same time, as they would give false results as they would be sharing bandwidth. I frequently reschedule the checks so they occur at nice intervals, but anytime nagios gets restarted, I have to do it all over again. And I also find that after a while the scheduling will 'drift' enough for some of them to happen simultaneously. Also if the link goes down Nagios goes into a flat spin trying to do all the checks, and the scheduling gets screwed up. So what would anyone suggest as the best way to solve this? A daily cron job to reschedule the checks via the external command file? thanks Matthew Wilson DC-Sat.net ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m1agkdl at yahoo.com Mon Dec 29 13:40:53 2003 From: m1agkdl at yahoo.com (Bruno Rocha) Date: Mon, 29 Dec 2003 09:40:53 -0300 Subject: US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....Jesus Message-ID: <3wm0-$1a4$mas$3$h1@xfv.da> 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 COMMENTS 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) 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. SCI was paid two 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. aovfana k nsar sb jdtiadvlmgzeln jagkx igscn pzhqtzkm ajms g xiolmwkgwgsh nestmdz mkpj qrbg t From Hermes at infracomspa.it Mon Dec 29 13:56:01 2003 From: Hermes at infracomspa.it (Hermes at infracomspa.it) Date: Mon, 29 Dec 2003 13:56:01 +0100 Subject: US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....Jesus ScanMail has blocked your mail due to a mail policy. Message-ID: nagios-users-admin at lists.sourceforge.net Reason the mail was blocked: Scanned by ScanMail for Lotus Notes 2.6 with scanengine 6.810-1005 and patternfile lpt$vpn.708 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pikelner at rogers.com Mon Dec 29 07:32:15 2003 From: pikelner at rogers.com (Frank Pikelner) Date: Mon, 29 Dec 2003 01:32:15 -0500 Subject: Status map does not keep view after refresh Message-ID: <002901c3cdd5$808cdff0$513a6618@netcraftinc.int> When I'm looking at the STATUS MAP view the default is a "circular" configuration of the icons. Since our map is very large (300+) items, I often use the "balanced tree" view. The annoying issue is after the page refreshes, the map defaults back to the "circular" view. Is this a bug or is there a way to maintain the selected view from the selection list after the page refreshes? Also is there a way to better space out icons in the circular view so that they do not overlap? Thank you, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From pla at softflare.com Mon Dec 29 15:52:22 2003 From: pla at softflare.com (Paul L. Allen) Date: Mon, 29 Dec 2003 14:52:22 +0000 Subject: Status map does not keep view after refresh In-Reply-To: <002901c3cdd5$808cdff0$513a6618@netcraftinc.int> References: <002901c3cdd5$808cdff0$513a6618@netcraftinc.int> Message-ID: <20031229145222.13275.qmail@minnow.softflare.net> Frank Pikelner writes: > Is this a bug or is there a way to maintain the selected view from the > selection list after the page refreshes? Look for default_status_layout in cgi.cfg. > Also is there a way to better space out icons in the circular view so that > they do not overlap? A brief look at the code indicates you may be able to pass hidden variables affecting the spacing but whether that does what you want or not... There is another area where it is lacking. We do remote monitoring for several sites with several machines each. They get logins that let them look at their own machines. But instead of the layout giving them a view as if theirs were the only machines, it effectively gives them the full view with machines that aren't there's blanked out. So even though a circular view of their machines alone would not be cramped if that's all we were monitoring, they instead get a very cramped view with lots of big empty gaps. Yes, we do explain that to them, but the status map is essentially for PHBs who don't understand explanations and just want it to look pretty... -- Paul Allen Softflare Support ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zz_sourceforge at s-n.org.uk Mon Dec 29 16:04:12 2003 From: zz_sourceforge at s-n.org.uk (David Spencer-Nixon) Date: Mon, 29 Dec 2003 15:04:12 -0000 Subject: Status map does not keep view after refresh In-Reply-To: <002901c3cdd5$808cdff0$513a6618@netcraftinc.int> References: <002901c3cdd5$808cdff0$513a6618@netcraftinc.int> Message-ID: <000201c3ce1d$05210790$96f1fea9@passoa> Hi Frank. I had exactly the same problem until recently. There is an entry in the cgi.cfg file that allows you to specify the default view of the status map. If you change the relevant line (~305) to read: default_statusmap_layout=3 This should do the job for you. regards, David -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Frank Pikelner Sent: 29 December 2003 06:32 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status map does not keep view after refresh When I'm looking at the STATUS MAP view the default is a "circular" configuration of the icons. Since our map is very large (300+) items, I often use the "balanced tree" view. The annoying issue is after the page refreshes, the map defaults back to the "circular" view. Is this a bug or is there a way to maintain the selected view from the selection list after the page refreshes? Also is there a way to better space out icons in the circular view so that they do not overlap? Thank you, Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: From tcpip at cox.net Mon Dec 29 16:27:01 2003 From: tcpip at cox.net (TCP/IP) Date: Mon, 29 Dec 2003 10:27:01 -0500 Subject: WAP Interface Non Standard Port Message-ID: <001101c3ce20$351f60b0$71021fac@ncc.netlincservices.com> My ISP blocks port 80 inbound. I am trying to get to the Nagios WAP interface via a non-standard port (3390). Internally, the WAP piece works fine using a local PC based WAP browser (http://www.winwap.org): http://username:password at servernameFQDN/nagios/cgi-bin/statuswml.cgi) I have a redirect on my firewall for port 80 going to 3390 on my Nagios box. This is functioning correctly, as I can get to http://servernameFQDN:3390/nagios/index.html and access Nagios from outside. However, the WAP piece doesn't work using the same syntax and adding the port: http://username:password at servernameFQDN:3390/nagios/cgi-bin/statuswml.cgi) I've tried through the WAP browser at http://www.mobone.com/, as well as my Verizon cellphone. Is there anything in WAP that doesn't like the :3390 port definition? Verizon's homepage URL on my phone has a :8509 at the end, so I know it can take ports. But I assume that gets you to their proxy server. But it doesn't work through mobone.com either, so I don't think it's a Verizon specific problem. Any suggestions? Thanks, Sean Fischer ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Brewer at Surgient.com Mon Dec 29 18:12:37 2003 From: Robert.Brewer at Surgient.com (Brewer, Robert) Date: Mon, 29 Dec 2003 11:12:37 -0600 Subject: Plugin for uptime on Unix Message-ID: <3937FEF7FFD31F4FAF2D22763C44D69E842DA5@astro.SURGIENT.COM> Is there a standard plugin for monitoring uptime on Unix? I need to monitor for an unexpected reboot that may occur between polling cycles. I think check_nt will work for Windows, but I do not see an equivalent for Unix. I did a web search and came up with nothing. Note that the Archive is currently down so I apologize if this question has come up before. Thanks for any info. ---------------------------------------------- Robby Brewer Senior Support Engineer Surgient, Inc. 512-241-4695 ---------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From ejl at man.fwltech.com Mon Dec 29 18:26:38 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Mon, 29 Dec 2003 17:26:38 -0000 Subject: Plugin for uptime on Unix Message-ID: <1012BD903945D411915500105A48FF5701C73CBD@nt.man.fwltech.com> The problem is that uptime often returns slightly different formats on each version of unix. There is the "uptime_by_snmp" plugin though, which uses the check_snmp plugin to get it for you. Ewan -----Original Message----- From: Brewer, Robert [mailto:Robert.Brewer at Surgient.com] Sent: 29 December 2003 17:13 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugin for uptime on Unix Is there a standard plugin for monitoring uptime on Unix? I need to monitor for an unexpected reboot that may occur between polling cycles. I think check_nt will work for Windows, but I do not see an equivalent for Unix. I did a web search and came up with nothing. Note that the Archive is currently down so I apologize if this question has come up before. Thanks for any info. ---------------------------------------------- Robby Brewer Senior Support Engineer Surgient, Inc. 512-241-4695 ---------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From drue at therub.org Mon Dec 29 20:16:26 2003 From: drue at therub.org (Dan Rue) Date: Mon, 29 Dec 2003 13:16:26 -0600 Subject: check_http and switches/hubs issues Message-ID: <20031229191626.GA399@therub.org> Heyo, Nagios 1.1_3, plugins 1.3.1 on FreeBSD 4.9 2 questions: First of all, I need to check a site that uses simple HTTP authentication using check_http. I know I can pass a username/password to check_http, but I am satisfied to see "HTTP WARNING: HTTP/1.1 401 Authorization Required" So how can I convince nagios/check_http that all is good if we get the auth required string? I messed with the expect tag in check_http, but I still get "Invalid HTTP response received from host". 2nd question: How can I add hubs and switches that have no IP address? I just want to be able to see them in the status map for consistancy (by setting them as parents in hosts.cfg). TIA, Dan ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Mon Dec 29 23:43:09 2003 From: mtucker at airmail.net (Michael Tucker) Date: Mon, 29 Dec 2003 16:43:09 -0600 Subject: NSCA, NRPE+SSL woes Message-ID: <605FDF98-3A50-11D8-92C1-0030657DF28A@airmail.net> Howdy: I'm trying to set up nagios for the first time, using a central server, a distributed server, and hosts which are monitored by the distributed server. I seem to have everything working except for a couple of things. * * * First, send_nsca -> nsca isn't working at all. I have verified that nsca.cfg on the central server has "allowed_hosts={distributed server's hostname}". The central server can resolve the distributed server's hostname, and it can connect to it (ping). The submit_check_result shell script on the distributed server is exactly as indicated in the nagios documentation. There is no password in either check_nsca.cfg or nsca.cfg, and the encryption/decryption option is set to "1" (XOR). (I.e., I'm using the defaults on both ends for now.) All of the files belong to user:group nagios:nagios, which is the same user and group that owns the nagios process. However, the central server never receives any data from the distributed server. If I attempt to run send_nsca manually, I get the following result: > # /usr/bin/echo {arguments} | /usr/local/nagios/bin/send_nsca -H > {central server's hostname} -c /usr/local/nagios/bin/send_nsca.cfg > Error: Server closed connection before init packet was received > Error: Could not read init packet from server I get the same result whether I run nsca (on the central server) as a standalone daemon, or through inetd. If I enable active checks on the central server, it can "see" the monitored host and reports that it is healthy. If I disable active checks, wipe out the status log and restart nagios, it reports the monitored host's status as PENDING (of course, because it never receives any status report from nsca). * * * Second, check_nrpe -> nrpe doesn't work if I enable SSL. If I disable SSL, it works fine. But with SSL enabled, I get the following result: > # ./check_nrpe -H {host to monitor} -c check_load > CHECK_NRPE: Error - Could not complete SSL handshake. I get the same result whether I run nrpe as a standalone daemon on the monitored host, or through inetd. For what it's worth, I settled on running it through inetd with tcp wrappers, since that works fine as long as SSL is not enabled. I am working around this for now, but any help in this regard would be appreciated. Thanks in advance for any help, Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 05:16:20 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 29 Dec 2003 20:16:20 -0800 Subject: check_http and switches/hubs issues References: <20031229191626.GA399@therub.org> Message-ID: Answer to the second question: Use the check_dummy plugin, which will always return a status of "up". Then you can treat the switches/hubs like any other real host, including defining parents or children. "Dan Rue" wrote in message news:20031229191626.GA399 at therub.org... > Heyo, > > Nagios 1.1_3, plugins 1.3.1 on FreeBSD 4.9 > > 2 questions: > > First of all, I need to check a site that uses simple HTTP > authentication using check_http. I know I can pass a username/password > to check_http, but I am satisfied to see > "HTTP WARNING: HTTP/1.1 401 Authorization Required" > So how can I convince nagios/check_http that all is good if we get the > auth required string? I messed with the expect tag in check_http, but I > still get "Invalid HTTP response received from host". > > 2nd question: > How can I add hubs and switches that have no IP address? I just want to > be able to see them in the status map for consistancy (by setting them > as parents in hosts.cfg). > > TIA, > Dan > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Tue Dec 30 05:19:37 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Tue, 30 Dec 2003 02:19:37 -0200 Subject: Mensagem automática Message-ID: <200312300419.hBU4Jbo29075@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Hildebrandt at comit.ch Tue Dec 30 13:24:49 2003 From: Jan.Hildebrandt at comit.ch (Hildebrandt Jan) Date: Tue, 30 Dec 2003 13:24:49 +0100 Subject: NRPE 2.0 compile problem on Solaris 2.6 Message-ID: Hi all, hope this is not OT - I tried to compile NRPE 2.0 on Solaris 2.6. Make failed; the compiler (gcc) complained about the unknown type socklen_t in line 520 of nrpe.c. I compared the source file with that of NRPE 1.8 and noticed that in 1.8 the type of addrlen used to be int. My quick fix was to set the type to int in 2.0 as well, but I'm sure this is not a proper fix. Maybe someone with more C and network programming knowledge can deal with this minor problem. Just wanted to let you know. Regards, Jan Hildebrandt P.S.: CC me when replying, I'm not subscribed. Thanks! ________________________ COMIT Gruppe Key Account Solutions Pflanzschulstrasse 7 CH-8004 Z?rich Telefon +41 (0) 1-298 92 07 Telefax +41 (0) 1-298 93 00 www.comit.ch ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Tue Dec 30 16:43:59 2003 From: mhennessy at cloud9.net (Mark Hennessy) Date: Tue, 30 Dec 2003 10:43:59 -0500 Subject: Want to do Delayed Notification on certain types of HARD conditions Message-ID: I was wondering if it was possible in Nagios to only page after some persistent period of a HARD condition like say a HARD warning. In this instance, I want to have Nagios send notification only after 12 hours of a HARD warning has been persistently in place, but I want to continue to have immediate notifications on a HARD critical. Anyone have any ideas on how one might do that without creating duplicate service or host checks (one for warnings only and another for all other conditions)? -- Mark Hennessy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Dec 30 17:04:07 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Dec 2003 10:04:07 -0600 Subject: Want to do Delayed Notification on certain types of HARD conditions In-Reply-To: References: Message-ID: <1072800247.17064.5.camel@localhost> why not set your notification interval to 12 hours? You'll get paged to let you know it's down, and 12 hours later you'll get the second page that says "no, seriously, it's down." Not a svelte solution, but it's better than nothing, I hope :) On Tue, 2003-12-30 at 09:43, Mark Hennessy wrote: > I was wondering if it was possible in Nagios to only page after some > persistent period of a HARD condition like say a HARD warning. In this > instance, I want to have Nagios send notification only after 12 hours of a > HARD warning has been persistently in place, but I want to continue to have > immediate notifications on a HARD critical. > > Anyone have any ideas on how one might do that without creating duplicate > service or host checks (one for warnings only and another for all other > conditions)? > > -- > Mark Hennessy > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 30 17:40:59 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 30 Dec 2003 11:40:59 -0500 Subject: Want to do Delayed Notification on certain types of HARD conditions In-Reply-To: References: Message-ID: <1072802459.11344.128.camel@unixgod.hq.nasa.gov> On Tue, 2003-12-30 at 10:43, Mark Hennessy wrote: > I was wondering if it was possible in Nagios to only page after some > persistent period of a HARD condition like say a HARD warning. In this > instance, I want to have Nagios send notification only after 12 hours of a > HARD warning has been persistently in place, but I want to continue to have > immediate notifications on a HARD critical. > > Anyone have any ideas on how one might do that without creating duplicate > service or host checks (one for warnings only and another for all other > conditions)? > Why not use escalations? define serviceescalation{ host_name webserver service_description HTTP first_notification 12 last_notification 48 notification_interval 60 contact_groups unix-admins } Configure the services.cfg to check every 60 minutes and put a null contact group in the service definition. > -- > Mark Hennessy > Carl ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Tue Dec 30 18:14:27 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Dec 2003 11:14:27 -0600 Subject: Want to do Delayed Notification on certain types of HARD conditions In-Reply-To: <1072802459.11344.128.camel@unixgod.hq.nasa.gov> References: <1072802459.11344.128.camel@unixgod.hq.nasa.gov> Message-ID: <1072804467.17067.7.camel@localhost> On Tue, 2003-12-30 at 10:40, Carl Schelin wrote: > Why not use escalations? This is a much better solution than mine. Good call :) ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Dec 30 18:33:11 2003 From: cschelin at hq.nasa.gov (Carl Schelin) Date: 30 Dec 2003 12:33:11 -0500 Subject: Want to do Delayed Notification on certaintypes of HARD conditions In-Reply-To: References: Message-ID: <1072805591.11342.135.camel@unixgod.hq.nasa.gov> On Tue, 2003-12-30 at 11:54, Mark Hennessy wrote: > But how does one set it up so only warnings are notified about in that > manner? > > I want critical notifications to be immediate but warnings need to be sent > out only if the condition is persistent for 12 hours in this case. > My mistake. I misread your message (reading HARD as critical). > -- > Mark Hennessy Carl ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtucker at airmail.net Tue Dec 30 23:45:39 2003 From: mtucker at airmail.net (Michael Tucker) Date: Tue, 30 Dec 2003 16:45:39 -0600 Subject: Passive checks? (NSCA) Message-ID: Howdy: I posted on this list that I was having trouble with getting send_nsca -> nsca to work for me. (Note: this is my first attempt to use nagios.) Maybe my problem is as simple as a configuration issue. So, I'll rephrase my question to this: What do I need to do to make passive service checks work? I have a distributed server which is monitoring several hosts (via check_nrpe -> nrpe). It is working just fine, as far as I can tell. On the "Process info" page, it displays: Notifications enabled? NO Service checks being executed? YES Passive service checks being accepted? NO I have a central server which is not directly monitoring any hosts. It expects to receive the results from the distributed server (via send_nsca -> nsca). The server is up, but it shows all hosts/services status as PENDING (forever). It displays: Notifications enabled? YES Service checks being executed? NO Passive service checks being accepted? YES Here are the relevant configuration files: ----- send_nsca.cfg (on the distributed server): ----- #password= encryption_method=1 ----- nsca.cfg (on the central server): ----- #password= server_port=5667 allowed_hosts={hostname of distributed server} nsca_user=nagios nsca_group=nagios debug=0 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 decryption_method=1 ----- relevant portion of /etc/inetd.conf (on the central server): ----- nsca stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/ nsca -c /usr/local/nagios/bin/nsca.cfg -i ----- relevant portion of /etc/services (on the central server): ----- nsca 5667/tcp # Nagios service check acceptor ----- nagios.cfg (on the distributed server): ----- ... (lots of stuff snipped, only showing a few settings) ... check_external_commands=0 command_check_interval=-1 execute_service_checks=1 accept_passive_service_checks=0 enable_notifications=0 ocsp_timeout=5 obsess_over_services=1 ocsp_command=submit_check_result ----- nagios.cfg (on the central server): ----- ... (lots of stuff snipped, only showing a few settings) ... check_external_commands=1 command_check_interval=-1 execute_service_checks=0 accept_passive_service_checks=1 enable_notifications=1 obsess_over_services=0 I'm running Nagios 1.1, compiled for Solaris 9 (running on Sun/SPARC hardware using gcc). I'm really stumped, and would be grateful for any help. Thanks, Michael ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwichman at zantaz.com Wed Dec 31 00:11:12 2003 From: gwichman at zantaz.com (Gerald Wichmann) Date: Tue, 30 Dec 2003 15:11:12 -0800 Subject: Availability Report Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB07470205@zanexch.zantaz.com> When I click the "Availability" link to the left and generate one for hosts for the last 7 days, I get 100% on all servers "% time undetermined".. meaning it doesn't seem to track this data. If I click to do it for "this year", it never generates anything but just sits at that form. Any thoughts on what would cause this function in nagios to not work? Something I need to turn on or so forth? Thanks, Gerald This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail 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 or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From f48lcinwo at yahoo.com Wed Dec 31 00:14:13 2003 From: f48lcinwo at yahoo.com (Violet Larkin) Date: Tue, 30 Dec 2003 20:14:13 -0300 Subject: US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....Mitchell 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 COMMENTS 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) 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. SCI was paid two 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. g iqeih x nnegsfbwmmx xg ekx xfqhcuqiq From Hermes at infracomspa.it Wed Dec 31 00:29:10 2003 From: Hermes at infracomspa.it (Hermes at infracomspa.it) Date: Wed, 31 Dec 2003 00:29:10 +0100 Subject: US STOCK MARKET - MBTT Technology---MERRILL LYNCH On Sector.....Mitchell ScanMail has blocked your mail due to a mail policy. Message-ID: nagios-users-admin at lists.sourceforge.net Reason the mail was blocked: Scanned by ScanMail for Lotus Notes 2.6 with scanengine 6.810-1005 and patternfile lpt$vpn.708 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlang at sevenl.net Wed Dec 31 02:01:32 2003 From: dlang at sevenl.net (Dan Lang) Date: Tue, 30 Dec 2003 20:01:32 -0500 Subject: First time install, big fubar mess Message-ID: <3FF21FEC.7070501@sevenl.net> Greetings, I've installed a standard nagios setup for my employer, monitoring several servers and services. Initially, nagios seemed to be working, though not exactly as expected, but now I seemed to have fubar'd everything. I orginally compiled nagios to use mysql and without the --with-cgiurl or --with-htmlurl flags. I just wanted to get nagios working before playing with web interface. After getting nagios to work for the most part, I recompiled with the appropriate flags for using the web interface. However, nagios can't seem to parse any of the config files now. Running nagios with -v gives the following errors which seem to suggest nagios is croaking on the first line of the config that is not commented. Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error in object configuration file '/usr/nagios/etc/checkcommands.cfg' - Line 51 (Could not parse input) Error in object configuration file '/usr/nagios/etc/misccommands.cfg' - Line 50 (Could not parse input) Error in object configuration file '/usr/nagios/etc/contactgroups.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/contacts.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/hostgroups.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/hosts.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/services.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/timeperiods.cfg' - Line 21 (Could not parse input) Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking host groups... Error: There are no host groups defined! Checked 0 host groups. Checking contacts... Error: There are no contacts defined! Checked 0 contacts. Checking contact groups... Error: There are no contact groups defined! Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking host group escalations... Checked 0 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 0 commands. Checking time periods... Checked 0 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 5 What would cause such a problem? I have not seen such an error in the documentation or through my scanning of the list archives. Also, while I compiled nagios to use mysql, it doesn't seem to be writing data to the mysql DB. I have checked the mysql logs, and there are no errors. In fact, it doesn't look as if nagios is even trying to connect to mysql at this time. I set the appropriate variables in the resources.cfg. Is there another config file I need to edit that maybe I missed in the documentation? Thanks for any help. Regards Dan Lang ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andres at photoplankton.com Wed Dec 31 02:06:41 2003 From: andres at photoplankton.com (Andres L. Figari) Date: Tue, 30 Dec 2003 17:06:41 -0800 Subject: First time install, big fubar mess In-Reply-To: <3FF21FEC.7070501@sevenl.net> References: <3FF21FEC.7070501@sevenl.net> Message-ID: <000001c3cf3a$5b3923b0$6701a8c0@TARA> I would start here: Error in object configuration file '/usr/nagios/etc/checkcommands.cfg' - Line 51 (Could not parse input Are you using a sample config with no existent hosts and services? Regards, Andres L. Figari Systems Administrator http://www.hostito.com -----Original Message----- From: Dan Lang [mailto:dlang at sevenl.net] Sent: Tuesday, December 30, 2003 5:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] First time install, big fubar mess Greetings, I've installed a standard nagios setup for my employer, monitoring several servers and services. Initially, nagios seemed to be working, though not exactly as expected, but now I seemed to have fubar'd everything. I orginally compiled nagios to use mysql and without the --with-cgiurl or --with-htmlurl flags. I just wanted to get nagios working before playing with web interface. After getting nagios to work for the most part, I recompiled with the appropriate flags for using the web interface. However, nagios can't seem to parse any of the config files now. Running nagios with -v gives the following errors which seem to suggest nagios is croaking on the first line of the config that is not commented. Nagios 1.1 Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Last Modified: 06-02-2003 License: GPL Reading configuration data... Error in object configuration file '/usr/nagios/etc/checkcommands.cfg' - Line 51 (Could not parse input) Error in object configuration file '/usr/nagios/etc/misccommands.cfg' - Line 50 (Could not parse input) Error in object configuration file '/usr/nagios/etc/contactgroups.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/contacts.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/hostgroups.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/hosts.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/services.cfg' - Line 21 (Could not parse input) Error in object configuration file '/usr/nagios/etc/timeperiods.cfg' - Line 21 (Could not parse input) Running pre-flight check on configuration data... Checking services... Error: There are no services defined! Checked 0 services. Checking hosts... Error: There are no hosts defined! Checked 0 hosts. Checking host groups... Error: There are no host groups defined! Checked 0 host groups. Checking contacts... Error: There are no contacts defined! Checked 0 contacts. Checking contact groups... Error: There are no contact groups defined! Checked 0 contact groups. Checking service escalations... Checked 0 service escalations. Checking host group escalations... Checked 0 host group escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 0 commands. Checking time periods... Checked 0 time periods. Checking for circular paths between hosts... Checking for circular service execution dependencies... Checking global event handlers... Checking obsessive compulsive service processor command... Checking misc settings... Total Warnings: 0 Total Errors: 5 What would cause such a problem? I have not seen such an error in the documentation or through my scanning of the list archives. Also, while I compiled nagios to use mysql, it doesn't seem to be writing data to the mysql DB. I have checked the mysql logs, and there are no errors. In fact, it doesn't look as if nagios is even trying to connect to mysql at this time. I set the appropriate variables in the resources.cfg. Is there another config file I need to edit that maybe I missed in the documentation? Thanks for any help. Regards Dan Lang ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dlang at sevenl.net Wed Dec 31 02:17:53 2003 From: dlang at sevenl.net (Dan Lang) Date: Tue, 30 Dec 2003 20:17:53 -0500 Subject: First time install, big fubar mess In-Reply-To: <000001c3cf3a$5b3923b0$6701a8c0@TARA> References: <000001c3cf3a$5b3923b0$6701a8c0@TARA> Message-ID: <3FF223C1.9050208@sevenl.net> Andres L. Figari wrote: > I would start here: > > Error in object configuration file '/usr/nagios/etc/checkcommands.cfg' - > > Line 51 (Could not parse input > > Are you using a sample config with no existent hosts and services? > I started with sample configs, and changed them for my environment. Maybe I didn't explain it well enough before, but line 51 of '/usr/nagios/etc/checkcommands.cfg' is the first line of the config that is not commented. For instance line 51 of /usr/nagios/etc/checkcommands.cfg is: define command{ command_name check_tcp command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } and line 50 of /usr/nagios/etc/miscommands.cfg is define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } A note that I forgot to mention last time. I moved my checkcommands.cfg to checkcommands.cfg.bak and copied the example config to checkcommands.cfg. running nagios -v gave the same error. Thanks, Dan Lang > Regards, > > Andres L. Figari > Systems Administrator > http://www.hostito.com > > -----Original Message----- > From: Dan Lang [mailto:dlang at sevenl.net] > Sent: Tuesday, December 30, 2003 5:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] First time install, big fubar mess > > Greetings, > > I've installed a standard nagios setup for my employer, monitoring > several servers and services. Initially, nagios seemed to be working, > though not exactly as expected, but now I seemed to have fubar'd > everything. > > I orginally compiled nagios to use mysql and without the --with-cgiurl > or --with-htmlurl flags. I just wanted to get nagios working before > playing with web interface. After getting nagios to work for the most > part, I recompiled with the appropriate flags for using the web > interface. However, nagios can't seem to parse any of the config files > now. > > Running nagios with -v gives the following errors which seem to suggest > nagios is croaking on the first line of the config that is not > commented. > > Nagios 1.1 > Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) > Last Modified: 06-02-2003 > License: GPL > > Reading configuration data... > > Error in object configuration file '/usr/nagios/etc/checkcommands.cfg' - > > Line 51 (Could not parse input) > > Error in object configuration file '/usr/nagios/etc/misccommands.cfg' - > Line 50 (Could not parse input) > > Error in object configuration file '/usr/nagios/etc/contactgroups.cfg' - > > Line 21 (Could not parse input) > > Error in object configuration file '/usr/nagios/etc/contacts.cfg' - Line > > 21 (Could not parse input) > > Error in object configuration file '/usr/nagios/etc/hostgroups.cfg' - > Line 21 (Could not parse input) > > Error in object configuration file '/usr/nagios/etc/hosts.cfg' - Line 21 > > (Could not parse input) > > Error in object configuration file '/usr/nagios/etc/services.cfg' - Line > > 21 (Could not parse input) > > Error in object configuration file '/usr/nagios/etc/timeperiods.cfg' - > Line 21 (Could not parse input) > > Running pre-flight check on configuration data... > > Checking services... > Error: There are no services defined! > Checked 0 services. > Checking hosts... > Error: There are no hosts defined! > Checked 0 hosts. > Checking host groups... > Error: There are no host groups defined! > Checked 0 host groups. > Checking contacts... > Error: There are no contacts defined! > Checked 0 contacts. > Checking contact groups... > Error: There are no contact groups defined! > > Checked 0 contact groups. > Checking service escalations... > Checked 0 service escalations. > Checking host group escalations... > Checked 0 host group escalations. > Checking service dependencies... > Checked 0 service dependencies. > Checking host escalations... > Checked 0 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 0 commands. > Checking time periods... > Checked 0 time periods. > Checking for circular paths between hosts... > Checking for circular service execution dependencies... > Checking global event handlers... > Checking obsessive compulsive service processor command... > Checking misc settings... > > Total Warnings: 0 > Total Errors: 5 > > What would cause such a problem? I have not seen such an error in the > documentation or through my scanning of the list archives. > > Also, while I compiled nagios to use mysql, it doesn't seem to be > writing data to the mysql DB. I have checked the mysql logs, and there > are no errors. In fact, it doesn't look as if nagios is even trying to > connect to mysql at this time. I set the appropriate variables in the > resources.cfg. Is there another config file I need to edit that maybe I > missed in the documentation? > > Thanks for any help. Regards > > Dan Lang > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys > admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at lists.sourceforge.net Wed Dec 31 05:17:21 2003 From: nagios-users at lists.sourceforge.net (nagios-users at lists.sourceforge.net) Date: Wed, 31 Dec 2003 02:17:21 -0200 Subject: Mensagem automática Message-ID: <200312310417.hBV4HLf05835@estacio.br> Oie nagios-users-request at lists.sourceforge.net Informo que o partir das 19:00h do dia 19 de dezembro de 2003 at? as 10:00h do dia 5 de janeiro de 2004, estarei em fase de recesso. Desejo a todos um Feliz Natal e um Ano Novo repleto de realiza??es. E assim que retornar eu respondo ao seu e-mail. Bjos Eddy ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 31 11:07:46 2003 From: tvilliers at lastminute.com (tvilliers) Date: Wed, 31 Dec 2003 10:07:46 +0000 Subject: Passive checks? (NSCA) References: Message-ID: On Tue, 30 Dec 2003 16:45:39 -0600, Michael Tucker wrote: > What do I need to do to make passive service checks > work? Here is a "mini howto" I wrote a while ago: ================================ NAGIOS PASSIVE CHECKS mini HOWTO ================================ >From the Nagios Manual: /passivechecks.html /extcommands.html More: /commandfile.html /volatileservices.html /eventhandlers.html Even more: /freshness.html /distributed.html Active checks are initiated by Nagios, while passive checks are performed by external applications. Once an external application has performed a service check, it submits the results of the service "check" to Nagios through the external command file. By default, Nagios does not check for, or process any external commands. To enable it, set the following in "nagios.cfg": ## check_external_commands=1 ## On command_check_interval=-1 ## As often as possible command_file=/usr/local/nagios/var/rw/nagios.cmd ## Setup permissions on the directory containing the external command file: ## - Create a new Nagios Command group: #$ groupadd nagioscmd - Add the web server user (nobody or apache, etc) and the Nagios user (nagios) to the newly created group: #$ usermod -G nagioscmd nagios #$ usermod -G nagioscmd nobody - Create the directory where the command file should be stored: #$ mkdir /usr/local/nagios/var/rw - Change the ownership of the directory: #$ chown nagios.nagioscmd /usr/local/nagios/var/rw - Ensure the Nagios user has full permissions on the directory: #$ chmod u+rwx /usr/local/nagios/var/rw - Ensure the Nagios Command group has full permissions on the directory: #$ chmod g+rwx /usr/local/nagios/var/rw - Enable the group sticky bit on the directory: #$ chmod g+s /usr/local/nagios/var/rw - Check the permissions by running 'ls -al /usr/local/nagios/var': ## drwxrws--- 2 nagios nagioscmd 1024 Aug 11 16:30 rw Restart the web server. Create a "passive_test" service by adding this entry to "/usr/local/nagios/etc/services.cfg": ## define service { use generic-service ; your template host_name localhost service_description passive_test is_volatile 1 ; every change is logged ... max_check_attempts 1 ; a change is after only 1 try ... active_checks_enabled 0 ; unset template's default ... passive_checks_enabled 1 ; ditto ... check_freshness 0 freshness_threshold 300 notification_options n ; no notifications ... check_command "" ; nagios requires something ... } ## Restart Nagios. In the Browser Console: - Click "Service Detail" in Main Menu and look for a new Passive Service at "localhost" called "passive_test" - Click the "passive_test" link - Click "Submit passive check result for this service" on "Service Commands" menu. - Submit a value in the "Check Output" line and click "Commit" - Click "Service Detail" in Main Menu and see if the new Passive Service at "localhost" displays this value Success with "builtin" external check commands. The format of an external check command is as follows: [] PROCESS_SERVICE_CHECK_RESULT;;; \ ; where timestamp is a UNIX time Copy this script from Nagios source directory: #$ cp $SRC/nagios-1.1/contrib/eventhandlers/submit_check_result \ #$ /usr/local/nagios/libexec/eventhandlers Edit this line to correspond to Nagios installation: ## CommandFile="/usr/local/nagios/var/rw/nagios.cmd" ## >From the command line: #$ /usr/local/nagios/libexec/eventhandlers/submit_check_result \ #$ localhost passive_test 0 OK - Tail the Nagios log file ("tail -f /usr/local/nagios/var/nagios.log") : ## [1065703739] EXTERNAL COMMAND: \ PROCESS_SERVICE_CHECK_RESULT;localhost;passive_test;0;OK ## - Check in the browser to see if new status is updated. Success from localhost. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 31 12:57:07 2003 From: stephen.patterson at cjgarland.com (Stephen Patterson) Date: Wed, 31 Dec 2003 11:57:07 +0000 Subject: Exended info icons not working Message-ID: <3FF2B993.8070302@cjgarland.com> As I've got nagios monitoring 77 hosts, I've been trying to get host icons onto the status map by using the extended info settings. I have this setting at the moment, which doesn't work and generates no errors # in cgi.cfg xedtemplate_config_file=/etc/nagios/41.0/hostextinfo.cfg # in /etc/nagios/41.0/hostextinfo.cfg define hostextinfo { host_name CNE-12-DS1 icon_image /usr/share/nagios/htdocs/images/logos/Cisco2500p.gif statusmap_image /usr/share/nagios/htdocs/images/logos/Cisco2500p.gif } The graphics exist at those paths with 644 permissions, any suggestions. -- 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: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBaird at nehealth.org Wed Dec 31 13:45:30 2003 From: JBaird at nehealth.org (Jason Baird) Date: Wed, 31 Dec 2003 07:45:30 -0500 Subject: Groupwise Plugins Message-ID: Are there any GroupWise plugins available? For monitoring post offices and MTAs and the like? Jason ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From PDonahue at acmicorp.com Wed Dec 31 18:47:48 2003 From: PDonahue at acmicorp.com (Donahue, Pat) Date: Wed, 31 Dec 2003 12:47:48 -0500 Subject: Archives of NRPE Message-ID: Hello, Does anyone know where I can download versions of NRPE 1.x? I'm forced to use 1.8 on HP-UX 11.00 and therefore cannot use 2.0 on my Nagios host because of backwards compatibility issues. Thanks, Pat Donahue ACMI Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: