From jperrin at gmail.com Thu Feb 1 00:32:31 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 31 Jan 2007 18:32:31 -0500 Subject: Grant view access but no change access In-Reply-To: References: <45C09D15.4010503@emat.be> Message-ID: <302ce8b50701311532x4838ec8duf3fd2f55590d61b0@mail.gmail.com> I think the issue commands patch is what you're looking for. I use it daily for just this purpose. http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.html On 1/31/07, Jelle wrote: > I will go for the solution Marc Powell Suggested. > Lookingglass is nice, but it doesn't fit my purpose,... > Thanks for the info everyone,... > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Thu Feb 1 03:33:13 2007 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 31 Jan 2007 21:33:13 -0500 Subject: Adding hosts and services In-Reply-To: <7abcf48e0701311435oeeaac5ekb74274b9181fceeb@mail.gmail.com> References: <7abcf48e0701311435oeeaac5ekb74274b9181fceeb@mail.gmail.com> Message-ID: <302ce8b50701311833w6ac0e2c8hce4ae690e2617978@mail.gmail.com> On 1/31/07, Nedim Bicic wrote: > Hey i am running nagios 2.4 You may wish to consider updating. > The way i am updating by adding hosts to host cfg file and service.cfg file > is ther another way or a template that can be easily updated into by linux > box > now when i open my host file the text like froze it doesnt appear like its > thinking or something > any advise on this would be helpful You don't have to have all the hosts in one file and all the services in another. I have a hosts dir, in which I have subdirs for other locations I monitor. Inside these I have the host.cfg files calling a template from my templates directory as needed. Each hosts file contains all the info for that host, including services, and extended information. You can set this up any way you wish. It's all about what works best for you. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From herman_ang at toyota.co.id Thu Feb 1 06:19:06 2007 From: herman_ang at toyota.co.id (Herman (ISTD)) Date: Thu, 1 Feb 2007 12:19:06 +0700 Subject: NEXSM Message-ID: Anyone ever successfully use nexsm for Nagios front display ? I am trying to use it to enable several views of NSM map. And I already installed the Java WebStart and signed all the jar. However when all jar are downloaded and ran, nothing appeared. When I checked java console log : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.ImageIcon.(Unknown Source) at net.gridshield.nexsm.app.MapFrame.initComponents(MapFrame.java:300) at net.gridshield.nexsm.app.MapFrame.(MapFrame.java:80) at net.gridshield.nexsm.app.MapFrame$12.run(MapFrame.java:485) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Anyone has idea ? Best Regards, Herman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Thu Feb 1 07:18:45 2007 From: ntserafica at yahoo.com (Nelson Serafica) Date: Wed, 31 Jan 2007 22:18:45 -0800 (PST) Subject: How to bypass motd in check_by_ssh Message-ID: <782302.11523.qm@web62413.mail.re1.yahoo.com> I tried to create in one of my remote pc but it still occurs. I just touch .hushlogin in my remote's home directory. Then tried to login from my pc to remote but motd still occurs. ----- Original Message ---- From: "Frost, Mark {PBG}" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Wednesday, January 31, 2007 8:56:49 PM Subject: RE: [Nagios-users] How to bypass motd in check_by_ssh Most Unix flavors I've ever seen allow you to create a ".hushlogin" file in that particular user's home directory to suppress printing of the motd for that particular user at login time. touch ~/.hushlogin for that user and that user will never see the motd. Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Nelson Serafica Sent: Wed 1/31/2007 2:26 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to bypass motd in check_by_ssh HI to all, Is there a way I can bypass motd of ssh? I cannot execute plugins if there's a motd in my ssh. However, when I disable it, I can execute the plugins. But the thing is, I do not want to disable mthe motd in the server. I tried the option "-S 500" in check_by_ssh but still problem occurs. Please help ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raghavendra.kristam at gmail.com Thu Feb 1 08:23:26 2007 From: raghavendra.kristam at gmail.com (raghavendra kristam) Date: Thu, 1 Feb 2007 12:53:26 +0530 Subject: Need some help regarding with tomcat server In-Reply-To: <45BF7F82.3050107@reliableresponse.net> References: <45BF7AD1.7090801@reliableresponse.net> <45BF7F82.3050107@reliableresponse.net> Message-ID: Hi, After Installed Nagios2.7 and Nagios plugin-1.4.5. The following configuration files are located in /usr/local/nagios/etc cgi.cfg-sample commands.cfg-sample localhost.cfg-sample nagios.cfg-sample resource.cfg-sample Later copy those from $NAGIOSHOME/etc/*.cfg-sample to $NAGIOSHOME/etc/*.cfg as cgi.cfg commands.cfg htpasswd.users localhost.cfg nagios.cfg resource.cfg The below configuration are not availble in /usr/local/nagios/etc/ . Do we need to create these files in /usr/local/nagios/etc/ or did I missed any thing during installation time. Please let me know. 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/servicegroups.cfg cfg_file=/usr/local/nagios/etc/disk_services.cfg cfg_file=/usr/local/nagios/etc/database_services.cfg cfg_file=/usr/local/nagios/etc/web_services.cfg cfg_file=/usr/local/nagios/etc/local_services.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/windows-services.cfg # PERFPARSE LINE BELOW cfg_file=/usr/local/nagios/etc/nagios_perfparse.cfg http://www.totkat.org/pages/nagios-conf.shtml Thanks, Raghavendra. On 1/30/07, David Rudder wrote: > > By the way, NagiosExchange has a plugin for monitoring JMX. > > http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=808&tx_netnagext_pi1[page]=10%3A10 > > It doesn't address, specifically, what you asked for. But, it may be > even better. For instance, your Java app will throw out of memory > errors if it reaches the maximum allocated to the VM. This is usually > way below the amount available to the OS. So, you'll want to measure > memory usage via JMX and not via the standard OS calls. > > -Dave > > David Rudder wrote: > > c) is a difficult one, but I expect it's been handled before. > > Tomcat stores its logs in the httpd common log format. So, any nagios > > plugins that examine the Apache logs should be able to handle Tomcat's > > as well. I see Ethan wrote a check_log that will check for a pattern. > > Maybe you could build on that. If you're just looking to see if a > > request took a long time, you can add %D to the access log pattern > > (specified in conf/server.xml). That shows the time it took, in millis, > > to fulfill the request. However, I'm not sure if a page's request takes > > longer for a client with a slow link. > > > > Anyway, given the standardized way Tomcat stores it's log, it might not > > be too difficult to find someone who solved the same problem for > > Apache's httpd and apply that to Tomcat. > > > > -Dave > > > > raghavendra kristam wrote: > > > >> Hi, > >> > >> I am quite new to nagios and finally I installed the required > >> softwares on linux machine. > >> I am able to access the web interface using the url > >> http://:90/nagios . > >> > >> a) nagios-2.7 > >> b) nagios-plugins-1.4.5 > >> c) Apache httpd-2.2.4 > >> d) mysql4.1.22 > >> > >> > >> I need to do the following scenarios with nagios. Please let me know > >> how to handle this scenarios. > >> > >> a)For server availability: listening to Tomcat server port > >> periodically and send out notification when there is no response on > >> the port. > >> b)For memory/disk usage: periodically check memory/disk space and send > >> out notification when the usage reaches certain thresholds. > >> c) For requests per minute for the Tomcat Server and per JSP level > >> requests per minute and response time > >> > >> > >> Please let me know whether all these scenarios supported by nagios or > >> not ? > >> > >> Thanks, > >> Raghavendra. > >> > >> > ------------------------------------------------------------------------ > >> > >> > ------------------------------------------------------------------------- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share > your > >> opinions on IT & business topics through brief surveys - and earn cash > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Feb 1 08:35:56 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 1 Feb 2007 02:35:56 -0500 Subject: Need some help regarding with tomcat server In-Reply-To: References: <45BF7AD1.7090801@reliableresponse.net><45BF7F82.3050107@reliableresponse.net> Message-ID: > After Installed Nagios2.7 and Nagios plugin-1.4.5. > The following configuration files are located in > /usr/local/nagios/etc cgi.cfg-sample commands.cfg-sample > localhost.cfg-sample nagios.cfg-sample resource.cfg-sample > > Later copy those from $NAGIOSHOME/etc/*.cfg-sample to > $NAGIOSHOME/etc/*.cfg as > > cgi.cfg commands.cfg htpasswd.users localhost.cfg > nagios.cfg resource.cfg > > The below configuration are not availble in /usr/local/nagios/etc/ . > Do we need to create these files in /usr/local/nagios/etc/ or > did I missed any thing during installation time. > Please let me know. If you've specified in your nagios.cfg file that that's where the files are, then that's where you need to put them... Or you need to change your nagios.cfg to point to where they are. Pretty simple, really. Also, keep in mind that just dropping the sample config files in without customizing them to your environment will probably not work. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iamyolanda at gmail.com Thu Feb 1 13:11:49 2007 From: iamyolanda at gmail.com (Yolanda Santos) Date: Thu, 1 Feb 2007 13:11:49 +0100 Subject: Negate binary file In-Reply-To: References: Message-ID: Hi, Thank you Richard. I get it. I write this mail to show everybody how I get to use the negative binary file (if someone don't know how to do it, here you have) As Richard tell us, you only get the negative result on the Nagios console. If you launch the ./negate check_xx, you always get the check_xxx result, not the negative. So, you have to put the command 'wrapped' in the negate command in the nagios configuration like that, in the checkcommands.cfg, for example: In this example, I use the check_http command. define command{ command_name check_http_negate command_line $USER1$/negate "/opt/nagios/libexec/check_http -H 10.190.8.xxx -p 80 -u "url" -s "string"" } Remember that you have to indicate the complete path of the command (in this case, check_http), and put everything between " " Good Luck!! And thank you very much, Richard Yolanda 2007/1/30, Richard Luys-Nagios User : > > On Tue, 30 Jan 2007 10:48:00 +0100, Yolanda Santos > wrote: > > > Hi, > > > > I have tried to use the negate binary file, but it doesn't work. > > Am I doing something wrong? > Hello Yolanda, > > No, your not doing something wrong, your just confused ;-) let me explain: > > The OK you see is the exit status of the check_http plugin, which is > indeed: OK. If you check the status of the negate with echo $? (directly > after you issued the command) you should see a response of '2', which is > the exitstatus known as CRITICAL. > > Nagios interprets the negate exitstatus and not the exitstatus of the > command you 'negated'. > > Just put your command 'wrapped' in the negate command in your nagios > configuration and it will show up as a CRITICAL when the plaintext-error > page is shown. > > Good Luck! > > Richard > > > > > > I check: > > > > ./check_http -H 10.190.8.xxx -p 80 -u "url" -s "ERROR" > > > > And I get an OK > > > > Then, now I want the opposite, so I do: > > > > ./negate "check_http -H 10.190.8.xxx -p 80 -u "url" -s "ERROR"" > > > > And I get an OK again. If I add the complete path: > > > > ./negate "/opt/nagios/libexec/check_http -H 10.190.8.xxx -p 80 -u "url" > > -s > > "ERROR"" > > > > I continuous get an OK... > > > > What is wrong? > > > > Thanks > > > > -- > Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org Thu Feb 1 15:01:18 2007 From: trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org (trevor obba) Date: Thu, 1 Feb 2007 14:01:18 +0000 (GMT) Subject: nagios unable to set threshold for warning and critical alert Message-ID: <745333.51153.qm@web23308.mail.ird.yahoo.com> I am trying to monitor Microsoft Exchange 2003 ?SMTP Remote Queue Length? using Nagios check_nt plug-in like ./check_nt -H 192.168.x.x -p 1248 -s password -v Counter -l "\\SMTP Server(_Total)\\Remote Queue Length" The above work fine but I would like nagios to indicate a warning when SMTP remote queue is 50 and critical when 100 mails, is queued on the remote queue. As a result I added the options ??w 50 and ?c 100? like this ./check_nt -H 192.168.x.x -p 1248 -s password -v Counter -l "\\SMTP Server(_Total)\\Remote Queue Length" ?w 50 ?c 100 Unfortunately, the check_nt seem to ignore the warning and critical thresholds. How can I set thresholds on SMTP Remote Queue Length? What am I doing rough? Can you help? Please Thanks ___________________________________________________________ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sergio at gridshield.net Thu Feb 1 15:24:12 2007 From: sergio at gridshield.net (Sergio Guzman) Date: Thu, 1 Feb 2007 08:24:12 -0600 Subject: NEXSM In-Reply-To: References: Message-ID: On Jan 31, 2007, at 11:19 PM, Herman (ISTD) wrote: > Anyone ever successfully use nexsm for Nagios front display ? I am > trying to use it to enable several views of NSM map. And I already > installed the Java WebStart and signed all the jar. However when > all jar are downloaded and ran, nothing appeared. When I checked > java console log : Did you compile the code or downloaded the nexsm.jar? It seems it doesn't find a file for ImageIcon. -- Sergio Guzm?n -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org Thu Feb 1 18:03:27 2007 From: trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org (trevor obba) Date: Thu, 1 Feb 2007 17:03:27 +0000 (GMT) Subject: nagios check_nt help Message-ID: <20070201170327.52611.qmail@web23314.mail.ird.yahoo.com> Using check_nt I can check the average mail delivered on my windows exchange 2003 but 1) How do I place in description? so that the description appears in nagios ?Status Information? 2) How do I set threshold? so that nagios alert a warning and critical Here the command am using check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Messages Delivered/min" I tried to set threshold with those option ?w 100 ?c 200 but this option did not work I also tried setting a description by putting ,?Average mail delivered? but this did not work either. I placed in a description like check_nt -H xxx.xxx.xxx.xxx -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Messages Delivered/min", Average mail delivered? but those did not work either. Can you help? Please Thanks ___________________________________________________________ Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Thu Feb 1 19:57:38 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Thu, 1 Feb 2007 13:57:38 -0500 Subject: Adding hosts and services In-Reply-To: <302ce8b50701311833w6ac0e2c8hce4ae690e2617978@mail.gmail.com> References: <7abcf48e0701311435oeeaac5ekb74274b9181fceeb@mail.gmail.com> <302ce8b50701311833w6ac0e2c8hce4ae690e2617978@mail.gmail.com> Message-ID: <7abcf48e0702011057m4c7993e9x107257f26b36eda2@mail.gmail.com> yeah i can create subdirectory for hosts and services and make a pointer in nagios.cfg but let me ask you could you have multiple host.cfg files and service.cfg files on the local host for example splitting hosts into areas and serivces into regions also my cpu is spiking in terms of processing i wonder if thats caused by my updated of host and services that are in the same files.??? On 1/31/07, Jim Perrin wrote: > > On 1/31/07, Nedim Bicic wrote: > > Hey i am running nagios 2.4 > > You may wish to consider updating. > > > The way i am updating by adding hosts to host cfg file and service.cfgfile > > is ther another way or a template that can be easily updated into by > linux > > box > > now when i open my host file the text like froze it doesnt appear like > its > > thinking or something > > any advise on this would be helpful > > You don't have to have all the hosts in one file and all the services > in another. > I have a hosts dir, in which I have subdirs for other locations I > monitor. Inside these I have the host.cfg files calling a template > from my templates directory as needed. Each hosts file contains all > the info for that host, including services, and extended information. > > You can set this up any way you wish. It's all about what works best for > you. > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Thu Feb 1 20:02:11 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Thu, 01 Feb 2007 13:02:11 -0600 Subject: Adding hosts and services In-Reply-To: <7abcf48e0702011057m4c7993e9x107257f26b36eda2@mail.gmail.com> References: <7abcf48e0701311435oeeaac5ekb74274b9181fceeb@mail.gmail.com> <302ce8b50701311833w6ac0e2c8hce4ae690e2617978@mail.gmail.com> <7abcf48e0702011057m4c7993e9x107257f26b36eda2@mail.gmail.com> Message-ID: <45C23933.7040503@epsiia.com> Nedim Bicic wrote: > yeah i can create subdirectory for hosts and services and make a pointer in > nagios.cfg but let me ask you could you have multiple host.cfg files and > service.cfg files on the local host > > for example splitting hosts into areas and serivces into regions > > also my cpu is spiking in terms of processing i wonder if thats caused > by my > updated of host and services that are in the same files.??? > Hi, If you define a cfg_dir, then it reads anything in that dir w/ a .cfg extension. So yes, you can split it into as many files as you like. >From the nagios.cfg: # You can also tell Nagios to process all config files (with a .cfg # extension) in a particular directory by using the cfg_dir # directive as shown below: #cfg_dir=/etc/nagios/servers #cfg_dir=/etc/nagios/printers #cfg_dir=/etc/nagios/switches #cfg_dir=/etc/nagios/routers - Josh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at teamITS.com Thu Feb 1 20:45:49 2007 From: steve at teamITS.com (Steve Yates) Date: Thu, 1 Feb 2007 13:45:49 -0600 Subject: Active vs. passive checks; host won't check Message-ID: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DAEE7@server1.its.local> Hi, I'm a relative newbie to Nagios though I have v2.5 set up, running, and a couple dozen hosts defined. I set it up using Monarch. Nagios is being used to monitor external hosts (that are not running Nagios) for uptime and POP/HTTP/etc. services using check-host-alive and check_http, etc. Parent relationships are defined (internal router->ext. router->host). I have two questions, and the first may help to answer the second. I've never been too sure about the difference between active and passive checks. What is the difference? Is there a correct time to use one or the other? I have one host (a router) that will not check. Status=PENDING ("Host has not been checked yet") forever. Active and passive checks are both enabled. It is a router, so there are no other services. Also I used Monarch to clone it from another router's host definition that was working. Any ideas on why it wouldn't be checking? I can ping it's IP. Thanks, - Steve Yates - ITS, Inc. - You can fool too many of the people too much of the time. ~ Taglines by Taglinator - www.srtware.com ~ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Feb 1 21:26:18 2007 From: aaron.segura at cabelas.com (Aaron Segura) Date: Thu, 01 Feb 2007 13:26:18 -0700 Subject: Active vs. passive checks; host won't check In-Reply-To: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DAEE7@server1.its.local> References: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DAEE7@server1.its.local> Message-ID: <1170361578.7243.38.camel@ubuntastic> http://nagios.sourceforge.net/docs/2_0/checkscheduling.html#normal_scheduling On Thu, 2007-02-01 at 13:45 -0600, Steve Yates wrote: > Hi, > > I'm a relative newbie to Nagios though I have v2.5 set up, > running, and a couple dozen hosts defined. I set it up using Monarch. > Nagios is being used to monitor external hosts (that are not running > Nagios) for uptime and POP/HTTP/etc. services using check-host-alive and > check_http, etc. Parent relationships are defined (internal > router->ext. router->host). > > I have two questions, and the first may help to answer the > second. I've never been too sure about the difference between active > and passive checks. What is the difference? Is there a correct time to > use one or the other? > > I have one host (a router) that will not check. Status=PENDING > ("Host has not been checked yet") forever. Active and passive checks > are both enabled. It is a router, so there are no other services. Also > I used Monarch to clone it from another router's host definition that > was working. Any ideas on why it wouldn't be checking? I can ping it's > IP. > > Thanks, > > - Steve Yates > - ITS, Inc. > - You can fool too many of the people too much of the time. > > ~ Taglines by Taglinator - www.srtware.com ~ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 1 21:28:16 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Feb 2007 14:28:16 -0600 Subject: Active vs. passive checks; host won't check Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Steve Yates > Sent: Thursday, February 01, 2007 1:46 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Active vs. passive checks; host won't check > [chop] > I have two questions, and the first may help to answer the > second. I've never been too sure about the difference between active > and passive checks. What is the difference? Is there a correct time to > use one or the other? Active checks are initiated by nagios itself. The plugin runs on your nagios machine and actively checks the status of some service. Passive checks are received by nagios from an external source and not initiated by nagios. Passive checks are often utilized in distributed monitoring where you may have one or more other nagios installations performing checks and sending the results of those checks back to a central nagios server. Another use for passive checks would be to receive check results from a script that is running on a machine that isn't directly accessible by nagios due to a firewall or other circumstance. > I have one host (a router) that will not check. Status=PENDING > ("Host has not been checked yet") forever. Active and passive checks > are both enabled. It is a router, so there are no other services. Also > I used Monarch to clone it from another router's host definition that > was working. Any ideas on why it wouldn't be checking? I can ping it's > IP. Under normal configurations, hosts are never checked until a service on the host fails. No service, no host checks ever. You must define at least one service for every host if you want it to be checked. This requirement is likely to change with nagios-3. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at teamITS.com Thu Feb 1 21:44:34 2007 From: steve at teamITS.com (Steve Yates) Date: Thu, 1 Feb 2007 14:44:34 -0600 Subject: Active vs. passive checks; host won't check In-Reply-To: References: Message-ID: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DAEF1@server1.its.local> Marc Powell <> wrote on Thursday, February 01, 2007 2:28 PM: > You must define at > least one service for every host if you want it to be checked. This > requirement is likely to change with nagios-3. Thanks to all the respondees. I'd vote for that change as it seems counterintuitive to me to not check the status of something that Nagios knows is important (parent or grandparent to all other hosts), and also the average router doesn't really run a "service" IMHO, though ping would have to work to check the status anyway, I think. Sounds like I need to set up a host profile for routers that has at least the ping service. As for active/passive, what you all describe makes sense. It's just not documented that I could find. The "Service Check Scheduling" doc page for instance doesn't contain the word "active," nor does "Determining Status and Reachability of Network Hosts." - Steve Yates - ITS, Inc. - I went to a bookstore and asked the saleswoman, "Where's the self-help section?" She said if she told me, it would defeat the purpose. ~ Taglines by Taglinator - www.srtware.com ~ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 1 21:48:16 2007 From: marc at ena.com (Marc Powell) Date: Thu, 1 Feb 2007 14:48:16 -0600 Subject: Active vs. passive checks; host won't check Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Steve Yates > Sent: Thursday, February 01, 2007 2:45 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Active vs. passive checks; host won't check > > Marc Powell <> wrote on Thursday, February 01, 2007 2:28 PM: > > ping would have to work to check the status anyway, I think. Sounds > like I need to set up a host profile for routers that has at least the > ping service. This is usually recommended. > As for active/passive, what you all describe makes sense. It's > just not documented that I could find. The "Service Check Scheduling" http://nagios.sourceforge.net/docs/2_0/passivechecks.html -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Feb 1 23:03:39 2007 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 01 Feb 2007 20:03:39 -0200 Subject: How to bypass motd in check_by_ssh In-Reply-To: <782302.11523.qm@web62413.mail.re1.yahoo.com> References: <782302.11523.qm@web62413.mail.re1.yahoo.com> Message-ID: <1170367419.9518.0.camel@localhost> >From check_by_ssh --help: -S, --skiplines=n Ignore first n lines on STDERR (to suppress a logon banner) HTH. PS: Vc estudou no senac? On Wed, 2007-01-31 at 22:18 -0800, Nelson Serafica wrote: > I tried to create in one of my remote pc but it still occurs. I just > touch .hushlogin in my remote's home directory. Then tried to login > from my pc to remote but motd still occurs. > > > ----- Original Message ---- > From: "Frost, Mark {PBG}" > To: Nelson Serafica ; > nagios-users at lists.sourceforge.net > Sent: Wednesday, January 31, 2007 8:56:49 PM > Subject: RE: [Nagios-users] How to bypass motd in check_by_ssh > > Most Unix flavors I've ever seen allow you to create a ".hushlogin" > file in that particular user's home directory to suppress printing of > the motd for that particular user at login time. > > touch ~/.hushlogin > > for that user and that user will never see the motd. > > Mark > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net on behalf of Nelson > Serafica > Sent: Wed 1/31/2007 2:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to bypass motd in check_by_ssh > > HI to all, > > Is there a way I can bypass motd of ssh? I cannot execute plugins if > there's a motd in my ssh. However, when I disable it, I can execute > the plugins. But the thing is, I do not want to disable mthe motd in > the server. I tried the option "-S 500" in check_by_ssh but still > problem occurs. Please help > > > > > > ____________________________________________________________________________________ > Do you Yahoo!? > Everyone is raving about the all-new Yahoo! Mail beta. > http://new.mail.yahoo.com > > > > > > > ______________________________________________________________________ > Need Mail bonding? > Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at teamITS.com Thu Feb 1 23:07:05 2007 From: steve at teamITS.com (Steve Yates) Date: Thu, 1 Feb 2007 16:07:05 -0600 Subject: Enabling active checks Message-ID: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DAEFE@server1.its.local> This may be more of a Monarch question, but one thing that probably helped confuse me about active checks are that if I have a host defined in Monarch with "Active checks enabled" checked, within Nagios itself the Host Detail and Information pages seems to show new hosts with Active Checks:DISABLED. I can click the "Enable active checks of this host" link but I'm not sure why or if I have to? I say "if" because on the one router to which I just added the Ping service, it has now been checked and the status is UP yet it shows Active Checks:DISABLED. Thanks, - Steve Yates - ITS, Inc. - No, I'm not elitist. What's it to you, peasant? ~ Taglines by Taglinator - www.srtware.com ~ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Fri Feb 2 00:22:48 2007 From: MPetersen at gs1us.org (Petersen, Mark) Date: Thu, 1 Feb 2007 17:22:48 -0600 Subject: Passive checks show up as disabled Message-ID: <115F9F24033E1E4AB338024BDF9646F0055B81@chilms1002.UCCORG.org> Hello, I followed all the advise here - http://nagios.org/faqs/viewfaq.php?faq_id=271&expand=false&showdesc=fals e including getting rid of the state retention file, adding check_freshness, freshness_threshold and defining the check_command as service-is-stale (which is setup to warn that service hasn't reported for awhile.) Yet, for some reason I still show passive checks as "disabled" services in the tactical overview. Running Nagios 2.4-1 package on Ubuntu 6.10 on amd64 hardware. Thanks, mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Fri Feb 2 05:45:34 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Thu, 1 Feb 2007 23:45:34 -0500 Subject: Adding hosts and services In-Reply-To: <45C23933.7040503@epsiia.com> References: <7abcf48e0701311435oeeaac5ekb74274b9181fceeb@mail.gmail.com> <302ce8b50701311833w6ac0e2c8hce4ae690e2617978@mail.gmail.com> <7abcf48e0702011057m4c7993e9x107257f26b36eda2@mail.gmail.com> <45C23933.7040503@epsiia.com> Message-ID: <7abcf48e0702012045r4fd25384r7319e3ba80e14a90@mail.gmail.com> yeah i totally forgot about this let me ask you in order for nagios to see and compile these host files and services for example for I would uncomment bellow line in nagios.cfg #cfg_dir=/etc/nagios/routers create this extension in nagios give it full permission on the directory folder and file and it hould work ?? does that sound about right?? thanks On 2/1/07, Josh Yost wrote: > > Nedim Bicic wrote: > > yeah i can create subdirectory for hosts and services and make a pointer > in > > nagios.cfg but let me ask you could you have multiple host.cfg files and > > service.cfg files on the local host > > > > for example splitting hosts into areas and serivces into regions > > > > also my cpu is spiking in terms of processing i wonder if thats caused > > by my > > updated of host and services that are in the same files.??? > > > > Hi, > If you define a cfg_dir, then it reads anything in that dir w/ a .cfg > extension. So yes, you can split it into as many files as you like. > > From the nagios.cfg: > > # You can also tell Nagios to process all config files (with a .cfg > # extension) in a particular directory by using the cfg_dir > # directive as shown below: > > #cfg_dir=/etc/nagios/servers > #cfg_dir=/etc/nagios/printers > #cfg_dir=/etc/nagios/switches > #cfg_dir=/etc/nagios/routers > > > - Josh > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Feb 2 06:10:53 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 02 Feb 2007 06:10:53 +0100 Subject: ascii frontend Message-ID: <45C2C7DD.6050709@telcotec.se> Hi List, Does anyone know of an ascii/text/curses frontend to nagios. ("dialog" based maybe?) I have a situation were I don't have other than ssh access to the box and need to be able to get some sort of overview from a textbased frontend to nagios once logged in. Failing that, any ideas? Is there a published API for the frontend? Any thoughts appreciated. R /Lars ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Feb 2 06:42:11 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 02 Feb 2007 06:42:11 +0100 Subject: ascii frontend In-Reply-To: <20070202052914.GA48430@sysmon.tcworks.net> References: <45C2C7DD.6050709@telcotec.se> <20070202052914.GA48430@sysmon.tcworks.net> Message-ID: <45C2CF33.7000106@telcotec.se> Scott Lambert wrote: > On Fri, Feb 02, 2007 at 06:10:53AM +0100, Lars Stavholm wrote: >> Hi List, >> >> Does anyone know of an ascii/text/curses frontend to nagios. >> ("dialog" based maybe?) >> >> I have a situation were I don't have other than ssh access >> to the box and need to be able to get some sort of overview >> from a textbased frontend to nagios once logged in. > > Are you talking about configuring Nagios? Nop. I'm a vi fan:) > Or, viewing the web interface? Yes, or to get some simplified overview, not necessarily the web interface. > The web interface works in w3m, lynx, ... Yes, I know, I tried lynx, and although it is readable, it's not the simplified overview that I'm looking for. We aim to put this in the hands of end users that might not be fluent in interpreting the lynx output. > Or are you thinking along the lines of nagiostat? Don't know what that is, I'll have a look. Cheers /Lars ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Feb 2 06:45:30 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 02 Feb 2007 06:45:30 +0100 Subject: ascii frontend In-Reply-To: <45C2CF33.7000106@telcotec.se> References: <45C2C7DD.6050709@telcotec.se> <20070202052914.GA48430@sysmon.tcworks.net> <45C2CF33.7000106@telcotec.se> Message-ID: <45C2CFFA.8060604@telcotec.se> Lars Stavholm wrote: > Scott Lambert wrote: >> On Fri, Feb 02, 2007 at 06:10:53AM +0100, Lars Stavholm wrote: >>> Hi List, >>> >>> Does anyone know of an ascii/text/curses frontend to nagios. >>> ("dialog" based maybe?) >>> >>> I have a situation were I don't have other than ssh access >>> to the box and need to be able to get some sort of overview >>> from a textbased frontend to nagios once logged in. >> Are you talking about configuring Nagios? > > Nop. I'm a vi fan:) > >> Or, viewing the web interface? > > Yes, or to get some simplified overview, > not necessarily the web interface. > >> The web interface works in w3m, lynx, ... > > Yes, I know, I tried lynx, and although it is readable, > it's not the simplified overview that I'm looking for. > We aim to put this in the hands of end users that > might not be fluent in interpreting the lynx output. > >> Or are you thinking along the lines of nagiostat? > > Don't know what that is, I'll have a look. Nop, nagiostat is a graphical trend tool. /L ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From santhosha at rsi.ramco.com Fri Feb 2 07:01:14 2007 From: santhosha at rsi.ramco.com (Santhosh Kumar A (RRT).) Date: Fri, 2 Feb 2007 11:31:14 +0530 Subject: ascii frontend Message-ID: Have u checked the 'nagcon' on nagiosexchange... I haven't tried, seems like what u r looking for http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_vi ew]=353&tx_netnagext_pi1[page]=0%3A10 Santhosh -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lars Stavholm Sent: Friday, February 02, 2007 11:16 AM To: nagios-users at lists.sourceforge.net Cc: Scott Lambert Subject: Re: [Nagios-users] ascii frontend Lars Stavholm wrote: > Scott Lambert wrote: >> On Fri, Feb 02, 2007 at 06:10:53AM +0100, Lars Stavholm wrote: >>> Hi List, >>> >>> Does anyone know of an ascii/text/curses frontend to nagios. >>> ("dialog" based maybe?) >>> >>> I have a situation were I don't have other than ssh access >>> to the box and need to be able to get some sort of overview >>> from a textbased frontend to nagios once logged in. >> Are you talking about configuring Nagios? > > Nop. I'm a vi fan:) > >> Or, viewing the web interface? > > Yes, or to get some simplified overview, > not necessarily the web interface. > >> The web interface works in w3m, lynx, ... > > Yes, I know, I tried lynx, and although it is readable, > it's not the simplified overview that I'm looking for. > We aim to put this in the hands of end users that > might not be fluent in interpreting the lynx output. > >> Or are you thinking along the lines of nagiostat? > > Don't know what that is, I'll have a look. Nop, nagiostat is a graphical trend tool. /L ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null DISCLAIMER: Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission. If you have received this e-mail in error, please notify us immediately at mail to: mailadmin at rsi.ramco.com and delete this mail from your records. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Feb 2 07:02:33 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 02 Feb 2007 07:02:33 +0100 Subject: ascii frontend In-Reply-To: References: Message-ID: <45C2D3F9.4060007@telcotec.se> Santhosh Kumar A (RRT). wrote: > Have u checked the 'nagcon' on nagiosexchange... > > I haven't tried, seems like what u r looking for Yes, that will fit the bill. Thanks /Lars > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lars > Stavholm > Sent: Friday, February 02, 2007 11:16 AM > To: nagios-users at lists.sourceforge.net > Cc: Scott Lambert > Subject: Re: [Nagios-users] ascii frontend > > Lars Stavholm wrote: >> Scott Lambert wrote: >>> On Fri, Feb 02, 2007 at 06:10:53AM +0100, Lars Stavholm wrote: >>>> Hi List, >>>> >>>> Does anyone know of an ascii/text/curses frontend to nagios. >>>> ("dialog" based maybe?) >>>> >>>> I have a situation were I don't have other than ssh access >>>> to the box and need to be able to get some sort of overview >>>> from a textbased frontend to nagios once logged in. >>> Are you talking about configuring Nagios? >> Nop. I'm a vi fan:) >> >>> Or, viewing the web interface? >> Yes, or to get some simplified overview, >> not necessarily the web interface. >> >>> The web interface works in w3m, lynx, ... >> Yes, I know, I tried lynx, and although it is readable, >> it's not the simplified overview that I'm looking for. >> We aim to put this in the hands of end users that >> might not be fluent in interpreting the lynx output. >> >>> Or are you thinking along the lines of nagiostat? >> Don't know what that is, I'll have a look. > > Nop, nagiostat is a graphical trend tool. > /L > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > DISCLAIMER: > > Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. > > Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission. > > If you have received this e-mail in error, please notify us immediately at mail to: mailadmin at rsi.ramco.com and delete this mail from your records. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail. > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Fri Feb 2 08:07:22 2007 From: ratty at they.org (frank) Date: Thu, 1 Feb 2007 23:07:22 -0800 (PST) Subject: ascii frontend In-Reply-To: <45C2C7DD.6050709@telcotec.se> References: <45C2C7DD.6050709@telcotec.se> Message-ID: On Fri, 2 Feb 2007, Lars Stavholm wrote: > Hi List, > > Does anyone know of an ascii/text/curses frontend to nagios. > ("dialog" based maybe?) > > I have a situation were I don't have other than ssh access > to the box and need to be able to get some sort of overview > from a textbased frontend to nagios once logged in. > > Failing that, any ideas? > Is there a published API for the frontend? > > Any thoughts appreciated. > > R > /Lars Other people have mentioned console tools so I won't bother. But did you know that with ssh access you have access to every port on the remote machine? SSH(1) -L [bind_address:]port:host:hostport Specifies that the given port on the local (client) host is to be forwarded to the given host and port on the remote side. This works by allocating a socket to listen to port on the local side, optionally bound to the specified bind_address. Whenever a con- nection is made to this port, the connection is forwarded over the secure channel, and a connection is made to host port hostport from the remote machine. ssh -L 8080:localhost:80 your-nagios-box http://localhost:8080/ So here you're hitting port 8080 on your desktop machine and the packets are getting sent over your SSH connection to the HTTP port on the nagios server. If the HTTP server on the nagios box isn't bound to localhost you'll have to specify (in the ssh command) the hostname or IP that it is bound to. ('netstat -tnl | grep :80' can help you find out) Windows ssh clients such as PuTTY can also do port forwarding. -f ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gopinath.u at gmail.com Fri Feb 2 09:49:40 2007 From: gopinath.u at gmail.com (Gopinath) Date: Fri, 2 Feb 2007 14:19:40 +0530 Subject: Cannot see status map - HTTP 404 file not found error. In-Reply-To: References: Message-ID: Hi, Even after installing the necessary libraries and compiling/configuring nagios again as per the instructions seen in FAQ, I am unable to view the statusmap/trends/histogram. Still facing the same problem. Is there anything more i need to do? please advise. Thanks & Regards, Gopinath.U On 1/31/07, Carsten Koop wrote: > > > Hi, > > please have a look at the Nagios-FAQ. > There is an article about the statusmap and http-404 errors. > -> > http://www.nagios.org/faqs/viewfaq.php?faq_id=55&expand=false&showdesc=false > > Mit freundlichen Gr??en / best regards > > Carsten Koop > > > > *Gopinath * > Gesendet von: nagios-users-bounces at lists.sourceforge.net > > 31.01.2007 15:50 > An > nagios-users at lists.sourceforge.net Kopie > Thema > [Nagios-users] Cannot see status map - HTTP 404 file not found > error. > > > > > Hi everyone, > > I have installed nagios 2.6 & plugins successfully as per the instructions > given in the manual. Now when i click on the "status map" on the left pane > of the nagios web interface, I see page HTTP 404 - File not found error. I > think i am missing some cgi file like " statusmap.cgi". But i am able to > see the 3-D status map (i have got statuswrl.cgi in place). I encounter > same type of HTTP 404 error while accessing "Trends" and "availability" > options in the web interface. Please guide me on solving this problem. > > Thanks & Regards, > Gopinath.U > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Feb 2 11:23:57 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 02 Feb 2007 11:23:57 +0100 Subject: ascii frontend In-Reply-To: References: <45C2C7DD.6050709@telcotec.se> Message-ID: <45C3113D.20004@telcotec.se> frank wrote: > On Fri, 2 Feb 2007, Lars Stavholm wrote: > >> Hi List, >> >> Does anyone know of an ascii/text/curses frontend to nagios. >> ("dialog" based maybe?) >> >> I have a situation were I don't have other than ssh access >> to the box and need to be able to get some sort of overview >> from a textbased frontend to nagios once logged in. >> >> Failing that, any ideas? >> Is there a published API for the frontend? >> >> Any thoughts appreciated. >> >> R >> /Lars > > Other people have mentioned console tools so I won't bother. > > But did you know that with ssh access you have access to every port on > the remote machine? Yes, thank you, the ssh tunneling solution has been considered. The lines we are using do use ssh, but with no tunneling capabilities built in. Also, there's too many hops before we get to the target machine to make that solution feasible. Thanks /Lars > SSH(1) > > -L [bind_address:]port:host:hostport > Specifies that the given port on the local (client) host is to be > forwarded to the given host and port on the remote side. This > works by allocating a socket to listen to port on the local side, > optionally bound to the specified bind_address. Whenever a con- > nection is made to this port, the connection is forwarded over > the secure channel, and a connection is made to host port > hostport from the remote machine. > > ssh -L 8080:localhost:80 your-nagios-box > > http://localhost:8080/ > > So here you're hitting port 8080 on your desktop machine and the packets > are getting sent over your SSH connection to the HTTP port on the nagios > server. > > If the HTTP server on the nagios box isn't bound to localhost you'll > have to specify (in the ssh command) the hostname or IP that it is bound > to. > ('netstat -tnl | grep :80' can help you find out) > > Windows ssh clients such as PuTTY can also do port forwarding. > > -f > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Fri Feb 2 13:17:08 2007 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 2 Feb 2007 07:17:08 -0500 Subject: Cannot see status map - HTTP 404 file not found error. In-Reply-To: References: Message-ID: <302ce8b50702020417x584d6e15w38f2c3defbee960d@mail.gmail.com> > Even after installing the necessary libraries and compiling/configuring nagios again as per the instructions seen in FAQ, I am unable to view the statusmap/trends/histogram. Still facing the same problem. Is there anything more i need to do? please advise. Have you checked to make sure that the cgi file exists? What is in the error logs for apache? Are you certain that you have all the build prerequisites installed? What distribution are you installing this on? -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gopinath.u at gmail.com Fri Feb 2 14:32:02 2007 From: gopinath.u at gmail.com (Gopinath) Date: Fri, 2 Feb 2007 19:02:02 +0530 Subject: Cannot see status map - HTTP 404 file not found error. In-Reply-To: <302ce8b50702020417x584d6e15w38f2c3defbee960d@mail.gmail.com> References: <302ce8b50702020417x584d6e15w38f2c3defbee960d@mail.gmail.com> Message-ID: Hi, Thanks for the reply. I finally fixed it up. I included the neccessary path in ld.so.conf and ran ldconfig and then configured nagios with --with-gd-lib & --with-gd-inc options. By the way the required cgi files were missing earlier (now i got those) & necessary prequisties were installed already before installing nagios and I am running linux fc3. Thanks Gopinath On 2/2/07, Jim Perrin wrote: > > > Even after installing the necessary libraries and compiling/configuring > nagios again as per the instructions seen in FAQ, I am unable to view the > statusmap/trends/histogram. Still facing the same problem. Is there anything > more i need to do? please advise. > > Have you checked to make sure that the cgi file exists? What is in the > error logs for apache? Are you certain that you have all the build > prerequisites installed? What distribution are you installing this on? > > -- > During times of universal deceit, telling the truth becomes a > revolutionary act. > George Orwell > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Feb 2 17:24:05 2007 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 02 Feb 2007 10:24:05 -0600 Subject: ascii frontend In-Reply-To: <45C2C7DD.6050709@telcotec.se> References: <45C2C7DD.6050709@telcotec.se> Message-ID: <200702021624.l12GO54b009425@ginseng.hep.wisc.edu> Anyone out there remember Rover?! Merit et al used it to manage the Internet/NSFNet back when some of you were in diapers. Smart sysadmins latched on to it in the 80s/early 90s. > Does anyone know of an ascii/text/curses frontend to nagios. > ("dialog" based maybe?) Try Cnagios? It's a clone of the old Rover console for Nagios with perl regexp filtering support. Screenshot... http://noc.hep.wisc.edu/cnagios.html Readme... http://noc.hep.wisc.edu/cnagios.txt Download... ftp://noc.hep.wisc.edu/pub/src/cnagios steve - - - systems & network manager high energy physics university of wisconsin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Fri Feb 2 17:50:48 2007 From: stava at telcotec.se (Lars Stavholm) Date: Fri, 02 Feb 2007 17:50:48 +0100 Subject: ascii frontend In-Reply-To: <200702021624.l12GO54b009425@ginseng.hep.wisc.edu> References: <45C2C7DD.6050709@telcotec.se> <200702021624.l12GO54b009425@ginseng.hep.wisc.edu> Message-ID: <45C36BE8.8010205@telcotec.se> Thanks Steve, looks brilliant. It still amazes me that if you're on the lookout for some functionality that your missing, there's more than likely someone out there that has solved the problem. It looks brilliant from the screen shots, and it's exactly what I need. However, I get build problems on SuSE Linux 10.2: readv1.c: In function ?read_v1_status?: readv1.c:98: error: invalid lvalue in assignment readv1.c:124: error: invalid lvalue in assignment readv1.c:131: error: invalid lvalue in assignment readv1.c:202: error: invalid lvalue in assignment readv1.c:209: error: invalid lvalue in assignment readv2.c: In function ?read_v2_status?: readv2.c:154: error: invalid lvalue in assignment readv2.c:250: error: invalid lvalue in assignment make: *** [cnagios] Error 1 On Solaris 9 (using gcc 3.3.2) It builds nicely once I replaced getopt.h with unistd.h in cnagios.c. Cheers /Lars rader at ginseng.hep.wisc.edu wrote: > Anyone out there remember Rover?! Merit et al used it to manage > the Internet/NSFNet back when some of you were in diapers. Smart > sysadmins latched on to it in the 80s/early 90s. > > > Does anyone know of an ascii/text/curses frontend to nagios. > > ("dialog" based maybe?) > > Try Cnagios? It's a clone of the old Rover console for Nagios > with perl regexp filtering support. > > Screenshot... > > http://noc.hep.wisc.edu/cnagios.html > > Readme... > > http://noc.hep.wisc.edu/cnagios.txt > > Download... > > ftp://noc.hep.wisc.edu/pub/src/cnagios > > steve > - - - > systems & network manager > high energy physics > university of wisconsin > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Feb 2 18:26:10 2007 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 02 Feb 2007 11:26:10 -0600 Subject: ascii frontend In-Reply-To: <45C36BE8.8010205@telcotec.se> References: <45C2C7DD.6050709@telcotec.se> <200702021624.l12GO54b009425@ginseng.hep.wisc.edu> <45C36BE8.8010205@telcotec.se> Message-ID: <200702021726.l12HQAig012858@ginseng.hep.wisc.edu> > From: Lars Stavholm > [...] > It looks brilliant from the screen shots, and it's exactly what I need. > > However, I get build problems on SuSE Linux 10.2: > > readv1.c: In function ???read_v1_status???: > readv1.c:98: error: invalid lvalue in assignment > [...] Yes, I already fixed this problem, but hadn't folded it into the source. Paraphrasing a response to someone else: looks like new-ish anal GCCs doesn't like my old school anal coding, or something like that. Try 0.18 from ftp://noc.hep.wisc.edu/pub/src/cnagios please. steve - - - systems & network manager high energy physics university of wisconsin -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rader at ginseng.hep.wisc.edu Fri Feb 2 21:32:42 2007 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Fri, 02 Feb 2007 14:32:42 -0600 Subject: ascii frontend Message-ID: <200702022032.l12KWgWT020350@ginseng.hep.wisc.edu> > Try 0.18 from > ftp://noc.hep.wisc.edu/pub/src/cnagios Sorry, but please don't try v0.18!! I applied a contributed (s/sprintf/snprintf/) patch without QAing it. Stupid me. Instead, please try v0.19 from the same place.... ftp://noc.hep.wisc.edu/pub/src/cnagios steve - - - systems & network manager high energy physics university of wisconsin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Sat Feb 3 06:20:04 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Sat, 3 Feb 2007 08:20:04 +0300 Subject: Two differenet files hosts.cfg and hostsgroups.cfg in one Nagios Message-ID: <989aee610702022120s7efb1baake0de111e6f186ef4@mail.gmail.com> I need yor help very much I have hostgroup which I need to describe in another configs. Updating script will work only with these files in order not to damage main configs in some case. So I made hosts2.cfg for my group and described it in nagios.cfg as cfg_file parameter. For services I used grouping services for the whole group. So the problem is halfly decided. But I want to ask you can I make another file hostgroups2.cfg ONLY for one group and describe it nagios.cfg as hosts2.cfg? Can Nagios work with two files hostgroups? P.S. I have already read the large book about Nagios. And there I saw some kind of nagios.cfg where there were addidional folder for some logical groups with their own hosts.cfg and services.cfg! But in this sctructure was the only file hostsgroups.cfg for all nagios. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Feb 3 06:39:11 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 3 Feb 2007 00:39:11 -0500 Subject: Two differenet files hosts.cfg andhostsgroups.cfg in one Nagios In-Reply-To: <989aee610702022120s7efb1baake0de111e6f186ef4@mail.gmail.com> References: <989aee610702022120s7efb1baake0de111e6f186ef4@mail.gmail.com> Message-ID: > I need yor help very much > I have hostgroup which I need to describe in another > configs. Updating > script will work only with these files in order not to damage main > configs in some case. So I made hosts2.cfg for my group > and described > it in nagios.cfg as cfg_file parameter. For services I > used grouping > services for the whole group. So the problem is halfly > decided. But I > want to ask you can I make another file hostgroups2.cfg > ONLY for one > group and describe it nagios.cfg as hosts2.cfg? Can Nagios > work with > two files hostgroups? You can have any number of config files, arranged however you want. It doesn't matter. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Feb 3 09:03:47 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 3 Feb 2007 09:03:47 +0100 (CET) Subject: Two differenet files hosts.cfg andhostsgroups.cfg in one Nagios In-Reply-To: References: <989aee610702022120s7efb1baake0de111e6f186ef4@mail.gmail.com> Message-ID: On Sat, 3 Feb 2007, Morris, Patrick wrote: >> I need yor help very much >> I have hostgroup which I need to describe in another >> configs. Updating >> script will work only with these files in order not to damage main >> configs in some case. So I made hosts2.cfg for my group >> and described >> it in nagios.cfg as cfg_file parameter. For services I >> used grouping >> services for the whole group. So the problem is halfly >> decided. But I >> want to ask you can I make another file hostgroups2.cfg >> ONLY for one >> group and describe it nagios.cfg as hosts2.cfg? Can Nagios >> work with >> two files hostgroups? > > You can have any number of config files, arranged however you want. It > doesn't matter. Having said that you can only define each host once. SO you, as an admin, must take care of that. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 wansecurity.com Sat Feb 3 14:29:39 2007 From: lists at wansecurity.com (Robert Smith) Date: Sat, 03 Feb 2007 22:29:39 +0900 Subject: host check parallelization Message-ID: <45C48E43.8080706@wansecurity.com> why cannot host checks be parallelized? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Feb 3 20:16:49 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 3 Feb 2007 14:16:49 -0500 Subject: host check parallelization In-Reply-To: <45C48E43.8080706@wansecurity.com> References: <45C48E43.8080706@wansecurity.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Robert Smith > Sent: Saturday, February 03, 2007 5:30 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host check parallelization > > why cannot host checks be parallelized? That's just the way it was coded. I hear it may change in 3.0, but for now it's that way because it's that way. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at teamITS.com Sat Feb 3 20:23:34 2007 From: steve at teamITS.com (Steve Yates) Date: Sat, 3 Feb 2007 13:23:34 -0600 Subject: Enabling active checks In-Reply-To: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DAEFE@server1.its.local> References: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DAEFE@server1.its.local> Message-ID: <1A9B7C8DD6857F4BB211F63F5BEC60EE0DB07A@server1.its.local> Sorry for disappearing, for some reason I missed all the messages from Friday, and I don't think this one made it to the list... Steve Yates <> wrote on Thursday, February 01, 2007 4:07 PM: > This may be more of a Monarch question, but one thing that > probably helped confuse me about active checks are that if I have a host > defined in Monarch with "Active checks enabled" checked, within Nagios > itself the Host Detail and Information pages seems to show new hosts > with Active Checks:DISABLED. I can click the "Enable active checks of > this host" link but I'm not sure why or if I have to? > > I say "if" because on the one router to which I just added the > Ping service, it has now been checked and the status is UP yet it shows > Active Checks:DISABLED. ...and also it shows "Last Check: N/A" on the host detail page? - Steve Yates - ITS, Inc. - Why doesn't glue stick to the inside of the bottle? ~ Taglines by Taglinator - www.srtware.com ~ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Feb 4 12:46:25 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Sun, 04 Feb 2007 11:46:25 +0000 Subject: servicegroup_name in dependencies Message-ID: <45C5C791.6030702@mailnetwork.co.uk> Can anyone see a problem with this service dependency setup? Nagios complains with a "NULL service description/host name in service dependency definition" message with this configuration, but I cannot see anything wrong myself. According to the manual: --- start man quote --- All Services In Multiple Servicegroups: If you want to create service dependencies for all services that belong in one or more servicegroups, you can do use the servicegroup_name and/or dependent_ servicegroup_name directive as follows: define servicedependency{ servicegroup_name SERVICEGROUP1,SERVICEGROUP2,...,SERVICEGROUPN dependent_servicegroup_name SERVICEGROUP3,SERVICEGROUP4,...SERVICEGROUPN other escalation directives ... } --- end man quote --- I cannot get this to work under Nagios 2.7. In my setup, I have a group called "aseu_web_servers." Every host in that group (currently only one) has a service called "Web Service" which, using NRPE, checks that the local web server is running. I then have a list of 13 websites assigned to a service group called "web_sites". What I'm trying to do is setup a dependency on every website, with the "Web Service" on the host being the master service, so if the web server dies, I don't get a notification for every website that fails. With the above manual excerpt, I figured the following would work: define servicedependency { hostgroup_name aseu_web_servers service_description Web Service dependent_hostgroup_name aseu_web_servers dependent_servicegroup_name web_sites inherits_parent 0 execution_failure_criteria c notification_failure_criteria w,u,c,p } Config check fails with: "NULL service description/host name in service dependency definition" If I change "dependent_servicegroup_name" to "dependent_service_description" and put a single website in, instead of the "web_sites" group, it works, as follows: define servicedependency { hostgroup_name aseu_web_servers service_description Web Service dependent_hostgroup_name aseu_web_servers dependent_service_description Website: www.andyshellam.eu inherits_parent 0 execution_failure_criteria c notification_failure_criteria w,u,c,p } Config check results in "Total Warnings: 0; Total Errors: 0" Even if I set a specific host name instead of a host group, it still complains whenever the "dependent_servicegroup_name" option is used. This means I'll have to add in a service dependency for every website. I cannot use a wildcard in the "dependent_service_description" because there are other services on those servers that don't have a dependency on the web server. If I add a new website, all I want to have to do is add it into the "web_sites" group and have everything else taken care of, which the manual says you can by using the "dependent_servicegroup_name" directive. Is this a bug in Nagios, or can anyone tell me I'm missing something silly? Thanks Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Feb 4 13:12:59 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Sun, 04 Feb 2007 12:12:59 +0000 Subject: Service Dependencies - refer to self Message-ID: <45C5CDCB.9060302@mailnetwork.co.uk> Is there any way to make a service dependency refer to the service's own host? For example: I have a list of services that perform basic health checking (disk-space, swap-space, load, uptime etc) across all servers defined in Nagios. There is also a service on every server that checks that NRPE is running. What I'd like to do is create a service dependency so that all the basic health checks only get checked/notified if NRPE is running. However, I cannot seem to create a dependency that refers to it's own host. E.g. define servicedependency { hostgroup_name all_servers service_description Remote Monitoring Agent dependent_hostgroup_name all_servers dependent_service_description Disk Space (OS) inherits_parent 0 execution_failure_criteria c notification_failure_criteria w,u,c,p } What this does, and I understand why, is that one server's "Disk Space (OS)" service depends on every other server's "Remote Monitoring Agent", instead of just it's own. I'd need something like: define servicedependency { host_name _self service_description Remote Monitoring Agent dependent_host_name _self dependent_service_description Disk Space (OS) inherits_parent 0 execution_failure_criteria c notification_failure_criteria w,u,c,p } So the service "Disk Space (OS)" is dependent on the "Remote Monitoring Agent" on that same server. The only way forward I can see for now is creating a service dependency for every host, for every health check service (which for me means upwards of 40 dependencies.) I hope this is a good enough explanation of what I'm trying to do - can this be done? Thanks Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Feb 4 15:23:03 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 4 Feb 2007 15:23:03 +0100 (CET) Subject: Service Dependencies - refer to self In-Reply-To: <45C5CDCB.9060302@mailnetwork.co.uk> References: <45C5CDCB.9060302@mailnetwork.co.uk> Message-ID: On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: > Is there any way to make a service dependency refer to the service's own > host? In your case I would write a tiny script and generate the service dependencies. I guess some 20 lines of perl might do the trick if you are fluent in perl. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Feb 4 15:44:33 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Sun, 04 Feb 2007 14:44:33 +0000 Subject: Service Dependencies - refer to self In-Reply-To: References: <45C5CDCB.9060302@mailnetwork.co.uk> Message-ID: <45C5F151.9090402@mailnetwork.co.uk> Hugo van der Kooij wrote: > On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: > > >> Is there any way to make a service dependency refer to the service's own >> host? >> > > In your case I would write a tiny script and generate the service > dependencies. I guess some 20 lines of perl might do the trick if you are > fluent in perl. > > Hugo. > > Thanks Hugo, I'll probably do it in PHP as I haven't touched Perl other than the very basics. Was just hoping there may have been an easier way I'd missed in the docs ;) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Sun Feb 4 20:29:10 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Sun, 4 Feb 2007 14:29:10 -0500 Subject: Adding hosts and services In-Reply-To: <7abcf48e0702012045r4fd25384r7319e3ba80e14a90@mail.gmail.com> References: <7abcf48e0701311435oeeaac5ekb74274b9181fceeb@mail.gmail.com> <302ce8b50701311833w6ac0e2c8hce4ae690e2617978@mail.gmail.com> <7abcf48e0702011057m4c7993e9x107257f26b36eda2@mail.gmail.com> <45C23933.7040503@epsiia.com> <7abcf48e0702012045r4fd25384r7319e3ba80e14a90@mail.gmail.com> Message-ID: <7abcf48e0702041129q57224412m14486a30b484ebf6@mail.gmail.com> On 2/1/07, Nedim Bicic wrote: > > yeah i totally forgot about this > > let me ask you in order for nagios to see and compile these host files and > services for example for > I would uncomment bellow line in nagios.cfg > > #cfg_dir=/etc/nagios/routers > > create this extension in nagios give it full permission on the directory > folder and file and it hould work ?? > > does that sound about right?? > > thanks > > > > On 2/1/07, Josh Yost wrote: > > > > Nedim Bicic wrote: > > > yeah i can create subdirectory for hosts and services and make a > > pointer in > > > nagios.cfg but let me ask you could you have multiple host.cfg files > > and > > > service.cfg files on the local host > > > > > > for example splitting hosts into areas and serivces into regions > > > > > > also my cpu is spiking in terms of processing i wonder if thats caused > > > > > by my > > > updated of host and services that are in the same files.??? > > > > > > > Hi, > > If you define a cfg_dir, then it reads anything in that dir w/ a .cfg > > extension. So yes, you can split it into as many files as you like. > > > > From the nagios.cfg: > > > > # You can also tell Nagios to process all config files (with a .cfg > > # extension) in a particular directory by using the cfg_dir > > # directive as shown below: > > > > #cfg_dir=/etc/nagios/servers > > #cfg_dir=/etc/nagios/printers > > #cfg_dir=/etc/nagios/switches > > #cfg_dir=/etc/nagios/routers > > > > > > - Josh > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.fortier at simondelivers.com Sun Feb 4 22:03:46 2007 From: joe.fortier at simondelivers.com (Josef Fortier) Date: Sun, 4 Feb 2007 15:03:46 -0600 Subject: Notification commands Message-ID: <20070204210343.GA22708@simondelivers.com> Hi All: Does anyone have any thoughts on notification best practices? I just wrote a little shell script to use heredocs to send mail. This seems preferable to the cookbook notifications, as it makes the message body a lot more intuitive (you can format the message visually). There's a simple caveat, the environmental variables that the shell sees are all prepended with "NAGIOS_". Looking at this, I added HTML email (multi-part alternative, easy enough). I know there's a script floating around Nagios Exchange to do this, but it did not work for me (I think it was built around an older version of nagios and macros may have changed). Of all this brings up a few questions I'd like to bounce off the mailing list. 1) Is there a compelling reason to stick with the one-line sendmail/printf notifications? I can't think of any (they already shell out, so the approaches seem functionally very close). 2) Would it make sense to build a smarter version. The first idea that occurs to me is to build it to recognize HOST vs SERVICE messages transparently. Thinking about this some more, and this seems like a fairly clean way to build "business logic" into the notifications (i.e., indicating specialized escalation information for certain cases). 3) Is anyone else interested in posting a version of this to the Nagios Exchange? Joe -- _______________________________________________________________________ Josef Fortier Network Administrator _______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmartin at gmartin.org Mon Feb 5 04:31:08 2007 From: gmartin at gmartin.org (Greg Martin) Date: Sun, 04 Feb 2007 22:31:08 -0500 Subject: ascii frontend In-Reply-To: <200702021624.l12GO54b009425@ginseng.hep.wisc.edu> References: <45C2C7DD.6050709@telcotec.se> <200702021624.l12GO54b009425@ginseng.hep.wisc.edu> Message-ID: <45C6A4FC.40205@gmartin.org> Rover?? I wrote a tool in 92-93 that monitored Banyan VINES server connectivity. It was a shell tool as well (DOS). I called that Rover, as well. Imagine my surprise. \\Greg rader at ginseng.hep.wisc.edu wrote: > Anyone out there remember Rover?! Merit et al used it to manage > the Internet/NSFNet back when some of you were in diapers. Smart > sysadmins latched on to it in the 80s/early 90s. > > > Does anyone know of an ascii/text/curses frontend to nagios. > > ("dialog" based maybe?) > > Try Cnagios? It's a clone of the old Rover console for Nagios > with perl regexp filtering support. > > Screenshot... > > http://noc.hep.wisc.edu/cnagios.html > > Readme... > > http://noc.hep.wisc.edu/cnagios.txt > > Download... > > ftp://noc.hep.wisc.edu/pub/src/cnagios > > steve > - - - > systems & network manager > high energy physics > university of wisconsin > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Mon Feb 5 05:43:50 2007 From: moshesharon at gmail.com (moshe sharon) Date: Mon, 5 Feb 2007 06:43:50 +0200 Subject: Service Dependencies - refer to self In-Reply-To: <45C5F151.9090402@mailnetwork.co.uk> References: <45C5CDCB.9060302@mailnetwork.co.uk> <45C5F151.9090402@mailnetwork.co.uk> Message-ID: <88ad29240702042043w7459fd6vf8033db2a94b59c9@mail.gmail.com> Hi its pretty simple solution without perl script. create a service called NRPE and enter the following check_command command_name nrpe_version command_line ./check_nrpe -H 212.150.36.20 when running this command against NRPE daemon you should get response "NRPE v2.0" now create your dependencies that this NRPE is the master server and the other dependent on it. Hope it Help Moshe Sharon http://www.centerity.com On 2/4/07, Andy Shellam (Mailing Lists) < andy.shellam-lists at mailnetwork.co.uk> wrote: > > Hugo van der Kooij wrote: > > On Sun, 4 Feb 2007, Andy Shellam (Mailing Lists) wrote: > > > > Is there any way to make a service dependency refer to the service's own > host? > > > In your case I would write a tiny script and generate the service > dependencies. I guess some 20 lines of perl might do the trick if you are > fluent in perl. > > Hugo. > > > > > Thanks Hugo, I'll probably do it in PHP as I haven't touched Perl other > than the very basics. > Was just hoping there may have been an easier way I'd missed in the docs > ;) > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Feb 5 07:41:12 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 5 Feb 2007 07:41:12 +0100 (CET) Subject: [FRAUD] [DISARMED] Re: Service Dependencies - refer to self In-Reply-To: <88ad29240702042043w7459fd6vf8033db2a94b59c9@mail.gmail.com> References: <45C5CDCB.9060302@mailnetwork.co.uk> <45C5F151.9090402@mailnetwork.co.uk> <88ad29240702042043w7459fd6vf8033db2a94b59c9@mail.gmail.com> Message-ID: On Mon, 5 Feb 2007, moshe sharon wrote: > its pretty simple solution without perl script. create a service called NRPE > > and enter the following check_command > command_name nrpe_version > command_line ./check_nrpe -H 212.150.36.20 > > when running this command against NRPE daemon you should get response "NRPE > v2.0" > > now create your dependencies that this NRPE is the master server and the > other dependent on it. How will this help if one has 40 servers with each machine running NRPE? And where one wants each service on a machine being dependent on the NRPE instance of that machine only? It might work but you do not explain why it might work which I think would be vital information in this regard. And putting a dependency on someone elses NRPE server without knowing the person would not be a wise move in my view. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Feb 5 09:23:53 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 05 Feb 2007 08:23:53 +0000 Subject: Service Dependencies - refer to self In-Reply-To: <88ad29240702042043w7459fd6vf8033db2a94b59c9@mail.gmail.com> References: <45C5CDCB.9060302@mailnetwork.co.uk> <45C5F151.9090402@mailnetwork.co.uk> <88ad29240702042043w7459fd6vf8033db2a94b59c9@mail.gmail.com> Message-ID: <45C6E999.7080800@mailnetwork.co.uk> moshe sharon wrote: > Hi > > its pretty simple solution without perl script. create a service > called NRPE > and enter the following check_command > command_name nrpe_version > command_line ./check_nrpe -H 212.150.36.20 > > when running this command against NRPE daemon you should get response > "NRPE v2.0" > > now create your dependencies that this NRPE is the master server and > the other dependent on it. Yes, that's what I've done, but how do you do it by simply defining one dependency to do the same thing across multiple servers? If I use wildcards in the dependency, it makes every NRPE client service depend on every other NRPE server in the network, not just the server that service instance runs on. Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yhasabnis at gmail.com Mon Feb 5 12:08:18 2007 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Mon, 5 Feb 2007 16:38:18 +0530 Subject: check_dirsize and "CHECK_NRPE: Socket timeout" Message-ID: Hi All, I am using nrpe and check_dirsize plugin to monitor the home directory sizes of quite a few users. I receive the error "CHECK_NRPE: Socket timeout after 10 seconds" during the checking of quite a few directories. This error isn't observed at each check or for each directory. It is observed very randomly (say every 3rd check of a directory on an average). The error is observed for the larger directories most of the times. So assuming that the check_dirsize plugin is taking longer to complete the check, I have set the "command_timeout" value to 240 from the original default of 60 in the nrpe.cfg of the remote host. Also changed the service_check_timeout value to 240 in the nagios.cfg on the nagios host. But I still get the error messages quite a few times (not always). What could be the resolution for this error? Secondly, is there any way to always schedule these checks at a specific time. I would like to schedule them after work hours, because I suspect that the access to the host on which these directories are located, becomes slow when these checks are running. Thanks in advance. Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Feb 5 15:28:39 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 05 Feb 2007 14:28:39 +0000 Subject: Nagios Looking Glass 1.0.2 in Beta-testing Message-ID: <45C73F17.5020502@mailnetwork.co.uk> Nagios Looking Glass v1.0.2 Beta is available for download! This is a call for testers to try out 1.0.2 before it is released. The reason being there have been massive performance improvements in the way NLG gathers the data from Nagios, and I'm hoping people who couldn't get 1.0.1 or below working in large environments can test 1.0.2#Beta successfully. 1.0.1 and below didn't display when there were more than 200 servers in Nagios. 1.0.2#Beta takes 6-8 seconds to render 600 servers and 6000 services for the first visit, and 1-2 seconds per subsequent visit (when status data is cached.) It is available to download at www.nagioslookingglass.co.uk/download.phpx#nlg_dev The Important Bits === ========= ==== The official project site is: http://www.nagioslookingglass.co.uk Get the latest release at: http://www.nagioslookingglass.co.uk/download.phpx Available in Windows Zip, and Unix .tar.gz and .tar.bz2 formats. (Beta versions available in Windows Zip only.) To upgrade from a previous version, please see UPGRADING.TXT in the distribution. The Administrator Manual for 1.0.0#PRE still applies on the whole, however the the "server/index" folder also needs write permissions by the web server user on the Nagios server. If you enforce PHP memory limits on the polling server (PHP compiled with --enable-memory-limit), you may need to increase the default 8MB memory limit in php.ini. For 600 servers/6000 metrics, NLG needs 48MB allocating. More Detail ==== ====== NLG is a Web-2.0 browser-based application that works in Firefox, IE, Safari and Konqueror. It shows visitors the status of your network without giving them access to the Nagios CGIs, and starts at a "network summary" view with the options to drill down into servers (hosts) and their metrics (services). NLG can easily be customised to match your company's look and feel, and is ideal for hosting companies who run Nagios. For the full changelog for this version, please see the CHANGELOG.TXT file in the distribution, or visit: http://arctic.andyshellam.eu/index.php?cmd=changelog&project=2&version=12 Please see the 'Support' section on the NLG project website to see the best way to report bugs / request new features etc. To see where NLG is headed in the future, visit: http://arctic.andyshellam.eu/index.php?cmd=roadmap&project=2 Regards, Andy Shellam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edalb1979 at gmail.com Mon Feb 5 15:50:56 2007 From: edalb1979 at gmail.com (edalB) Date: Mon, 5 Feb 2007 16:50:56 +0200 Subject: Nagios not polling httpd Message-ID: Hi there I have a weird problem. I have a server that has a httpd service running off it. When I go to the website on the server I can access it and it works 100% but when I ask nagios to check_http it gives me the following. nagios-0 libexec # ./check_http 10.0.4.37 CRITICAL - Socket timeout after 10 seconds But if I ask it to do it on a other server. it passes. nagios-0 libexec # ./check_http 10.0.4.22 HTTP OK HTTP/1.1 200 OK - 230 bytes in 0.004 seconds |time=0.003537s;;;0.000000 size=230B;;;0 So any help would be apriciated. Regards ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Mon Feb 5 16:19:10 2007 From: lobbin at gmail.com (Robin Ericsson) Date: Mon, 5 Feb 2007 16:19:10 +0100 Subject: Nagios not polling httpd In-Reply-To: References: Message-ID: On 2/5/07, edalB wrote: > Hi there > > I have a weird problem. I have a server that has a httpd service running off it. > When I go to the website on the server I can access it and it works > 100% but when I ask nagios to check_http it gives me the following. > > > nagios-0 libexec # ./check_http 10.0.4.37 > CRITICAL - Socket timeout after 10 seconds What about "telnet 10.0.4.37 80" ? -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Mon Feb 5 16:32:30 2007 From: aaron.segura at cabelas.com (Aaron Segura) Date: Mon, 05 Feb 2007 08:32:30 -0700 Subject: Notification commands In-Reply-To: <20070204210343.GA22708@simondelivers.com> References: <20070204210343.GA22708@simondelivers.com> Message-ID: <1170689551.13289.49.camel@ubuntastic> Did you look at: http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=627 Seems that with a little fancy macro/template work, you could get what you want. We use it for the "Business logic" you mentioned...different chunks of information can be included/excluded depending on the contents of any macro. ?? On Sun, 2007-02-04 at 15:03 -0600, Josef Fortier wrote: > Hi All: > > Does anyone have any thoughts on notification best practices? > > I just wrote a little shell script to use heredocs to send mail. This > seems preferable to the cookbook notifications, as it makes the message > body a lot more intuitive (you can format the message visually). There's > a simple caveat, the environmental variables that the shell sees are all > prepended with "NAGIOS_". > > Looking at this, I added HTML email (multi-part alternative, easy > enough). I know there's a script floating around Nagios Exchange to do > this, but it did not work for me (I think it was built around an older > version of nagios and macros may have changed). > > Of all this brings up a few questions I'd like to bounce off the mailing > list. > > 1) Is there a compelling reason to stick with the one-line > sendmail/printf notifications? I can't think of any (they already > shell out, so the approaches seem functionally very close). > > 2) Would it make sense to build a smarter version. The first idea > that occurs to me is to build it to recognize HOST vs SERVICE > messages transparently. Thinking about this some more, and this > seems like a fairly clean way to build "business logic" into the > notifications (i.e., indicating specialized escalation > information for certain cases). > > 3) Is anyone else interested in posting a version of this to the > Nagios Exchange? > > Joe > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernandoaben-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org Mon Feb 5 19:34:52 2007 From: fernandoaben-PkbjNfxxIARBDgjK7y7TUQ at public.gmane.org (Fernando A Ben) Date: Mon, 05 Feb 2007 18:34:52 +0000 Subject: Nagios Monitor Ms exchange In-Reply-To: <261073.59654.qm-8N6xyrX8Gk7yX4RqAA4FmIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org> References: <261073.59654.qm@web23307.mail.ird.yahoo.com> Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Mon Feb 5 19:52:10 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 5 Feb 2007 13:52:10 -0500 Subject: Running Nagios 1.x and 2.x on the same server Message-ID: <9C63A4713C4E3342B90428CE44806A7302679BDD@PHSXMB5.partners.org> Hi there - I am currently monitoring a group of HP-UX 10.20 systems with out Nagios 1.4 server. A new 2.6 server is being implemented, but the 2.6 NRPE client will not compile on the 10.20 systems. I am not aware of any 2.6 binaries that will work on the 10.20 systems, so the decision was made to continue using a 1.x server to monitor the workstations in question until they get retired. One idea was to have both Nagios 1.x and 2.x running on the same server and have virtual machines set up for both. Aside from compiling and installing the two servers into separate directories, are there any other issues that I should consider before proceeding? Thanks. THE INFORMATION TRANSMITTED IN THIS ELECTRONIC COMMUNICATION IS INTENDED ONLY FOR THE PERSON OR ENTITY TO WHOM 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 INFORMATION IN ERROR, PLEASE CONTACT THE SENDER AND THE PRIVACY OFFICER, AND PROPERLY DISPOSE OF THIS INFORMATION. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Feb 5 20:29:12 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 5 Feb 2007 11:29:12 -0800 Subject: Running Nagios 1.x and 2.x on the same server In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679BDD@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679BDD@PHSXMB5.partners.org> Message-ID: <20070205192912.GZ11333@pmorris.usa.hp.com> On Mon, 05 Feb 2007, Kaplan, Andrew H. wrote: > One idea was to have both Nagios 1.x and 2.x running on the same server and have > virtual machines set up for both. Aside from compiling and installing > > the two servers into separate directories, are there any other issues that I > should consider before proceeding? Thanks. Not really. Just keep the configs, etc., separate, and as long as your machine has the resources to run two, there's no reason you can't. I'd be careful about things like init scripts, and making sure they work on the one you expect them to, but otherwiseit should work fine. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Mon Feb 5 23:07:23 2007 From: knobdy at gmail.com (Brian Loe) Date: Mon, 5 Feb 2007 16:07:23 -0600 Subject: sendpage working - what do your commands look like? Message-ID: <3c4611bc0702051407v105dae54h4d1cd65a418cf09c@mail.gmail.com> What are some of the commands you guys are using for notifications via sendpage? Since I can now page from the command line I'm ready to work on this and since its kind of a well established method I thought I'd avoid re-inventing the wheel like I tried last time. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Mon Feb 5 23:16:42 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 5 Feb 2007 23:16:42 +0100 Subject: sendpage working - what do your commands look like? In-Reply-To: <3c4611bc0702051407v105dae54h4d1cd65a418cf09c@mail.gmail.com> References: <3c4611bc0702051407v105dae54h4d1cd65a418cf09c@mail.gmail.com> Message-ID: <20070205221642.GJ40979251@CIS.FU-Berlin.DE> * Brian Loe [2007-02-05 16:07]: > What are some of the commands you guys are using for notifications via > sendpage? Since I can now page from the command line I'm ready to work > on this and since its kind of a well established method I thought I'd > avoid re-inventing the wheel like I tried last time. We used the following command definitions (we don't use Sendpage anymore): define command { command_name service-notify-by-pager command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $SERVICEDESC$ $SERVICESTATE$ - $HOSTADDRESS$ - $SERVICEOUTPUT$ - $LONGDATETIME$" | /server/sendpage/bin/snpp $CONTACTPAGER$ } define command { command_name host-notify-by-pager command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTSTATE$ - $HOSTOUTPUT$ - $LONGDATETIME$" | /server/sendpage/bin/snpp $CONTACTPAGER$ } Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Mon Feb 5 23:28:32 2007 From: knobdy at gmail.com (Brian Loe) Date: Mon, 5 Feb 2007 16:28:32 -0600 Subject: sendpage working - what do your commands look like? In-Reply-To: <20070205221642.GJ40979251@CIS.FU-Berlin.DE> References: <3c4611bc0702051407v105dae54h4d1cd65a418cf09c@mail.gmail.com> <20070205221642.GJ40979251@CIS.FU-Berlin.DE> Message-ID: <3c4611bc0702051428r11e74170jec77f32248a3994e@mail.gmail.com> What is the "%b" in the misccommands? On 2/5/07, Holger Weiss wrote: > * Brian Loe [2007-02-05 16:07]: > > What are some of the commands you guys are using for notifications via > > sendpage? Since I can now page from the command line I'm ready to work > > on this and since its kind of a well established method I thought I'd > > avoid re-inventing the wheel like I tried last time. > > We used the following command definitions (we don't use Sendpage > anymore): > > define command { > command_name service-notify-by-pager > command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $SERVICEDESC$ $SERVICESTATE$ - $HOSTADDRESS$ - $SERVICEOUTPUT$ - $LONGDATETIME$" | /server/sendpage/bin/snpp $CONTACTPAGER$ > } > > define command { > command_name host-notify-by-pager > command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTSTATE$ - $HOSTOUTPUT$ - $LONGDATETIME$" | /server/sendpage/bin/snpp $CONTACTPAGER$ > } > > Holger ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Mon Feb 5 23:44:55 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 5 Feb 2007 23:44:55 +0100 Subject: sendpage working - what do your commands look like? In-Reply-To: <3c4611bc0702051428r11e74170jec77f32248a3994e@mail.gmail.com> References: <3c4611bc0702051407v105dae54h4d1cd65a418cf09c@mail.gmail.com> <20070205221642.GJ40979251@CIS.FU-Berlin.DE> <3c4611bc0702051428r11e74170jec77f32248a3994e@mail.gmail.com> Message-ID: <20070205224455.GK40979251@CIS.FU-Berlin.DE> * Brian Loe [2007-02-05 16:28]: > On 2/5/07, Holger Weiss wrote: > > define command { > > command_name service-notify-by-pager > > command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $SERVICEDESC$ $SERVICESTATE$ - $HOSTADDRESS$ - $SERVICEOUTPUT$ - $LONGDATETIME$" | /server/sendpage/bin/snpp $CONTACTPAGER$ > > } > > > > define command { > > command_name host-notify-by-pager > > command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $HOSTADDRESS$ $HOSTSTATE$ - $HOSTOUTPUT$ - $LONGDATETIME$" | /server/sendpage/bin/snpp $CONTACTPAGER$ > > } > > What is the "%b" in the misccommands? | printf FORMAT [ARGUMENT]... | [...] | Print ARGUMENT(s) according to FORMAT. | [...] | FORMAT controls the output as in C printf. Interpreted sequences are: | [...] | %b ARGUMENT as a string with `\' escapes interpreted, [...] [ printf(1) ] Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yann_riviere at yahoo.fr Tue Feb 6 09:11:45 2007 From: yann_riviere at yahoo.fr (=?iso-8859-1?q?Yann=20Rivi=E8re?=) Date: Tue, 6 Feb 2007 09:11:45 +0100 (CET) Subject: NDO utils 1.3.1 and mysql errors on nagios 2.7 Message-ID: <532360.30906.qm@web26715.mail.ukl.yahoo.com> Hello, i have NDO utils 1.3.1 and nagios 2.7 installed. When i start the ndo2db daemon i have a lot a insert erros like this : localhost ndo2db: Error: mysql_query() failed for 'INSERT INTO servicechecks SET instance_id='0', service_object_id='0', check_type='0', current_check_attempt='1', max_check_attempts='3', state='0', state_type='1', start_time=FROM_UNIXTIME(1170752678), start_time_usec='192563', end_time=FROM_UNIXTIME(1170752678), end_time_usec='0', timeout='0', early_timeout='0', execution_time='0.000000', latency='0.192000', return_code='0', output='Processor:33%,I/O:41% : 35% : : OK', perfdata='', command_object_id='0', command_args='VALEONET!80!95', command_line='/usr/local/nagios/libexec/check_snmp_mem\.pl -H 10\.151\.0\.1 -C VALEONET -I -w 80 -c 95' ON DUPLICATE KEY UPDATE instance_id='0', service_object_id='0', check_type='0', current_check_attempt='1', max_check_attempts='3', state='0', state_type='1', start_time=FROM_UNIXTIME(1170752678), start_time_usec='192563', end_time=FROM_UNIXTIME(1170752678), end_time_usec='0', timeout='0', early_timeout='0', execution_time='0.000000', latency='0.192000', return_co Is there any have solved the problem? Thanks a lot! yann -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Mestdagh at geosolutions.be Tue Feb 6 09:21:09 2007 From: Tommy.Mestdagh at geosolutions.be (Mestdagh Tommy) Date: Tue, 6 Feb 2007 09:21:09 +0100 Subject: Nagios vs intel itanium Message-ID: <27FA63FC15F4C243A37B07D57C891E3C056348E5@ws03-exchange.iconos.be> Hi all, I'm new to nagios and linux as well, mmm years before i played with it at home. Now its for real. We intent to run nagios on a intel Itanium platform running Centos2. Do we need to recompile, or can we install a rpm ? If someone here as any experience, compiling and installing on Itanium please post your comments. All be pleased to read & learn. Regards Tommy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edalb1979 at gmail.com Tue Feb 6 12:46:29 2007 From: edalb1979 at gmail.com (edalB) Date: Tue, 6 Feb 2007 13:46:29 +0200 Subject: Nagios not polling httpd In-Reply-To: References: Message-ID: Done the same. I just dont get any connection On 2/5/07, Robin Ericsson wrote: > On 2/5/07, edalB wrote: > > Hi there > > > > I have a weird problem. I have a server that has a httpd service running off it. > > When I go to the website on the server I can access it and it works > > 100% but when I ask nagios to check_http it gives me the following. > > > > > > nagios-0 libexec # ./check_http 10.0.4.37 > > CRITICAL - Socket timeout after 10 seconds > > What about "telnet 10.0.4.37 80" ? > > -- > regards, > Robin > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Feb 6 13:12:03 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 06 Feb 2007 12:12:03 +0000 Subject: Nagios not polling httpd In-Reply-To: References: Message-ID: <45C87093.1050403@mailnetwork.co.uk> Sounds like a firewall issue between your Nagios server and 10.0.4.37. Andy. edalB wrote: > Done the same. > > I just dont get any connection > > On 2/5/07, Robin Ericsson wrote: > >> On 2/5/07, edalB wrote: >> >>> Hi there >>> >>> I have a weird problem. I have a server that has a httpd service running off it. >>> When I go to the website on the server I can access it and it works >>> 100% but when I ask nagios to check_http it gives me the following. >>> >>> >>> nagios-0 libexec # ./check_http 10.0.4.37 >>> CRITICAL - Socket timeout after 10 seconds >>> >> What about "telnet 10.0.4.37 80" ? >> >> -- >> regards, >> Robin >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45c86ad118513151514555! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edalb1979 at gmail.com Tue Feb 6 13:20:20 2007 From: edalb1979 at gmail.com (edalB) Date: Tue, 6 Feb 2007 14:20:20 +0200 Subject: Nagios not polling httpd In-Reply-To: <45C87093.1050403@mailnetwork.co.uk> References: <45C87093.1050403@mailnetwork.co.uk> Message-ID: Nope it would not be the reason. All the servers I try to monitor is inside my firewall. Thanks tho On 2/6/07, Andy Shellam (Mailing Lists) wrote: > > Sounds like a firewall issue between your Nagios server and 10.0.4.37. > > Andy. > > edalB wrote: > Done the same. > > I just dont get any connection > > On 2/5/07, Robin Ericsson wrote: > > > On 2/5/07, edalB wrote: > > > Hi there > > I have a weird problem. I have a server that has a httpd service running off > it. > When I go to the website on the server I can access it and it works > 100% but when I ask nagios to check_http it gives me the following. > > > nagios-0 libexec # ./check_http 10.0.4.37 > CRITICAL - Socket timeout after 10 seconds > > What about "telnet 10.0.4.37 80" ? > > -- > regards, > Robin > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45c86ad118513151514555! > > > > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Feb 6 13:44:40 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 06 Feb 2007 12:44:40 +0000 Subject: Nagios not polling httpd In-Reply-To: References: <45C87093.1050403@mailnetwork.co.uk> Message-ID: <45C87838.7010901@mailnetwork.co.uk> edalB wrote: > Nope it would not be the reason. All the servers I try to monitor is > inside my firewall. What does "telnet 10.0.4.37 80" yield? How long do you have to wait before issuing the telnet command and it coming back with a failure? If you cannot even telnet to the server, then something is stopping packets getting there, or the web server on that machine is not listening on that IP. If you can connect to it with telnet, type "GET /" and you should get some form of HTML code back. Andy. > > Thanks tho > > On 2/6/07, Andy Shellam (Mailing Lists) > wrote: >> >> Sounds like a firewall issue between your Nagios server and 10.0.4.37. >> >> Andy. >> >> edalB wrote: >> Done the same. >> >> I just dont get any connection >> >> On 2/5/07, Robin Ericsson wrote: >> >> >> On 2/5/07, edalB wrote: >> >> >> Hi there >> >> I have a weird problem. I have a server that has a httpd service >> running off >> it. >> When I go to the website on the server I can access it and it works >> 100% but when I ask nagios to check_http it gives me the following. >> >> >> nagios-0 libexec # ./check_http 10.0.4.37 >> CRITICAL - Socket timeout after 10 seconds >> >> What about "telnet 10.0.4.37 80" ? >> >> -- >> regards, >> Robin >> >> ------------------------------------------------------------------------- >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> ------------------------------------------------------------------------- >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier. >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> >> >> >> -- >> Andy Shellam >> NetServe Support Team >> >> the Mail Network >> "an alternative in a standardised world" >> >> p: +44 (0) 121 288 0832/0839 >> m: +44 (0) 7818 000834 >> > > !DSPAM:37,45c8728918512128552232! > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Tue Feb 6 14:54:36 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Tue, 6 Feb 2007 16:54:36 +0300 Subject: individual cgi programms or so on... Message-ID: <989aee610702060554p4320db9o6ea6dca826d70b0f@mail.gmail.com> Hello! Is there any possibility in Nagios to create my own output of status.cgi program? I will try to describe my idea on example. When I open url http://nagios/nagios/cgi-bin/status.cgi?hostgroup=other_atms&style=grid I want to see minimum information: -without any grids -colours -and fields which are not required for my goal. I need this in order the script to pull data from this url. There are for about 1000 hosts and Nagios generates this page too slowly, for about a second. So I want to make some kind of page which will be smaller as it is now with all these css, grids and unuseful info for me.In another words I need to clear page from many unnesessary html tags. So, have I write my own status.cgi? Or it can be done by another method? Where this cgi program takes fields (for example: host, status, last check, duration) which it displays on web page? Thank you for answers in advance! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at bortal.de Tue Feb 6 15:12:09 2007 From: ml at bortal.de (mario) Date: Tue, 06 Feb 2007 15:12:09 +0100 Subject: Mail throughput plugin Message-ID: <45C88CB9.6080308@bortal.de> Hello List, is there a mail throughput plugin? I have found a few but none of them fits my requirements: Scenario1: -------------------- Send an E-Mail via smtp auth from provider A to provider B. Check if mail arrived at provider B. Scenario2: -------------------- Send an E-Mail via smtp auth from provider B to provider A. Check if mail arrived at provider A. So far i only found plugins which send mail from the same provider to itself which doesn't make sense :). Thanks, Mario ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 6 16:27:57 2007 From: marc at ena.com (Marc Powell) Date: Tue, 6 Feb 2007 09:27:57 -0600 Subject: Mail throughput plugin Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of mario > Sent: Tuesday, February 06, 2007 8:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mail throughput plugin > > Hello List, > > is there a mail throughput plugin? I have found a few but none of them > fits my requirements: > > Scenario1: > -------------------- > Send an E-Mail via smtp auth from provider A to provider B. > Check if mail arrived at provider B. Yes, check_email_loop.pl. It can be found in the contrib directory of the plugins distribution. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at bortal.de Tue Feb 6 16:45:29 2007 From: ml at bortal.de (mario) Date: Tue, 06 Feb 2007 16:45:29 +0100 Subject: Mail throughput plugin In-Reply-To: References: Message-ID: <45C8A299.8060608@bortal.de> Hi Marc, Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of mario >> Sent: Tuesday, February 06, 2007 8:12 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Mail throughput plugin >> >> Hello List, >> >> is there a mail throughput plugin? I have found a few but none of them >> fits my requirements: >> >> Scenario1: >> -------------------- >> Send an E-Mail via smtp auth from provider A to provider B. >> Check if mail arrived at provider B. >> > > Yes, check_email_loop.pl. It can be found in the contrib directory of > the plugins distribution. > > (...) # Example: check_email_loop.pl -poph=mypop -popu=user -pa=password # -smtph=mailer -from=returnadress at yoursite.com # -to=remaileradress at friend.com -pendc=2 -lostc=0 # This example will send eacht time this check is executed a new # mail to remaileradress at friend.com using the SMTP-Host mailer. # Then it looks for any back-forwarded mails in the POP3 host # mypop. In this Configuration CRITICAL state will be reached if # more than 2 Mails are pending (meaning that they did not came # back till now) or if a mails got lost (meaning a mail, that was # send later came back prior to another mail). (...) Does this mean i need to configure my destination to bounce my email back? Thanks, Mario > -- > Marc > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Feb 6 17:02:47 2007 From: marc at ena.com (Marc Powell) Date: Tue, 6 Feb 2007 10:02:47 -0600 Subject: Mail throughput plugin Message-ID: > -----Original Message----- > From: mario [mailto:ml at bortal.de] > Sent: Tuesday, February 06, 2007 9:45 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail throughput plugin > > Hi Marc, > > Marc Powell wrote: > > > # This example will send eacht time this check is executed a new > # mail to remaileradress at friend.com using the SMTP-Host mailer. > # Then it looks for any back-forwarded mails in the POP3 host > # mypop. In this Configuration CRITICAL state will be reached if > # more than 2 Mails are pending (meaning that they did not came > # back till now) or if a mails got lost (meaning a mail, that was > # send later came back prior to another mail). > (...) > > Does this mean i need to configure my destination to bounce my email back? No, the plugin will POP the account you specify to see if the messages arrived. I see that the plugin doesn't support SMTP Auth. Looking at http://search.cpan.org/~gbarr/libnet-1.20/Net/SMTP.pm, at first glance it would seem to be pretty straightforward to add a $smtp->auth(,) to the script around line 125 to support that. An attempted patch is attached. I don't have access to an SMTP Auth server to test so YMMV. -- Marc -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_email_loop.auth.patch.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barness at paynet.co.ke Tue Feb 6 18:44:11 2007 From: barness at paynet.co.ke (Steve Barnes) Date: Tue, 6 Feb 2007 20:44:11 +0300 Subject: NEXSM Authentication Error "The puller's parameter is incorrect" In-Reply-To: References: Message-ID: <43F744E0C1D7334E8AC73B02B5697F758DB51E@mail.paynet.co.ke> Hi List :) I'm trying to get NEXSM running and believe I have (nearly) everything in place however... 1. I access the nexsm.php, I am asked to download the jnlp, I select Open with Java Web Start Launcher. I get a small splash screen for Nexsm/Nexsm (all good so far) 2. I'm then asked to authenticate. I enter my username/password as configured when installing nagios (all things still ok) 3. The authentication dialog goes away and I am then told that the application's digital signature is invalid and do I want to still run the application. I select "Run" (no problems here?) 4. Having selected "Run" I am then asked to authenticate again - "You are trying to access: http://nagios.paynet.co.ke, Username: Password:" (here comes the problem) 5. Entering the previous auth credentials (step 2), and for that matter anything I can think of, returns the error "The puller's parameter is incorrect" (show stopper) Any ideas? Thanks in advance :) Steve ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Feb 6 22:25:47 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 06 Feb 2007 21:25:47 +0000 Subject: ANNOUNCE: Nagios Looking Glass 1.0.2 released! Message-ID: <45C8F25B.2030908@mailnetwork.co.uk> Nagios Looking Glass v1.0.2 is available for download! This is the best release of Nagios Looking Glass, and it's recommended to upgrade from all previous versions. NLG is now on Update Scout at the URL below: http://www.update-scout.com/softwareInfo.html?SoftwareId=957460bdb0e7e98bdc36406019287b51 There are a number of ways to retrieve the upgrade: - Directly from the project website - Wait for the alert from Update Scout - Append ?checkupdate=yes to your NLG URL to get the notification and download link The Important Bits === ========= ==== The official project site is: http://www.nagioslookingglass.co.uk Get the latest release at: http://www.nagioslookingglass.co.uk/download.phpx Available in Windows Zip, and Unix .tar.gz and .tar.bz2 formats. To upgrade from a previous version, please see UPGRADING.TXT in the distribution. The documentation needs some updating, which I'll be working on, as well as a "how-to" template guide. The 1.0.0#PRE administrator manual does still apply in it's majority for 1.0.2. More Detail ==== ====== NLG is a Web-2.0 browser-based application that works in Firefox, IE, Safari and Konqueror. It shows visitors the status of your network without giving them access to the Nagios CGIs, and starts at a "network summary" view with the options to drill down into servers (hosts) and their metrics (services). NLG can easily be customised to match your company's look and feel, and is ideal for hosting companies who run Nagios. For the full changelog for this version, please see the CHANGELOG.TXT file in the distribution, or visit: http://arctic.andyshellam.eu/index.php?cmd=changelog&project=2&version=13 Please see the 'Support' section on the NLG project website to see the best way to report bugs / request new features etc. To see where NLG is headed in the future, visit: http://arctic.andyshellam.eu/index.php?cmd=roadmap&project=2 Regards, Andy Shellam ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Wed Feb 7 00:05:28 2007 From: trasko at gmail.com (Trask) Date: Tue, 6 Feb 2007 15:05:28 -0800 Subject: ndoutils not sending data to db? Message-ID: <735379850702061505m41672851lbd1b79f5ab8fc616@mail.gmail.com> Hello, I am a long time nagios user but first time NDOutils experimenter. The summary of my problem is thus: no data is being sent to the db. When I watch the detailed mysql log, I see the ndo user log in and run a few preliminary SQL statements ("INSERT INTO nagios_conninfo" ...), but there is no more activity until I shut down nagios, at which point it seems to make another mark in the "conninfo" table. What's going on? Below is all the information I can think to give -- let me know if I should include more. Thanks, Trask ------------------------------------------------- Fedora Core 4 - 2.6.13-1.1532_FC4 Nagios 2.7.1 NDOutils 1.4b2 (plugins, nrpe, ncsa were all updated in the past few days) This particular nagios instance reports its settings passively (is this a problem?) to another nagios server. Outside of the NDOutils, everything is functioning normally. ------------------------------------------------------- # snippet from nagios.log [1170791061] Nagios 2.7 starting... (PID=13124) [1170791061] LOG VERSION: 2.0 [1170791061] ndomod: NDOMOD 1.4b2 (01-19-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1170791061] ndomod: Successfully connected to data sink. 0 queued items to flush. [1170791061] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. ------------------------------------------------------- # perms -rw-r--r-- 1 nagios nagios 2.8K Feb 6 12:12 /usr/local/nagios/etc/ndo2db.cfg -rw-r--r-- 1 nagios nagios 4.4K Feb 6 12:32 /usr/local/nagios/etc/ndomod.cfg -rw-rw-r-- 1 nagios nagios 0 Feb 6 14:23 /usr/local/nagios/var/ndomod.tmp srwxr-xr-x 1 nagios nagios 0 Feb 6 15:00 /usr/local/nagios/var/ndo.sock ------------------------------------------------------- # ndo2db.cfg ndo2db_user=nagios ndo2db_group=nagios socket_type=unix socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=ndo_test db_prefix=nagios_ db_user=ndouser db_pass=ndolalaladontlook # I have experimented with other "age" values... max_timedevents_age=0 max_systemcommands_age=0 max_servicechecks_age=0 max_hostchecks_age=0 max_eventhandlers_age=0 ------------------------------------------------------- # ndomod.cfg instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock tcp_port=5668 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=3 ------------------------------------------------------- # output of mysql logging -- from nagios start to nagios stop 7 Connect ndouser at localhost on ndo_test 7 Query SELECT instance_id FROM nagios_instances WHERE instance_name='default' 7 Query INSERT INTO nagios_conninfo SET instance_id='1', connect_time=NOW(), last_checkin_time=NOW(), bytes_processed='0', lines_pro cessed='0', entries_processed='0', agent_name='NDOMOD', agent_version='1.4b2', disposition='REALTIME', connect_source='UNIXSOCKET', connect_type='INITIAL', data _start_time=FROM_UNIXTIME(1170800728) 7 Query SELECT object_id, objecttype_id, name1, name2 FROM nagios_objects WHERE instance_id='1' 7 Query SELECT UNIX_TIMESTAMP(status_update_time) AS latest_time FROM nagios_programstatus WHERE instance_id='1' ORDER BY status_upd ate_time DESC LIMIT 0,1 7 Query SELECT UNIX_TIMESTAMP(status_update_time) AS latest_time FROM nagios_hoststatus WHERE instance_id='1' ORDER BY status_update _time DESC LIMIT 0,1 7 Query SELECT UNIX_TIMESTAMP(status_update_time) AS latest_time FROM nagios_servicestatus WHERE instance_id='1' ORDER BY status_upd ate_time DESC LIMIT 0,1 7 Query SELECT UNIX_TIMESTAMP(status_update_time) AS latest_time FROM nagios_contactstatus WHERE instance_id='1' ORDER BY status_upd ate_time DESC LIMIT 0,1 7 Query SELECT UNIX_TIMESTAMP(queued_time) AS latest_time FROM nagios_timedeventqueue WHERE instance_id='1' ORDER BY queued_time DES C LIMIT 0,1 7 Query SELECT UNIX_TIMESTAMP(entry_time) AS latest_time FROM nagios_comments WHERE instance_id='1' ORDER BY entry_time DESC LIMIT 0 ,1 070206 14:44:52 7 Query UPDATE nagios_conninfo SET disconnect_time=NOW(), last_checkin_time=NOW(), data_end_time=FROM_UNIXTIME(0), bytes_processed=' 180', lines_processed='14', entries_processed='0' WHERE conninfo_id='7' 7 Quit Thanks again for any clues! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Feb 7 00:44:52 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 6 Feb 2007 15:44:52 -0800 Subject: ndoutils not sending data to db? In-Reply-To: <735379850702061505m41672851lbd1b79f5ab8fc616@mail.gmail.com> References: <735379850702061505m41672851lbd1b79f5ab8fc616@mail.gmail.com> Message-ID: <20070206234452.GF11333@pmorris.usa.hp.com> On Tue, 06 Feb 2007, Trask wrote: > Hello, I am a long time nagios user but first time NDOutils > experimenter. The summary of my problem is thus: no data is being > sent to the db. When I watch the detailed mysql log, I see the ndo > user log in and run a few preliminary SQL statements ("INSERT INTO > nagios_conninfo" ...), but there is no more activity until I shut down > nagios, at which point it seems to make another mark in the "conninfo" > table. > > What's going on? Below is all the information I can think to give -- > let me know if I should include more. What is event_broker_options set to in your nagios.cfg file? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Wed Feb 7 00:59:18 2007 From: trasko at gmail.com (Trask) Date: Tue, 6 Feb 2007 15:59:18 -0800 Subject: ndoutils not sending data to db? In-Reply-To: <20070206234452.GF11333@pmorris.usa.hp.com> References: <735379850702061505m41672851lbd1b79f5ab8fc616@mail.gmail.com> <20070206234452.GF11333@pmorris.usa.hp.com> Message-ID: <735379850702061559i7bb1919cv6b5571462affc2c7@mail.gmail.com> > What is event_broker_options set to in your nagios.cfg file? Uh huh... There was no entry. Adding "event_broker_options=-1" in there did the trick. So I just looked in the NDOutils files and all of nagios.org -- there is no mention of this setting. Did I miss something? How was I supposed to know this? ~Trask P.S. Thanks! :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Feb 7 01:19:54 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 6 Feb 2007 16:19:54 -0800 Subject: ndoutils not sending data to db? In-Reply-To: <735379850702061559i7bb1919cv6b5571462affc2c7@mail.gmail.com> References: <735379850702061505m41672851lbd1b79f5ab8fc616@mail.gmail.com> <20070206234452.GF11333@pmorris.usa.hp.com> <735379850702061559i7bb1919cv6b5571462affc2c7@mail.gmail.com> Message-ID: <20070207001954.GG11333@pmorris.usa.hp.com> On Tue, 06 Feb 2007, Trask wrote: > > What is event_broker_options set to in your nagios.cfg file? > > Uh huh... There was no entry. Adding "event_broker_options=-1" in > there did the trick. > > So I just looked in the NDOutils files and all of nagios.org -- there > is no mention of this setting. Did I miss something? How was I > supposed to know this? It's mentioned in the sample config files that go out with Nagios these days... The even broker stuff really isn't very well documented yet. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Wed Feb 7 02:15:28 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 7 Feb 2007 12:15:28 +1100 Subject: Service Dependencies - refer to self Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01C19C83@mail01.ccia.local> I like to see this issue come up time and time again, if only to hopefully get address in v2.8 or v3 It would be so much simpler if there was a parent_service directive in the service definition. Andy, will you share you php script ? Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) Sent: Monday, 5 February 2007 7:24 PM To: moshe sharon Cc: Nagios Users Mailing List Subject: Re: [Nagios-users] Service Dependencies - refer to self moshe sharon wrote: Hi its pretty simple solution without perl script. create a service called NRPE and enter the following check_command command_name nrpe_version command_line ./check_nrpe -H 212.150.36.20 when running this command against NRPE daemon you should get response "NRPE v2.0" now create your dependencies that this NRPE is the master server and the other dependent on it. Yes, that's what I've done, but how do you do it by simply defining one dependency to do the same thing across multiple servers? If I use wildcards in the dependency, it makes every NRPE client service depend on every other NRPE server in the network, not just the server that service instance runs on. Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chandler.lists at chapman.edu Wed Feb 7 03:52:32 2007 From: chandler.lists at chapman.edu (Jay Chandler) Date: Tue, 06 Feb 2007 18:52:32 -0800 Subject: Nagios vs intel itanium In-Reply-To: <27FA63FC15F4C243A37B07D57C891E3C056348E5@ws03-exchange.iconos.be> References: <27FA63FC15F4C243A37B07D57C891E3C056348E5@ws03-exchange.iconos.be> Message-ID: <45C93EF0.8030001@chapman.edu> Mestdagh Tommy wrote: > > Hi all, > > I?m new to nagios and linux as well, mmm years before i played with it > at home. Now its for real. > > We intent to run nagios on a intel Itanium platform running Centos2. > > Do we need to recompile, or can we install a rpm ? > > If someone here as any experience, compiling and installing on Itanium > please post your comments. > > All be pleased to read & learn. > > Regards > > Tommy > Hi there! CentOS 2 is rather deprecated at this point-- what I'd suggest doing just for support reasons if nothing else is repurposing an old desktop (unless you've got a tremendous number of boxes to monitor) and running it there. I do suspect you'll find that getting support for "oddities" is MUCH better on the i386 platform. As an aside, we used to build around CentOS 4.4, and had severe issues with how outdated packages were, with regard to security updates. Made the switch to FreeBSD and haven't looked back since, but that's enough advocacy for one post. :-) -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / chandler at chapman.edu Today's Excuse: Too many interrupts ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Wed Feb 7 06:54:44 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 7 Feb 2007 16:54:44 +1100 Subject: Minimum permission required for reading WMI data via NRPE+NRPE_NT ? Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01C19CD4@mail01.ccia.local> Hi all, I'd like to start using NRPE with NRPE_NT to monitor some performance counters. Everything works fine with my domain admin account, but not with my standard account. I'm not comfortable having an DA account credential sitting in a config file on the nagios machine. What permissions are required to read WMI data ? And how are they assigned ? I thought perhaps I would create limited access account and assign perms using WMI Control, but that hasn't worked. Thanks Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edalb1979 at gmail.com Wed Feb 7 07:11:51 2007 From: edalb1979 at gmail.com (edalB) Date: Wed, 7 Feb 2007 08:11:51 +0200 Subject: Nagios not polling httpd In-Reply-To: <45C87838.7010901@mailnetwork.co.uk> References: <45C87093.1050403@mailnetwork.co.uk> <45C87838.7010901@mailnetwork.co.uk> Message-ID: Well this is what I get nagios-0 ~ # telnet 10.0.4.37 80 Trying 10.0.4.37... Connected to 10.0.4.37. Escape character is '^]'. get / 501 Method Not Implemented

Method Not Implemented

get to / not supported.


Apache Server at gardale.rba.ispafrica.net Port 80
Connection closed by foreign host. Regards On 2/6/07, Andy Shellam (Mailing Lists) wrote: > edalB wrote: > > Nope it would not be the reason. All the servers I try to monitor is > > inside my firewall. > > What does "telnet 10.0.4.37 80" yield? How long do you have to wait > before issuing the telnet command and it coming back with a failure? > If you cannot even telnet to the server, then something is stopping > packets getting there, or the web server on that machine is not > listening on that IP. > > If you can connect to it with telnet, type "GET /" and you should get > some form of HTML code back. > > Andy. > > > > > Thanks tho > > > > On 2/6/07, Andy Shellam (Mailing Lists) > > wrote: > >> > >> Sounds like a firewall issue between your Nagios server and 10.0.4.37. > >> > >> Andy. > >> > >> edalB wrote: > >> Done the same. > >> > >> I just dont get any connection > >> > >> On 2/5/07, Robin Ericsson wrote: > >> > >> > >> On 2/5/07, edalB wrote: > >> > >> > >> Hi there > >> > >> I have a weird problem. I have a server that has a httpd service > >> running off > >> it. > >> When I go to the website on the server I can access it and it works > >> 100% but when I ask nagios to check_http it gives me the following. > >> > >> > >> nagios-0 libexec # ./check_http 10.0.4.37 > >> CRITICAL - Socket timeout after 10 seconds > >> > >> What about "telnet 10.0.4.37 80" ? > >> > >> -- > >> regards, > >> Robin > >> > >> ------------------------------------------------------------------------- > >> > >> Using Tomcat but need to do more? Need to support web services, > >> security? > >> Get stuff done quickly with pre-integrated technology to make your job > >> easier. > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting > >> any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > >> > >> ------------------------------------------------------------------------- > >> > >> Using Tomcat but need to do more? Need to support web services, > >> security? > >> Get stuff done quickly with pre-integrated technology to make your job > >> easier. > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > >> Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting > >> any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > >> > >> > >> > >> > >> -- > >> Andy Shellam > >> NetServe Support Team > >> > >> the Mail Network > >> "an alternative in a standardised world" > >> > >> p: +44 (0) 121 288 0832/0839 > >> m: +44 (0) 7818 000834 > >> > > > > !DSPAM:37,45c8728918512128552232! > > > > > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Wed Feb 7 07:34:13 2007 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Wed, 07 Feb 2007 07:34:13 +0100 Subject: Loosing status info after restart Message-ID: <45C972E5.1090808@citytower.com> Hello Nagios users Nagios -v 2.5 I've hanging around for a long time with a small problem When i restart nagios i'm loosing the state information and every status returns to pending. Also if I use /bin/printf "[%lu] SAVE_STATE_INFORMATION\n" $now > $commandfile /bin/printf "[%lu] RESTART_PROGRAM\n" $now > $commandfile define host {^ host_name server_domain alias domain address domain.com check_command check-host-alive max_check_attempts 5 check_interval 5 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler_enabled 0 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 <------------- retain_nonstatus_information 1 <-------------- contact_groups administrator notification_interval 5 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 register 1 } Thanks for reading ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 7 09:29:14 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 07 Feb 2007 08:29:14 +0000 Subject: Service Dependencies - refer to self In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A01C19C83@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A01C19C83@mail01.ccia.local> Message-ID: <45C98DDA.2090408@mailnetwork.co.uk> Matthew Joyce wrote: > I like to see this issue come up time and time again, if only to > hopefully get address in v2.8 or v3 > It would be so much simpler if there was a parent_service directive in > the service definition. > > Andy, will you share you php script ? > > Thanks Hi Matt, Yep no problem, unfortunately I'm short of time at the moment, but as and when I've done it I'll let you have it. Thanks, Andy. > > > *Matthew Joyce* > 02 9382 0051* |* IT Manager* |* Children's Cancer Institute Australia > for Medical Research > > > ------------------------------------------------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Andy Shellam (Mailing Lists) > *Sent:* Monday, 5 February 2007 7:24 PM > *To:* moshe sharon > *Cc:* Nagios Users Mailing List > *Subject:* Re: [Nagios-users] Service Dependencies - refer to self > > moshe sharon wrote: > > Hi > > its pretty simple solution without perl script. create a > service called NRPE > and enter the following check_command > command_name nrpe_version > command_line ./check_nrpe -H 212.150.36.20 > > when running this command against NRPE daemon you should get > response "NRPE v2.0" > > now create your dependencies that this NRPE is the master > server and the other dependent on it. > > > Yes, that's what I've done, but how do you do it by simply > defining one dependency to do the same thing across multiple servers? > If I use wildcards in the dependency, it makes every NRPE client > service depend on every other NRPE server in the network, not just > the server that service instance runs on. > > > Andy. > > !DSPAM:37,45c9284218511209245668! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 7 09:33:32 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 07 Feb 2007 08:33:32 +0000 Subject: Loosing status info after restart In-Reply-To: <45C972E5.1090808@citytower.com> References: <45C972E5.1090808@citytower.com> Message-ID: <45C98EDC.4000706@mailnetwork.co.uk> Is it set in Nagios generally, i.e. in your nagios.cfg? # cat /usr/local/nagios/etc/nagios.cfg|grep retain retain_state_information=1 use_retained_program_state=1 use_retained_scheduling_info=0 Andy Sjaak Nabuurs wrote: > Hello Nagios users > > Nagios -v 2.5 > > I've hanging around for a long time with a small problem > When i restart nagios i'm loosing the state information and every status > returns to pending. > Also if I use > /bin/printf "[%lu] SAVE_STATE_INFORMATION\n" $now > $commandfile > /bin/printf "[%lu] RESTART_PROGRAM\n" $now > $commandfile > > define host {^ > host_name server_domain > alias domain > address domain.com > check_command check-host-alive > max_check_attempts 5 > check_interval 5 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 1 > check_freshness 0 > event_handler_enabled 0 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 <------------- > retain_nonstatus_information 1 <-------------- > contact_groups administrator > notification_interval 5 > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > register 1 > } > > Thanks for reading > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45c9732b18511055269334! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Wed Feb 7 11:01:33 2007 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Wed, 07 Feb 2007 11:01:33 +0100 Subject: Loosing status info after restart In-Reply-To: <45C98EDC.4000706@mailnetwork.co.uk> References: <45C972E5.1090808@citytower.com> <45C98EDC.4000706@mailnetwork.co.uk> Message-ID: <45C9A37D.3030302@vsm-hosting.nl> Thanks Andy I had set this in nagios.cfg Now i've found it, a typo in state_retention_file=/usr/local/nagios/var/spool/status.sav But I've never seen any error's in my log files, that's strange or !! Thanks Sjaak Andy Shellam (Mailing Lists) wrote: >Is it set in Nagios generally, i.e. in your nagios.cfg? > ># cat /usr/local/nagios/etc/nagios.cfg|grep retain >retain_state_information=1 >use_retained_program_state=1 >use_retained_scheduling_info=0 > >Andy > >Sjaak Nabuurs wrote: > > >>Hello Nagios users >> >>Nagios -v 2.5 >> >>I've hanging around for a long time with a small problem >>When i restart nagios i'm loosing the state information and every status >>returns to pending. >>Also if I use >>/bin/printf "[%lu] SAVE_STATE_INFORMATION\n" $now > $commandfile >>/bin/printf "[%lu] RESTART_PROGRAM\n" $now > $commandfile >> >>define host {^ >> host_name server_domain >> alias domain >> address domain.com >> check_command check-host-alive >> max_check_attempts 5 >> check_interval 5 >> active_checks_enabled 1 >> passive_checks_enabled 1 >> check_period 24x7 >> obsess_over_host 1 >> check_freshness 0 >> event_handler_enabled 0 >> flap_detection_enabled 1 >> process_perf_data 0 >> retain_status_information 1 <------------- >> retain_nonstatus_information 1 <-------------- >> contact_groups administrator >> notification_interval 5 >> notification_period 24x7 >> notification_options d,u,r,f >> notifications_enabled 1 >> register 1 >> } >> >>Thanks for reading >> >> >> >> > > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pavel.santos at cyberlockconsulting.com Wed Feb 7 13:44:30 2007 From: pavel.santos at cyberlockconsulting.com (Pavel Santos) Date: Wed, 7 Feb 2007 07:44:30 -0500 Subject: Nagios notification without time and Additioanl Info Message-ID: <1EE2544AB03AD34BAA60E9AA8AF1A8FE6C199E@EPI-EXB2.epidirect.epi> HEllo List, I am running Nagios on 2.7, nagios-plugins-1.4.5-1 on a RHEL 4 server. For some reason the Time and Addition Info are not being populated with any data. The alerts are correct, but the date and info is not working. Have any of you seen this problem, if so how was it fixed? ***** Nagios ***** Notification Type: PROBLEM Service: /dev/sda2 [/boot] Free Space Host: server2 Address: 10.0.0.0 State: CRITICAL Date/Time: $ Additional Info: $ Thanks in advance, Pavel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 7 14:03:26 2007 From: marc at ena.com (Marc Powell) Date: Wed, 7 Feb 2007 07:03:26 -0600 Subject: Nagios notification without time and Additioanl Info Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Pavel Santos > Sent: Wednesday, February 07, 2007 6:45 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios notification without time and Additioanl > Info > > HEllo List, > > I am running Nagios on 2.7, nagios-plugins-1.4.5-1 on a RHEL 4 server. For > some reason the Time and Addition Info are not being populated with any > data. The alerts are correct, but the date and info is not working. Have > any of you seen this problem, if so how was it fixed? You're most likely using invalid macros. Have you verified that you're using the ones you think you are? If you've verified them as correct, post your notification command. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Feb 7 14:16:50 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 07 Feb 2007 14:16:50 +0100 Subject: best graph solution Message-ID: <45C9D142.4090505@telcotec.se> Hi List, I'm looking for the best graphing addon solution available for nagios. There's quite a lot of them. I've tried PNP, and it looked fine, ut lacked NagiosGrapher's configuration capabilities, on the other hand, I haven't yet got a working NagiosGrapher installation, still struggling:). I haven't yet tried any of the other solutions. So, any advice highly appreciated. I know it might be a subjective view, but still, I'd like to know what you all use out there. Cheers /Lars ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Wed Feb 7 14:28:19 2007 From: lobbin at gmail.com (Robin Ericsson) Date: Wed, 7 Feb 2007 14:28:19 +0100 Subject: Nagios not polling httpd In-Reply-To: References: <45C87093.1050403@mailnetwork.co.uk> <45C87838.7010901@mailnetwork.co.uk> Message-ID: On 2/7/07, edalB wrote: > Well this is what I get > > nagios-0 ~ # telnet 10.0.4.37 80 > Trying 10.0.4.37... > Connected to 10.0.4.37. > Escape character is '^]'. Then nagios shouldn't have any problems either. -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 7 14:59:42 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 07 Feb 2007 13:59:42 +0000 Subject: Nagios not polling httpd In-Reply-To: References: <45C87093.1050403@mailnetwork.co.uk> <45C87838.7010901@mailnetwork.co.uk> Message-ID: <45C9DB4E.9000904@mailnetwork.co.uk> Robin Ericsson wrote: > On 2/7/07, edalB wrote: > >> Well this is what I get >> >> nagios-0 ~ # telnet 10.0.4.37 80 >> Trying 10.0.4.37... >> Connected to 10.0.4.37. >> Escape character is '^]'. >> > > Then nagios shouldn't have any problems either. > Try running the "check_http" manually with the "-v" option, see if you get any useful info back. Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eusebio_esteban at hotmail.com Wed Feb 7 15:34:45 2007 From: eusebio_esteban at hotmail.com (Eusebio Esteban) Date: Wed, 7 Feb 2007 14:34:45 +0000 Subject: ndoutils not sending data to db? Message-ID: # SAMPLE NAGIOS CONFIG SNIPPET FOR NDOMOD## In order to have Nagios run the NDOMOD event broker module, you'll need# to place a statement like the one found below in your main Nagios# configuration file (nagios.cfg). Adjust the paths, etc. to suit your needs.# Uncomment the line below if you're running Nagios 2.xbroker_module=/usr/local/nagios/bin/ndomod-2x.o config_file=/usr/local/nagios/etc/ndomod.cfg> Date: Tue, 6 Feb 2007 16:19:54 -0800> From: patrick.morris at hp.com> To: trasko at gmail.com> CC: nagios-users at lists.sourceforge.net> Subject: Re: [Nagios-users] ndoutils not sending data to db?> > On Tue, 06 Feb 2007, Trask wrote:> > > > What is event_broker_options set to in your nagios.cfg file?> > > > Uh huh... There was no entry. Adding "event_broker_options=-1" in> > there did the trick.> > > > So I just looked in the NDOutils files and all of nagios.org -- there> > is no mention of this setting. Did I miss something? How was I> > supposed to know this?> > It's mentioned in the sample config files that go out with Nagios these> days... The even broker stuff really isn't very well documented yet.> > -------------------------------------------------------------------------> Using Tomcat but need to do more? Need to support web services, security?> Get stuff done quickly with pre-integrated technology to make your job easier.> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> _______________________________________________> Nagios-users mailing list> Nagios-users at lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/nagios-users> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Consigue el nuevo Windows Live Messenger http://get.live.com/messenger/overview -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at bortal.de Wed Feb 7 15:43:04 2007 From: ml at bortal.de (mario) Date: Wed, 07 Feb 2007 15:43:04 +0100 Subject: Mail throughput plugin In-Reply-To: References: Message-ID: <45C9E578.4020907@bortal.de> Hi Marc, Marc Powell wrote: > >> -----Original Message----- >> From: mario [mailto:ml at bortal.de] >> Sent: Tuesday, February 06, 2007 9:45 AM >> To: Marc Powell >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Mail throughput plugin >> >> Hi Marc, >> >> Marc Powell wrote: >> > > > >> # This example will send eacht time this check is executed a new >> # mail to remaileradress at friend.com using the SMTP-Host mailer. >> # Then it looks for any back-forwarded mails in the POP3 host >> # mypop. In this Configuration CRITICAL state will be reached if >> # more than 2 Mails are pending (meaning that they did not came >> # back till now) or if a mails got lost (meaning a mail, that was >> # send later came back prior to another mail). >> (...) >> >> Does this mean i need to configure my destination to bounce my email >> > back? > > No, the plugin will POP the account you specify to see if the messages > arrived. > > I see that the plugin doesn't support SMTP Auth. Looking at > http://search.cpan.org/~gbarr/libnet-1.20/Net/SMTP.pm, at first glance > it would seem to be pretty straightforward to add a > $smtp->auth(,) to the script around line 125 to > support that. An attempted patch is attached. I don't have access to an > SMTP Auth server to test so YMMV. > /usr/lib/nagios/plugins# patch -p 0 < patch (Stripping trailing CRs from patch.) patching file check_email_loop.pl Hunk #2 FAILED at 89. Hunk #4 succeeded at 251 with fuzz 2. 1 out of 4 hunks FAILED -- saving rejects to file check_email_loop.pl.rej The check_email_loop.pl.rej and the patched check_email_loop script is attached. Did the patch succeed or not? Thanks, Mario -------------- next part -------------- A non-text attachment was scrubbed... Name: check_email_loop.pl Type: application/x-perl Size: 10879 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_email_loop.pl.rej Type: application/x-reject Size: 3113 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Feb 7 15:58:06 2007 From: marc at ena.com (Marc Powell) Date: Wed, 7 Feb 2007 08:58:06 -0600 Subject: Mail throughput plugin Message-ID: > -----Original Message----- > From: mario [mailto:ml at bortal.de] > Sent: Wednesday, February 07, 2007 8:43 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail throughput plugin > > The check_email_loop.pl.rej and the patched check_email_loop script is > attached. > No but it looks like there are other differences in the file than my original other than changes my patch created. Attached is the full file I have. -- marc -------------- next part -------------- A non-text attachment was scrubbed... Name: check_email_loop.pl Type: application/octet-stream Size: 10932 bytes Desc: check_email_loop.pl URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlittle at mintcommerce.com Wed Feb 7 16:57:28 2007 From: jlittle at mintcommerce.com (Jason Little) Date: Wed, 7 Feb 2007 10:57:28 -0500 Subject: Sending as specific email address In-Reply-To: References: Message-ID: <00ae01c74ad0$aacfda30$6364a8c0@mintinc.ca> Yesterday the blackberry servers stopped accepting all my nagios alerts because nagios sends out as nagios at servername.domainname and the blackberry servers complain that servername.domainname does not exist and gives me a data format error. Is there a way to set it so that nagios sends out as a specific email address? Jason Little Network Administrator Mint Inc -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Wednesday, February 07, 2007 9:58 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Mail throughput plugin > -----Original Message----- > From: mario [mailto:ml at bortal.de] > Sent: Wednesday, February 07, 2007 8:43 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail throughput plugin > > The check_email_loop.pl.rej and the patched check_email_loop script is > attached. > No but it looks like there are other differences in the file than my original other than changes my patch created. Attached is the full file I have. -- marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter at berghold.net Wed Feb 7 17:13:58 2007 From: Peter at berghold.net (Peter L. Berghold) Date: Wed, 07 Feb 2007 11:13:58 -0500 Subject: Sending as specific email address In-Reply-To: <00ae01c74ad0$aacfda30$6364a8c0@mintinc.ca> References: <00ae01c74ad0$aacfda30$6364a8c0@mintinc.ca> Message-ID: <45C9FAC6.4030701@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jason Little wrote: > Is there a way to set it so that nagios sends out as a > specific email address? > > Unless totally misunderstand the issue this is more of a MTA configuration issue than a Nagios issue. Assuming sendmail for a moment is the MTA on the machine that you are sending the pages from there is a setting in the sendmail.cf file called "Masquerading as" that you can set to a domain to masquerade all email addresses to. So, in the case of your return email address that I note above you would set the line that starts with DM in sendmail.cf to read DMmintcommerce.com and restart sendmail. This way any email that gets sent from that machine gets its return address re-written to be user at mintcommerce.com which will silence the complaint from the blackberry server. If you are using some other MTA then you have to follow suit with whatever the configuration requirements are for that MTA. - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFFyfrFUM9/01RIhaARAqdLAJ9gT4Qpo4/2eB2+MYqKIkSOOZNvYACgu/rg 1IK+87nxzBrBRN1wmrrtyqI= =RNsK -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 239 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From traxplayer at gmail.com Wed Feb 7 17:28:18 2007 From: traxplayer at gmail.com (=?ISO-8859-1?Q?Martin_M=F8ller_Pedersen?=) Date: Wed, 7 Feb 2007 17:28:18 +0100 Subject: nrpe compile problem on AIX Message-ID: Hi, nrpe wouldn't compile on my 5.2 AIX box.It looks like a linker problem ?! Anyway help if very very welcome: # make gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lnsl nrpe.c: In function 'main': nrpe.c:233: warning: assignment makes pointer from integer without a cast nrpe.c: In function 'read_config_dir': nrpe.c:529: warning: incompatible implicit declaration of built-in function 'snprintf' nrpe.c: In function 'handle_connection': nrpe.c:1094: warning: incompatible implicit declaration of built-in function 'snprintf' nrpe.c:1109: warning: incompatible implicit declaration of built-in function 'snprintf' nrpe.c:1125: warning: incompatible implicit declaration of built-in function 'snprintf' nrpe.c: In function 'my_system': nrpe.c:1281: warning: incompatible implicit declaration of built-in function 'snprintf' nrpe.c: In function 'process_arguments': nrpe.c:1843: warning: incompatible implicit declaration of built-in function 'snprintf' ld: 0711-317 ERROR: Undefined symbol: .get_dh512 ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make: 1254-004 The error code from the last command is 1. Stop. # gcc --version gcc (GCC) 4.0.0 Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Regards Martin -- "All general statements are false." "If atheism is a religion, then not collecting stamps is a hobby." A: Fordi det ?ndrer r?kkef?lgen folk normalt kommunikerer p?. Q: Hvorfor er top-svar en d?rlig ting? A: Top-svar. Q: Hvad er det mest irriterende i e-mail? "We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further." ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Wed Feb 7 17:30:36 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Wed, 07 Feb 2007 10:30:36 -0600 Subject: Sending as specific email address In-Reply-To: <00ae01c74ad0$aacfda30$6364a8c0@mintinc.ca> References: <00ae01c74ad0$aacfda30$6364a8c0@mintinc.ca> Message-ID: <45C9FEAC.1050109@epsiia.com> Jason Little wrote: > Yesterday the blackberry servers stopped accepting all my nagios alerts > because nagios sends out as nagios at servername.domainname and the blackberry > servers complain that servername.domainname does not exist and gives me a > data format error. Is there a way to set it so that nagios sends out as a > specific email address? > You can set your hostname on the machine, so it's a valid FQDN. Or you can re-write the address as it goes out. I don't know what you're using, but it's pretty easy to do in Postfix: http://www.postfix.org/ADDRESS_REWRITING_README.html Good luck, - Josh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 7 17:36:49 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 07 Feb 2007 16:36:49 +0000 Subject: Sending as specific email address In-Reply-To: <45C9FAC6.4030701@Berghold.Net> References: <00ae01c74ad0$aacfda30$6364a8c0@mintinc.ca> <45C9FAC6.4030701@Berghold.Net> Message-ID: <45CA0021.2030205@mailnetwork.co.uk> Peter L. Berghold wrote: > Unless totally misunderstand the issue this is more of a MTA > configuration issue than a Nagios issue. > > FYI If you are using Exim as your MTA like me, you need to set your Nagios user as a "trusted user" - then as long as you have a "From:" header in your e-mail, Exim will send the e-mail out as if it came from that address. If Nagios isn't a trusted user, the e-mail will look to have come from "nagios@." Regards, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raghavendra.kristam at gmail.com Wed Feb 7 18:08:54 2007 From: raghavendra.kristam at gmail.com (raghavendra kristam) Date: Wed, 7 Feb 2007 22:38:54 +0530 Subject: Need some help regarding with tomcat server In-Reply-To: <45BF6EA5.7050006@epsiia.com> References: <45BF6EA5.7050006@epsiia.com> Message-ID: Hi, # /usr/local/nagios/libexec/check_tcp -H Connection refused # /usr/local/nagios/libexec/check_tcp -H -p 5 Connection refused Please let me know why i am getting Connection refused and showing the status as critical in web interface. Thanks, Raghavendra. On 1/30/07, Josh Yost wrote: > > raghavendra kristam wrote: > > Hi, > [snip] > > > a)For server availability: listening to Tomcat server port periodically > and > > send out notification when there is no response on the port. > > b)For memory/disk usage: periodically check memory/disk space and send > out > > notification when the usage reaches certain thresholds. > > c) For requests per minute for the Tomcat Server and per JSP level > requests > > per minute and response time > > > > > > Hi, > > a) can be handled by check_tcp or check_http (fyi - I can't use > check_http -S for tomcat 4; I think it's a problem w/ the SSL > implementation on the older tomcats) > > b) memory/CPU can be handled by either SNMP or, if running on Windows, > by using nsclient > > c) not sure on this one, but maybe someone else has ideas. I don't know > where these numbers would exist. > > Good luck, > - Josh > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Feb 7 18:22:01 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 7 Feb 2007 12:22:01 -0500 Subject: Need some help regarding with tomcat server In-Reply-To: References: <45BF6EA5.7050006@epsiia.com> Message-ID: > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of raghavendra kristam > Sent: Wednesday, February 07, 2007 9:09 AM > To: Josh Yost > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Need some help regarding with > tomcat server > > Hi, > > # /usr/local/nagios/libexec/check_tcp -H > Connection refused # /usr/local/nagios/libexec/check_tcp -H > -p 5 Connection refused > > Please let me know why i am getting Connection refused and > showing the status as critical in web interface. Is it really running on port 5? If not, that's your problem. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samfraser at yahoo.co.uk Wed Feb 7 19:35:31 2007 From: samfraser at yahoo.co.uk (Sam Fraser) Date: Wed, 7 Feb 2007 18:35:31 +0000 (GMT) Subject: That didn't work what next? Message-ID: <469818.30520.qm@web23109.mail.ird.yahoo.com> Hello Nagios users, I've been having trouble installing nagios plugins as part of my first nagios installation. I was advised by someone on this email group that it was because I didn't have mysql server installed. I've now installed mysql server but still get some very strange errors when compiling the plugins and i don't know what they mean. Any other suggestions? check_mysql.c:51:19: error: mysql.h: No such file or directory check_mysql.c:52:20: error: errmsg.h: No such file or directory check_mysql.c:58: error: ???MYSQL_PORT??? undeclared here (not in a function) check_mysql.c: In function ???main???: check_mysql.c:73: error: ???MYSQL??? undeclared (first use in this function) check_mysql.c:73: error: (Each undeclared identifier is reported only once check_mysql.c:73: error: for each function it appears in.) check_mysql.c:73: error: expected ???;??? before ???mysql??? check_mysql.c:74: error: ???MYSQL_RES??? undeclared (first use in this function) check_mysql.c:74: error: ???res??? undeclared (first use in this function) check_mysql.c:75: error: ???MYSQL_ROW??? undeclared (first use in this function) check_mysql.c:75: error: expected ???;??? before ???row??? check_mysql.c:91: error: ???mysql??? undeclared (first use in this function) check_mysql.c:93: error: ???MYSQL_READ_DEFAULT_GROUP??? undeclared (first use in this function) check_mysql.c:97: error: ???CR_UNKNOWN_HOST??? undeclared (first use in this function) check_mysql.c:99: error: ???CR_VERSION_ERROR??? undeclared (first use in this function) check_mysql.c:101: error: ???CR_OUT_OF_MEMORY??? undeclared (first use in this function) check_mysql.c:103: error: ???CR_IPSOCK_ERROR??? undeclared (first use in this function) check_mysql.c:105: error: ???CR_SOCKET_CREATE_ERROR??? undeclared (first use in this function) check_mysql.c:112: warning: cast to pointer from integer of different size check_mysql.c:112: warning: cast to pointer from integer of different size check_mysql.c:112: warning: cast to pointer from integer of different size check_mysql.c:112: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast check_mysql.c:112: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast check_mysql.c:112: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast check_mysql.c:112: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast check_mysql.c:116: error: ???CR_SERVER_GONE_ERROR??? undeclared (first use in this function) check_mysql.c:118: error: ???CR_SERVER_LOST??? undeclared (first use in this function) check_mysql.c:120: error: ???CR_UNKNOWN_ERROR??? undeclared (first use in this function) check_mysql.c:127: warning: cast to pointer from integer of different size check_mysql.c:127: warning: cast to pointer from integer of different size check_mysql.c:127: warning: cast to pointer from integer of different size check_mysql.c:127: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast check_mysql.c:127: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast check_mysql.c:127: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast check_mysql.c:127: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast check_mysql.c:134: warning: cast to pointer from integer of different size check_mysql.c:134: warning: cast to pointer from integer of different size check_mysql.c:134: warning: cast to pointer from integer of different size check_mysql.c:134: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast check_mysql.c:134: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast check_mysql.c:134: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast check_mysql.c:134: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast check_mysql.c:146: error: ???row??? undeclared (first use in this function) check_mysql.c:147: warning: cast to pointer from integer of different size check_mysql.c:147: warning: cast to pointer from integer of different size check_mysql.c:147: warning: cast to pointer from integer of different size check_mysql.c:147: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast check_mysql.c:147: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast check_mysql.c:147: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast check_mysql.c:147: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast check_mysql.c:165: error: ???MYSQL_FIELD??? undeclared (first use in this function) check_mysql.c:165: error: ???fields??? undeclared (first use in this function) make[2]: *** [check_mysql-check_mysql.o] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.5' make: *** [all] Error 2 Sam Fraser ___________________________________________________________ Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.Laden at tudor.com Wed Feb 7 19:37:46 2007 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Wed, 7 Feb 2007 13:37:46 -0500 Subject: Nagios and DST changes Message-ID: <496A4C483DD4504C84C0094D9C48CFD30F088F51@tudor.com> Heya all. With the Daylight savings time change changing this year in the US, management is going through a y2k style check of all our applications to make sure that they wont have any issues when DST occurs in the middle of march rather then the end. I think that Nagios stores all its date info in seconds from Unix Epoch, so the timezone should not affect anything (assuming that the underlying OS has been patched with the new TZ info. Can anyone thing of anywhere in Nagios that might break with the Time zone change? Thanks -Andrew -- _________________________________________________________ This communication is intended only for the addressee(s) and may contain confidential information. We do not waive any confidentiality by misdelivery. If you receive this communication in error, any use, dissemination, printing or copying is strictly prohibited; please destroy all electronic and paper copies and notify the sender immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Feb 7 21:11:45 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 07 Feb 2007 21:11:45 +0100 Subject: That didn't work what next? In-Reply-To: <469818.30520.qm@web23109.mail.ird.yahoo.com> References: <469818.30520.qm@web23109.mail.ird.yahoo.com> Message-ID: <45CA3281.7060002@telcotec.se> Sam Fraser wrote: > Hello Nagios users, > > I've been having trouble installing nagios plugins as part of my first nagios installation. I was advised by someone on this email group that it was because I didn't have mysql server installed. I've now installed mysql server but still get some very strange errors when compiling the plugins and i don't know what they mean. Any other suggestions? Well, I did actually say more than that:| You still seem to be missing the mysql source files, especially [/usr/include/]mysql/errmsg.h and [/usr/include/]mysql/mysql.h. It's either that or, if your mysql source files are in place, you have to tell the plugin build were they are by means of the configure option "--with-mysql", in case they are in a nonstandard place. If you have a look at the configure option --with-mysql, try "./configure --help", you'll see that the --with-mysql is looking for the location of the file mysql_config, which is part of the mysql-devel rpm package, and therefore part of the source code. So, if you've installed your mysql source code into /usr/local for example, the proper configure statement would be "./configure --with-mysql=/usr/local" It would help, and make it easier to help you, if you told us some details about your environment, such as OS, distro, version, etc. For example, on a SuSE Linux 10.2 box with the mysql-devel rpm package installed, the plugins builds nicely. Also, since it's the continuation of the same problem, you might want to stay within the original thread. Good Luck /L > check_mysql.c:51:19: error: mysql.h: No such file or directory > check_mysql.c:52:20: error: errmsg.h: No such file or directory > check_mysql.c:58: error: ???MYSQL_PORT??? undeclared here (not in a function) > check_mysql.c: In function ???main???: > check_mysql.c:73: error: ???MYSQL??? undeclared (first use in this function) > check_mysql.c:73: error: (Each undeclared identifier is reported only once > check_mysql.c:73: error: for each function it appears in.) > check_mysql.c:73: error: expected ???;??? before ???mysql??? > check_mysql.c:74: error: ???MYSQL_RES??? undeclared (first use in this function) > check_mysql.c:74: error: ???res??? undeclared (first use in this function) > check_mysql.c:75: error: ???MYSQL_ROW??? undeclared (first use in this function) > check_mysql.c:75: error: expected ???;??? before ???row??? > check_mysql.c:91: error: ???mysql??? undeclared (first use in this function) > check_mysql.c:93: error: ???MYSQL_READ_DEFAULT_GROUP??? undeclared (first use in this function) > check_mysql.c:97: error: ???CR_UNKNOWN_HOST??? undeclared (first use in this function) > check_mysql.c:99: error: ???CR_VERSION_ERROR??? undeclared (first use in this function) > check_mysql.c:101: error: ???CR_OUT_OF_MEMORY??? undeclared (first use in this function) > check_mysql.c:103: error: ???CR_IPSOCK_ERROR??? undeclared (first use in this function) > check_mysql.c:105: error: ???CR_SOCKET_CREATE_ERROR??? undeclared (first use in this function) > check_mysql.c:112: warning: cast to pointer from integer of different size > check_mysql.c:112: warning: cast to pointer from integer of different size > check_mysql.c:112: warning: cast to pointer from integer of different size > check_mysql.c:112: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:112: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:112: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:112: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:116: error: ???CR_SERVER_GONE_ERROR??? undeclared (first use in this function) > check_mysql.c:118: error: ???CR_SERVER_LOST??? undeclared (first use in this function) > check_mysql.c:120: error: ???CR_UNKNOWN_ERROR??? undeclared (first use in this function) > check_mysql.c:127: warning: cast to pointer from integer of different size > check_mysql.c:127: warning: cast to pointer from integer of different size > check_mysql.c:127: warning: cast to pointer from integer of different size > check_mysql.c:127: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:127: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:127: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:127: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:134: warning: cast to pointer from integer of different size > check_mysql.c:134: warning: cast to pointer from integer of different size > check_mysql.c:134: warning: cast to pointer from integer of different size > check_mysql.c:134: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:134: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:134: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:134: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:146: error: ???row??? undeclared (first use in this function) > check_mysql.c:147: warning: cast to pointer from integer of different size > check_mysql.c:147: warning: cast to pointer from integer of different size > check_mysql.c:147: warning: cast to pointer from integer of different size > check_mysql.c:147: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:147: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:147: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:147: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:165: error: ???MYSQL_FIELD??? undeclared (first use in this function) > check_mysql.c:165: error: ???fields??? undeclared (first use in this function) > make[2]: *** [check_mysql-check_mysql.o] Error 1 > make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/nagios-plugins-1.4.5' > make: *** [all] Error 2 > > Sam Fraser > > > > > > ___________________________________________________________ > Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlittle at mintcommerce.com Wed Feb 7 21:22:57 2007 From: jlittle at mintcommerce.com (Jason Little) Date: Wed, 7 Feb 2007 15:22:57 -0500 Subject: Sending as specific email address In-Reply-To: <45CA0021.2030205@mailnetwork.co.uk> References: <45CA0021.2030205@mailnetwork.co.uk> Message-ID: <012601c74af5$c14c3b30$6364a8c0@mintinc.ca> I ended up using generics in sendmail since I didn't want the whole box sending out like that just the nagios user. Thanks for the help. Jason -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) Sent: Wednesday, February 07, 2007 11:37 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Sending as specific email address Peter L. Berghold wrote: > Unless totally misunderstand the issue this is more of a MTA > configuration issue than a Nagios issue. > > FYI If you are using Exim as your MTA like me, you need to set your Nagios user as a "trusted user" - then as long as you have a "From:" header in your e-mail, Exim will send the e-mail out as if it came from that address. If Nagios isn't a trusted user, the e-mail will look to have come from "nagios@." Regards, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akash.jhamb at gmail.com Wed Feb 7 22:02:56 2007 From: akash.jhamb at gmail.com (Akash Jhamb) Date: Thu, 8 Feb 2007 02:32:56 +0530 Subject: AIX installation Message-ID: <74e92fc70702071302y4883ec7bmf3605881d440916e@mail.gmail.com> Hi I want to install nagios on AIX version. I understand that it was designed for Linux but is compatible with UNIX variants as well. I want to know specifically if it will work with AIX version 5.2.0.0 Many thanks Akash -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Feb 7 22:34:45 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 07 Feb 2007 22:34:45 +0100 Subject: AIX installation In-Reply-To: <74e92fc70702071302y4883ec7bmf3605881d440916e@mail.gmail.com> References: <74e92fc70702071302y4883ec7bmf3605881d440916e@mail.gmail.com> Message-ID: <45CA45F5.60908@telcotec.se> Akash Jhamb wrote: > Hi > > I want to install nagios on AIX version. I understand that it was designed > for Linux but is compatible with UNIX variants as well. I want to know > specifically if it will work with AIX version 5.2.0.0 Don't see why not, it's *nix. Just make sure that you have the requirements fulfilled. /Lars ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.thornton at rmit.edu.au Thu Feb 8 02:20:17 2007 From: stuart.thornton at rmit.edu.au (Stuart Thornton) Date: Thu, 08 Feb 2007 12:20:17 +1100 Subject: Help with Nagios Looking Glass 1.0.2 Message-ID: <45CB1582.A03B.00C8.0@ems.rmit.edu.au> Ive just installed NGL 1.0.2 on my server running Nagios 2.7. When hitting the NGL server location in my browser I get an error "Could not sync all required files with the server." Im pretty sure all permissions and file locations are correct. NGL is installed in the share area of Nagios atm. Can someone give me a bit of insight into what the problem could be ? Cheers Stuart Stuart Thornton Portfolio of Design and Social Context RMIT University PH +613 9925 9191 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.thornton at rmit.edu.au Thu Feb 8 05:56:00 2007 From: stuart.thornton at rmit.edu.au (Stuart Thornton) Date: Thu, 08 Feb 2007 15:56:00 +1100 Subject: Help with Nagios Looking Glass 1.0.2 In-Reply-To: <45CB1582.A03B.00C8.0@ems.rmit.edu.au> References: <45CB1582.A03B.00C8.0@ems.rmit.edu.au> Message-ID: <45CB4812.A03B.00C8.0@ems.rmit.edu.au> Update I managed to sort out the sync issue however was stumped by the next error. "The polling server feed returned a 'failure' code; the polling server said: The poller could not re-build the indexes" Thanks again.. Stuart >>> "Stuart Thornton" 8/02/2007 12:20 pm >>> Ive just installed NGL 1.0.2 on my server running Nagios 2.7. When hitting the NGL server location in my browser I get an error "Could not sync all required files with the server." Im pretty sure all permissions and file locations are correct. NGL is installed in the share area of Nagios atm. Can someone give me a bit of insight into what the problem could be ? Cheers Stuart Stuart Thornton Portfolio of Design and Social Context RMIT University PH +613 9925 9191 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esben at cs.aau.dk Thu Feb 8 10:01:48 2007 From: esben at cs.aau.dk (Esben Bach) Date: Thu, 08 Feb 2007 10:01:48 +0100 Subject: timed out check_procs on solaris 10 In-Reply-To: References: Message-ID: <45CAE6FC.803@cs.aau.dk> Did you ever find a solution for this? -- Esben Martin M?ller Pedersen wrote: > Hi, > I have compiled the nagios-plugins-1.4.5 on a solaris 10 with gcc 3.4.6 but > when I run check_procs it just times out ?! > > Any advises ? > Thanks > /Martin > > > pods7# /usr/local/nagios/libexec/check_procs -w 5 -c 10 -s Z > CRITICAL - Plugin timed out after 10 seconds > pods7# ldd /usr/local/nagios/libexec/check_procs > libsocket.so.1 => /usr/lib/libsocket.so.1 > libssl.so.0.9.8 => /usr/local/ssl/lib/libssl.so.0.9.8 > libcrypto.so.0.9.8 => /usr/local/ssl/lib/libcrypto.so.0.9.8 > libc.so.1 => /usr/lib/libc.so.1 > libnsl.so.1 => /usr/lib/libnsl.so.1 > libdl.so.1 => /usr/lib/libdl.so.1 > libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 > libmp.so.2 => /usr/lib/libmp.so.2 > libmd5.so.1 => /usr/lib/libmd5.so.1 > libscf.so.1 => /usr/lib/libscf.so.1 > libdoor.so.1 => /usr/lib/libdoor.so.1 > libuutil.so.1 => /usr/lib/libuutil.so.1 > libm.so.2 => /usr/lib/libm.so.2 > /platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1 > /platform/SUNW,Sun-Fire-V210/lib/libmd5_psr.so.1 > pods7# id > uid=0(root) gid=0(root) > pods7# su - nagios > $ /usr/local/nagios/libexec/check_procs > CRITICAL - Plugin timed out after 10 seconds > > > $ /usr/local/bin/gcc -v > Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs > Configured with: ../configure --with-as=/usr/ccs/bin/as > --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77 > Thread model: posix > gcc version 3.4.6 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From traxplayer at gmail.com Thu Feb 8 10:35:32 2007 From: traxplayer at gmail.com (=?ISO-8859-1?Q?Martin_M=F8ller_Pedersen?=) Date: Thu, 8 Feb 2007 10:35:32 +0100 Subject: timed out check_procs on solaris 10 In-Reply-To: <45CAE6FC.803@cs.aau.dk> References: <45CAE6FC.803@cs.aau.dk> Message-ID: On 08/02/07, Esben Bach wrote: > Did you ever find a solution for this? > > -- > Esben > No. So I wrote a small shell-script which does the check for me instead. /Martin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Feb 8 11:05:36 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 08 Feb 2007 10:05:36 +0000 Subject: Help with Nagios Looking Glass 1.0.2 In-Reply-To: <45CB4812.A03B.00C8.0@ems.rmit.edu.au> References: <45CB1582.A03B.00C8.0@ems.rmit.edu.au> <45CB4812.A03B.00C8.0@ems.rmit.edu.au> Message-ID: <45CAF5F0.60209@mailnetwork.co.uk> Stuart Thornton wrote: > Update > > I managed to sort out the sync issue however was stumped by the next > error. > > "The polling server feed returned a 'failure' code; the polling server > said: The poller could not re-build the indexes" > The webserver user needs write permissions to NLG's "server/index" folder. Regards, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.thornton at rmit.edu.au Thu Feb 8 13:20:09 2007 From: stuart.thornton at rmit.edu.au (Stuart Thornton) Date: Thu, 08 Feb 2007 23:20:09 +1100 Subject: Help with Nagios Looking Glass 1.0.2 In-Reply-To: <45CAF5F0.60209@mailnetwork.co.uk> References: <45CB1582.A03B.00C8.0@ems.rmit.edu.au> <45CB4812.A03B.00C8.0@ems.rmit.edu.au> <45CAF5F0.60209@mailnetwork.co.uk> Message-ID: <45CBB02B.A03B.00C8.0@ems.rmit.edu.au> Thanks Andy That sorted it out. However either im going blind or thats not in the PDF documentation. The only permissions operations i see are performed in the client area. Cheers Stuart >>> "Andy Shellam (Mailing Lists)" 8/02/2007 9:05 pm >>> Stuart Thornton wrote: > Update > > I managed to sort out the sync issue however was stumped by the next > error. > > "The polling server feed returned a 'failure' code; the polling server > said: The poller could not re-build the indexes" > The webserver user needs write permissions to NLG's "server/index" folder. Regards, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From edalb1979 at gmail.com Thu Feb 8 13:47:25 2007 From: edalb1979 at gmail.com (edalB) Date: Thu, 8 Feb 2007 14:47:25 +0200 Subject: Nagios not polling httpd In-Reply-To: <45C9DB4E.9000904@mailnetwork.co.uk> References: <45C87093.1050403@mailnetwork.co.uk> <45C87838.7010901@mailnetwork.co.uk> <45C9DB4E.9000904@mailnetwork.co.uk> Message-ID: nagios-0 libexec # ./check_http 10.0.4.37 -v GET / HTTP/1.0 User-Agent: check_http/1.96 (nagios-plugins 1.4.5) CRITICAL - Socket timeout after 10 seconds On 2/7/07, Andy Shellam (Mailing Lists) wrote: > > Robin Ericsson wrote: > On 2/7/07, edalB wrote: > > > Well this is what I get > > nagios-0 ~ # telnet 10.0.4.37 80 > Trying 10.0.4.37... > Connected to 10.0.4.37. > Escape character is '^]'. > > Then nagios shouldn't have any problems either. > > > Try running the "check_http" manually with the "-v" option, see if you get > any useful info back. > > Andy. > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu Feb 8 13:54:06 2007 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 8 Feb 2007 06:54:06 -0600 Subject: Scheduled Downtime Message-ID: Can anyone tell me the easiest way to schedule downtime for a service everyday at a set time and duration? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob.blake at gmail.com Thu Feb 8 14:10:41 2007 From: rob.blake at gmail.com (Rob Blake) Date: Thu, 8 Feb 2007 13:10:41 +0000 Subject: Scheduled Downtime In-Reply-To: References: Message-ID: On 2/8/07, Edwin Zoeller wrote: > > Can anyone tell me the easiest way to schedule downtime for a service > everyday at a set time and duration? > Guess it depends what you mean by downtime. But if you just want a configuration whereby you do not receive notifications for host/services within a specified time for a set duration, then I would define a time period that is valid upto your downtime and the begins after your downtime has ended eg define timeperiod{ name example_timeperiod monday 00:00-12:00,15:00-24:00 tuesday 00:00-12:00,15:00-24:00 wednesday 00:00-12:00,15:00-24:00 thursday 00:00-12:00,15:00-24:00 friday 00:00-12:00,15:00-24:00 } In essence Nagios will know that the host is down, but will not send notifications due to it not being in a valid time period. Rob ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Mestdagh at geosolutions.be Thu Feb 8 16:08:22 2007 From: Tommy.Mestdagh at geosolutions.be (Mestdagh Tommy) Date: Thu, 8 Feb 2007 16:08:22 +0100 Subject: Use service more than once for the same host Message-ID: <27FA63FC15F4C243A37B07D57C891E3C056C4EF5@ws03-exchange.iconos.be> Check -> HTPP_IP_PORT_URL Command definition: $USER1$/check_http -w $ARG1$ -c $ARG2$ -I $HOSTADDRESS$ -p $ARG3$ -u $ARG4$ -s $ARG5 Usage: check_http_anymap_mapping!ARG1!ARG2!ARG3!ARG4!ARG5 Command line: ? check_http_anymap_mapping!10!20!8070!/anymap/servlet/AxisServlet!"And now..." Hi all, I think I found a limitation on nagios, but I hope it's a limitations of myself.. Basicly I want to run the same service 4 times (or more ion the future ) on the same server. Offcourse every time with different parameters. Like port -> $ARG3$ and uri -> $ARG4$ will be different. I use the groundworkopensource interface wish only allows unique services on one server. I wand to avoid that I have to copy the HTPP_IP_PORT_URL to HTPP_IP_PORT_URL1, and HTPP_IP_PORT_URL2 and so one Regards Mestdagh Tommy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Feb 8 16:31:32 2007 From: knobdy at gmail.com (Brian Loe) Date: Thu, 8 Feb 2007 09:31:32 -0600 Subject: notifications Message-ID: <3c4611bc0702080731v799deaa2sae0f2487cb2490e4@mail.gmail.com> I have a contact group with everyone on the team in it. I have another just for the on-call pager. I used to send e-mails to both groups but now I'm paging them. Is there a way to configure a notification to send a page to one contact/contact group and an e-mail to another? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Thu Feb 8 16:59:31 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 8 Feb 2007 10:59:31 -0500 Subject: NRPE for OpenVMS 8.2 Alpha? Message-ID: <7F477BD26F545A4C8E4779754A38EFB392C042@PEPWMV00043.corp.pep.pvt> We have a need to bring the wholesome goodness of Nagios to the OpenVMS 8.2 (Alpha) platform. Has anyone managed to build the NRPE daemon there? We may have to revert to trying rsh which I really hate to do. Thanks Mark ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Thu Feb 8 18:00:10 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Thu, 08 Feb 2007 11:00:10 -0600 Subject: Use service more than once for the same host In-Reply-To: <27FA63FC15F4C243A37B07D57C891E3C056C4EF5@ws03-exchange.iconos.be> References: <27FA63FC15F4C243A37B07D57C891E3C056C4EF5@ws03-exchange.iconos.be> Message-ID: <45CB571A.3040507@epsiia.com> Mestdagh Tommy wrote: > > Basicly I want to run the same service 4 times (or more ion the future ) > on the same server. Offcourse every time with different parameters. > > I wand to avoid that I have to copy the HTPP_IP_PORT_URL to > HTPP_IP_PORT_URL1, and HTPP_IP_PORT_URL2 and so one > Hi, You should be able to use the 'use name_of_template' to inherit the variables from the first service definition, so you don't have to copy the full text. I think that's what you were asking about. Check the 'Object Inheritance' page of the documentation. - Josh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Thu Feb 8 18:05:55 2007 From: MPetersen at gs1us.org (Petersen, Mark) Date: Thu, 8 Feb 2007 11:05:55 -0600 Subject: Use service more than once for the same host Message-ID: <115F9F24033E1E4AB338024BDF9646F0055C02@chilms1002.UCCORG.org> The only way I know to do this is with multiple services for the host. Something like the proxy server checks below. # 'check_squid' command definition define command{ command_name check_squid command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK' } define service{ hostgroup_name proxy service_description SQUIDS on 8080 check_command check_squids!8080!/ServerStatus use generic-unix } define service{ hostgroup_name proxy service_description SQUIDS on 8081 check_command check_squids!8081!/ServerStatus use generic-unix } define service{ hostgroup_name proxy service_description SQUIDS on 8082 check_command check_squids!8082!/ServerStatus use generic-unix } ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mestdagh Tommy Sent: Thursday, February 08, 2007 9:08 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Use service more than once for the same host Check -> HTPP_IP_PORT_URL Command definition: $USER1$/check_http -w $ARG1$ -c $ARG2$ -I $HOSTADDRESS$ -p $ARG3$ -u $ARG4$ -s $ARG5 Usage: check_http_anymap_mapping!ARG1!ARG2!ARG3!ARG4!ARG5 Command line: ? check_http_anymap_mapping!10!20!8070!/anymap/servlet/AxisServlet!"And now..." Hi all, I think I found a limitation on nagios, but I hope it's a limitations of myself.. Basicly I want to run the same service 4 times (or more ion the future ) on the same server. Offcourse every time with different parameters. Like port -> $ARG3$ and uri -> $ARG4$ will be different. I use the groundworkopensource interface wish only allows unique services on one server. I wand to avoid that I have to copy the HTPP_IP_PORT_URL to HTPP_IP_PORT_URL1, and HTPP_IP_PORT_URL 2 and so one Regards Mestdagh Tommy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samfraser at yahoo.co.uk Thu Feb 8 18:23:30 2007 From: samfraser at yahoo.co.uk (Sam Fraser) Date: Thu, 8 Feb 2007 17:23:30 +0000 (GMT) Subject: That didn't work what next? Message-ID: <20070208172330.53700.qmail@web23104.mail.ird.yahoo.com> Thanks for being so helpful. Ok, I've uninstalled mysql server and reinstalled mysql-server with mysql-devel. I tried again to ./configure and then make, it looks a lot better but still get the errors. Blow is the last section of output from the ./configure, showing you that it has now found where the mysql_config and following that my attempt at make. I'm running FC 6. config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-lwres: no --with-ipv6: yes --with-mysql: /usr/bin/mysql_config --with-openssl: yes --with-gnutls: no --enable-emulate-getaddrinfo: no --with-perl: /usr/bin/perl --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin [root at windowslinux nagios-plugins-1.4.5]# make make all-recursive make[1]: Entering directory `/root/nagios-plugins-1.4.5' Making all in lib make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib' make all-recursive make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib' Making all in tests make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests' make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib' make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib' make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib' Making all in plugins make[2]: Entering directory `/root/nagios-plugins-1.4.5/plugins' if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/u sr/include -I/usr/include/mysql -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || e cho './'`check_mysql.c; \ then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql .Tpo"; exit 1; fi /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagi osplug.a ../lib/libcoreutils.a -lnsl -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -l ssl -lcrypto gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o -L/root/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a ../lib/libcoreutils.a -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto /usr/bin/ld: cannot find -lmysqlclient collect2: ld returned 1 exit status make[2]: *** [check_mysql] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.5' make: *** [all] Error 2 Sam ----- Original Message ---- From: Lars Stavholm To: Sam Fraser Cc: nagios-users at lists.sourceforge.net Sent: Wednesday, 7 February, 2007 8:11:45 PM Subject: Re: [Nagios-users] That didn't work what next? Sam Fraser wrote: > Hello Nagios users, > > I've been having trouble installing nagios plugins as part of my first nagios installation. I was advised by someone on this email group that it was because I didn't have mysql server installed. I've now installed mysql server but still get some very strange errors when compiling the plugins and i don't know what they mean. Any other suggestions? Well, I did actually say more than that:| You still seem to be missing the mysql source files, especially [/usr/include/]mysql/errmsg.h and [/usr/include/]mysql/mysql.h. It's either that or, if your mysql source files are in place, you have to tell the plugin build were they are by means of the configure option "--with-mysql", in case they are in a nonstandard place. If you have a look at the configure option --with-mysql, try "./configure --help", you'll see that the --with-mysql is looking for the location of the file mysql_config, which is part of the mysql-devel rpm package, and therefore part of the source code. So, if you've installed your mysql source code into /usr/local for example, the proper configure statement would be "./configure --with-mysql=/usr/local" It would help, and make it easier to help you, if you told us some details about your environment, such as OS, distro, version, etc. For example, on a SuSE Linux 10.2 box with the mysql-devel rpm package installed, the plugins builds nicely. Also, since it's the continuation of the same problem, you might want to stay within the original thread. Good Luck /L > check_mysql.c:51:19: error: mysql.h: No such file or directory > check_mysql.c:52:20: error: errmsg.h: No such file or directory > check_mysql.c:58: error: ???MYSQL_PORT??? undeclared here (not in a function) > check_mysql.c: In function ???main???: > check_mysql.c:73: error: ???MYSQL??? undeclared (first use in this function) > check_mysql.c:73: error: (Each undeclared identifier is reported only once > check_mysql.c:73: error: for each function it appears in.) > check_mysql.c:73: error: expected ???;??? before ???mysql??? > check_mysql.c:74: error: ???MYSQL_RES??? undeclared (first use in this function) > check_mysql.c:74: error: ???res??? undeclared (first use in this function) > check_mysql.c:75: error: ???MYSQL_ROW??? undeclared (first use in this function) > check_mysql.c:75: error: expected ???;??? before ???row??? > check_mysql.c:91: error: ???mysql??? undeclared (first use in this function) > check_mysql.c:93: error: ???MYSQL_READ_DEFAULT_GROUP??? undeclared (first use in this function) > check_mysql.c:97: error: ???CR_UNKNOWN_HOST??? undeclared (first use in this function) > check_mysql.c:99: error: ???CR_VERSION_ERROR??? undeclared (first use in this function) > check_mysql.c:101: error: ???CR_OUT_OF_MEMORY??? undeclared (first use in this function) > check_mysql.c:103: error: ???CR_IPSOCK_ERROR??? undeclared (first use in this function) > check_mysql.c:105: error: ???CR_SOCKET_CREATE_ERROR??? undeclared (first use in this function) > check_mysql.c:112: warning: cast to pointer from integer of different size > check_mysql.c:112: warning: cast to pointer from integer of different size > check_mysql.c:112: warning: cast to pointer from integer of different size > check_mysql.c:112: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:112: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:112: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:112: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:116: error: ???CR_SERVER_GONE_ERROR??? undeclared (first use in this function) > check_mysql.c:118: error: ???CR_SERVER_LOST??? undeclared (first use in this function) > check_mysql.c:120: error: ???CR_UNKNOWN_ERROR??? undeclared (first use in this function) > check_mysql.c:127: warning: cast to pointer from integer of different size > check_mysql.c:127: warning: cast to pointer from integer of different size > check_mysql.c:127: warning: cast to pointer from integer of different size > check_mysql.c:127: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:127: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:127: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:127: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:134: warning: cast to pointer from integer of different size > check_mysql.c:134: warning: cast to pointer from integer of different size > check_mysql.c:134: warning: cast to pointer from integer of different size > check_mysql.c:134: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:134: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:134: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:134: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:146: error: ???row??? undeclared (first use in this function) > check_mysql.c:147: warning: cast to pointer from integer of different size > check_mysql.c:147: warning: cast to pointer from integer of different size > check_mysql.c:147: warning: cast to pointer from integer of different size > check_mysql.c:147: warning: passing argument 1 of ???strlen??? makes pointer from integer without a cast > check_mysql.c:147: warning: passing argument 2 of ???__builtin___memcpy_chk??? makes pointer from integer without a cast > check_mysql.c:147: warning: passing argument 2 of ???__memcpy_ichk??? makes pointer from integer without a cast > check_mysql.c:147: warning: passing argument 1 of ???__strdup??? makes pointer from integer without a cast > check_mysql.c:165: error: ???MYSQL_FIELD??? undeclared (first use in this function) > check_mysql.c:165: error: ???fields??? undeclared (first use in this function) > make[2]: *** [check_mysql-check_mysql.o] Error 1 > make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/nagios-plugins-1.4.5' > make: *** [all] Error 2 > > Sam Fraser > > > > > > ___________________________________________________________ > Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Feb 8 19:05:50 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 8 Feb 2007 13:05:50 -0500 Subject: notifications In-Reply-To: <3c4611bc0702080731v799deaa2sae0f2487cb2490e4@mail.gmail.com> References: <3c4611bc0702080731v799deaa2sae0f2487cb2490e4@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Brian Loe > Sent: Thursday, February 08, 2007 7:32 AM > To: Nagios Users > Subject: [Nagios-users] notifications > > I have a contact group with everyone on the team in it. I > have another just for the on-call pager. I used to send > e-mails to both groups but now I'm paging them. Is there a > way to configure a notification to send a page to one > contact/contact group and an e-mail to another? Sound slike you need two contacts for the group -- one that receives alerts via pager, and one that receives them via email. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smitchell at storefinancial.com Thu Feb 8 19:10:24 2007 From: smitchell at storefinancial.com (Scott Mitchell) Date: Thu, 8 Feb 2007 12:10:24 -0600 Subject: Reverse service in Windows Message-ID: OK I am relatively new to NAGIOS, but I haven't been able to find an answer to my issue. I would like to monitor a Windows 2003 service that is normally not running and I would like to be notified when it is running. Is this possible? Scott Mitchell StoreFinancial Confidentiality Notice: This message and any included attachments are from StoreFinancial Services, LLC, and are intended only for the addressee(s). The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail. Thank you for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 8 19:19:33 2007 From: marc at ena.com (Marc Powell) Date: Thu, 8 Feb 2007 12:19:33 -0600 Subject: Reverse service in Windows Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Scott Mitchell > Sent: Thursday, February 08, 2007 12:10 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Reverse service in Windows > > OK I am relatively new to NAGIOS, but I haven't been able to find an > answer to my issue. I would like to monitor a Windows 2003 service that is > normally not running and I would like to be notified when it is running. > Is this possible? You want to negate the status of the normal process check result. Failure to see the process running becomes OK, process running becomes CRITICAL. An example can be found here -- http://article.gmane.org/gmane.network.nagios.user/45043 -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Feb 8 20:07:10 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 08 Feb 2007 20:07:10 +0100 Subject: That didn't work what next? In-Reply-To: <20070208172330.53700.qmail@web23104.mail.ird.yahoo.com> References: <20070208172330.53700.qmail@web23104.mail.ird.yahoo.com> Message-ID: <45CB74DE.5010703@telcotec.se> Sam Fraser wrote: > Thanks for being so helpful. No worries, we've all been there. > Ok, I've uninstalled mysql server and reinstalled mysql-server with mysql-devel. I tried again to ./configure and then make, it looks a lot better but still get the errors. Blow is the last section of output from the ./configure, showing you that it has now found where the mysql_config and following that my attempt at make. OK, that's one good step forward. > I'm running FC 6. OK, fine. > config.status: creating po/Makefile > --with-apt-get-command: > --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s > --with-ping-command: /bin/ping -n -U -w %d -c %d %s > --with-lwres: no > --with-ipv6: yes > --with-mysql: /usr/bin/mysql_config > --with-openssl: yes > --with-gnutls: no > --enable-emulate-getaddrinfo: no > --with-perl: /usr/bin/perl > --with-cgiurl: /nagios/cgi-bin > --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin > [root at windowslinux nagios-plugins-1.4.5]# make > make all-recursive > make[1]: Entering directory `/root/nagios-plugins-1.4.5' > Making all in lib > make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib' > make all-recursive > make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib' > Making all in tests > make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests' > make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib' > make[4]: Nothing to be done for `all-am'. > make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib' > make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib' > make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib' > Making all in plugins > make[2]: Entering directory `/root/nagios-plugins-1.4.5/plugins' > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/u > sr/include -I/usr/include/mysql -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu > ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che > ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || e > cho './'`check_mysql.c; \ > then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql > .Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagi > osplug.a ../lib/libcoreutils.a -lnsl -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -l > ssl -lcrypto > gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o -L/root/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a > ../lib/libcoreutils.a -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto > /usr/bin/ld: cannot find -lmysqlclient > collect2: ld returned 1 exit status > make[2]: *** [check_mysql] Error 1 > make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/nagios-plugins-1.4.5' > make: *** [all] Error 2 OK, not too bad then. It would appear that the build is looking for the MySQL libraries to link with. On my SuSE Linux 10.2 I have a file called /usr/lib/libmysqlclient.so.15 that most certainly would be the one. Further investigation shows that the file belongs to mysql-shared-5.0.26-12.i586.rpm (on my distro at least). The rpm distro packagers do it slightly differently on different distros, but would you mind having a look and see if you got the mysql-shared rpm package somewhere in your distro, and if so make sure it's installed. Failing that, see if you can find any other mysql related rpm packages that are not yet installed. /L ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kloeppingzd at gmail.com Thu Feb 8 20:18:56 2007 From: kloeppingzd at gmail.com (Zachary Kloepping) Date: Thu, 8 Feb 2007 13:18:56 -0600 Subject: host notifications missing info Message-ID: <1cfdfd660702081118i47ffd0fy1ed721931d822740@mail.gmail.com> Hello. I have been tinkering with nagios for about a month now and have been ignoring this issue up until now... When a host of mine goes down, the notification email I receive is very undescriptive as it doesn't have anything for the status, service or additional info. It looks like this: ** PROBLEM alert - www.myhost.net/ is ** ***** Nagios 2.6 ***** Notification Type: PROBLEM Service: Host: www.myhost.net Address: www.myhost.net State: Date/Time: Thu Feb 8 04:13:52 CST 2007 Additional Info: --------------------------------------------------- I am using check_command: check-host-alive. All my service e-mails looks fine, its only the host ones that look like this. Thanks, Zac -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivera01 at sbcglobal.net Thu Feb 8 20:33:16 2007 From: rivera01 at sbcglobal.net (David Rivera) Date: Thu, 8 Feb 2007 11:33:16 -0800 (PST) Subject: Trend monitoring In-Reply-To: <45CB74DE.5010703@telcotec.se> References: <45CB74DE.5010703@telcotec.se> Message-ID: <20070208193316.52070.qmail@web82103.mail.mud.yahoo.com> Hello All, I was wondering? Is there additional trend monitoring add-ons for servers/services available. I currenlty am running Nagios v2.5 thanks much David Money can't buy happiness, but neither can poverty. -Leo Rosten -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Feb 8 20:50:51 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 8 Feb 2007 14:50:51 -0500 Subject: host notifications missing info In-Reply-To: <1cfdfd660702081118i47ffd0fy1ed721931d822740@mail.gmail.com> References: <1cfdfd660702081118i47ffd0fy1ed721931d822740@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Zachary Kloepping > Sent: Thursday, February 08, 2007 11:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host notifications missing info > > Hello. I have been tinkering with nagios for about a month > now and have been ignoring this issue up until now... Check the macros in your notification commands. They are probably incorrect. http://nagios.sourceforge.net/docs/2_0/macros.html ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Feb 8 20:52:36 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 08 Feb 2007 20:52:36 +0100 Subject: Trend monitoring In-Reply-To: <20070208193316.52070.qmail@web82103.mail.mud.yahoo.com> References: <20070208193316.52070.qmail@web82103.mail.mud.yahoo.com> Message-ID: <45CB7F84.6060209@telcotec.se> David Rivera wrote: > Hello All, > > I was wondering? > > Is there additional trend monitoring add-ons for servers/services available. > > I currenlty am running Nagios v2.5 Check out . I don't know which one is best though, I'm trying NagiosGrapher at the moment. There might be others as well, like . /Lars ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Feb 8 21:51:35 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 08 Feb 2007 20:51:35 +0000 Subject: Help with Nagios Looking Glass 1.0.2 In-Reply-To: <45CBB02B.A03B.00C8.0@ems.rmit.edu.au> References: <45CB1582.A03B.00C8.0@ems.rmit.edu.au> <45CB4812.A03B.00C8.0@ems.rmit.edu.au> <45CAF5F0.60209@mailnetwork.co.uk> <45CBB02B.A03B.00C8.0@ems.rmit.edu.au> Message-ID: <45CB8D57.9010904@mailnetwork.co.uk> Stuart Thornton wrote: > Thanks Andy > > That sorted it out. However either im going blind or thats not in the > PDF documentation. The only permissions operations i see are performed > in the client area. > No, you're right. That change was introduced into 1.0.2, however the manual applies for 1.0.0. I'm still waiting on my manual author to update it for me. I did put a note in the release announcement on nagios-users, but it can easily go missed. I will put a note on the website when I get a spare second. Thanks Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Feb 8 21:58:49 2007 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 08 Feb 2007 18:58:49 -0200 Subject: interval_length=1 configuration directive Message-ID: <1170968329.31448.26.camel@localhost> Good afternoon, Has anyone bein able to successfully configure a Nagios instance with interval_length=1? Any experience to share about it? TIA, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Feb 8 22:16:12 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 08 Feb 2007 21:16:12 +0000 Subject: interval_length=1 configuration directive In-Reply-To: <1170968329.31448.26.camel@localhost> References: <1170968329.31448.26.camel@localhost> Message-ID: <45CB931C.9020800@mailnetwork.co.uk> Marcel Mitsuto Fucatu Sugano wrote: > Good afternoon, > > Has anyone bein able to successfully configure a Nagios instance with > interval_length=1? Any experience to share about it? > Originally I was a bit dubious of changing this from all the warnings that were in the config file, but (thanks to someone else who took the plunge) I set this to 1 when I configured my new Nagios 2.7 server and have not had any negative effects. It can get a bit confusing sometimes as I haven't found a definitive list of which settings use the interval_length, but that could be just me skipping over bits in the manual :) .) Regards, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.thornton at rmit.edu.au Fri Feb 9 02:13:41 2007 From: stuart.thornton at rmit.edu.au (Stuart Thornton) Date: Fri, 09 Feb 2007 12:13:41 +1100 Subject: Help with Nagios Looking Glass 1.0.2 In-Reply-To: <38D6D515FC15924693F2640881AF4620BC46F0@corpexbe2.arcadis-us.com> References: <45CB8D57.9010904@mailnetwork.co.uk> <38D6D515FC15924693F2640881AF4620BC46F0@corpexbe2.arcadis-us.com> Message-ID: <45CC6577.A03B.00C8.0@ems.rmit.edu.au> Hi Garry My original problem was an oversight in the client config file. $Stub_DownloadSource was set to the wrong URL. Check that you have your paths to the s3_download.php correct. Cheers Stu >>> "Cook, Garry" 9/02/2007 8:59 am >>> I'm seeing this same error "Could not sync all required files with the server." I've verified that all files in /usr/local/nagios/share/client and ../server are owned by www-data, the user apache is running as. I've also made sure that /usr/local/nagios/share/server/index is writable by www-data. Still seeing the problem. Hmmm... Maybe the write permission solution was for the failure code error. Reading through the thread again it looks like Stuart fixed the original issue that I'm now seeing, but never mentioned how he did so. Little help, Stu? Thanks, Garry -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy Shellam (Mailing Lists) Sent: Thursday, February 08, 2007 1:52 PM To: Stuart Thornton Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help with Nagios Looking Glass 1.0.2 Stuart Thornton wrote: > Thanks Andy > > That sorted it out. However either im going blind or thats not in the > PDF documentation. The only permissions operations i see are > performed in the client area. > No, you're right. That change was introduced into 1.0.2, however the manual applies for 1.0.0. I'm still waiting on my manual author to update it for me. I did put a note in the release announcement on nagios-users, but it can easily go missed. I will put a note on the website when I get a spare second. Thanks Andy. ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raghavendra.kristam at gmail.com Fri Feb 9 07:46:17 2007 From: raghavendra.kristam at gmail.com (raghavendra kristam) Date: Fri, 9 Feb 2007 12:16:17 +0530 Subject: cpu usage / memory usage Message-ID: Hi, Can some one provide directions how to handle cpu usage / memory usage. I am using check_disk plugin for disk usage. Thanks, Raghavendra. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Fri Feb 9 08:11:50 2007 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Fri, 9 Feb 2007 08:11:50 +0100 Subject: interval_length=1 configuration directive Message-ID: I do the same, but know, that any check is executed again at least, when the last result has come back. So, it depends from the load on your nagios-server and network connections, how often a check is possible to run and how long a run takes. Regards, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de -----Urspr?ngliche Nachricht----- Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Marcel Mitsuto Fucatu Sugano Gesendet: Donnerstag, 8. Februar 2007 21:59 An: Nagios Users Betreff: [Nagios-users] interval_length=1 configuration directive Good afternoon, Has anyone bein able to successfully configure a Nagios instance with interval_length=1? Any experience to share about it? TIA, Marcel AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Diese E-Mail und eventuell beigef?gte Anh?nge enthalten vertrauliche Informationen, die rechtlich besonders gesch?tzt sein k?nnen, z.B. durch das Bankgeheimnis. Diese Informationen sind ausschlie?lich f?r die als Adressaten genannten Personen bestimmt. Wenn Sie nicht der angeschriebene Empf?nger sind oder diese E-Mail durch einen ?bertragungsfehler erhalten haben, informieren Sie uns bitte sofort per E-Mail, Telefon oder Fax und l?schen danach vorliegende E-Mail. Das unbefugte Kopieren dieser E-Mail, ihrer eventuell beigef?gten Anh?nge sowie die unbefugte Weitergabe der enthaltenen Informationen an Dritte sind nicht gestattet. Wir danken f?r Ihre Hilfe. This e-mail message together with its attachments, if any, is confidential and may contain information subject to legal privilege, i.e. banking secrecy. The information contained in this e-mail or its attachments is intended solely for the persons named as addressees. If you are not the intended recipient or have received this e-mail in error, please advise us immediately by e-mail, telephone or fax and delete this message. Any unauthorised copying of this message or unauthorised distribution of the information contained herein is prohibited. Thank you for your co-operation. -------------- next part -------------- A non-text attachment was scrubbed... Name: Zimmer, Thomas (Produktservices und Betrieb).vcf Type: text/x-vcard Size: 264 bytes Desc: Zimmer, Thomas (Produktservices und Betrieb).vcf URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Fri Feb 9 08:20:30 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 9 Feb 2007 08:20:30 +0100 Subject: That didn't work what next? Message-ID: -----Ursprungligt meddelande----- Fr?n: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] F?r stava at telcotec.se Skickat: den 8 februari 2007 20:07 Till: samfraser at yahoo.co.uk Kopia: nagios-users at lists.sourceforge.net ?mne: Re: [Nagios-users] That didn't work what next? Sam Fraser wrote: > Thanks for being so helpful. No worries, we've all been there. > Ok, I've uninstalled mysql server and reinstalled mysql-server with mysql-devel. I tried again to ./configure and then make, it looks a lot better but still get the errors. Blow is the last section of output from the ./configure, showing you that it has now found where the mysql_config and following that my attempt at make. OK, that's one good step forward. > I'm running FC 6. OK, fine. > config.status: creating po/Makefile > --with-apt-get-command: > --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s > --with-ping-command: /bin/ping -n -U -w %d -c %d %s > --with-lwres: no > --with-ipv6: yes > --with-mysql: /usr/bin/mysql_config > --with-openssl: yes > --with-gnutls: no > --enable-emulate-getaddrinfo: no > --with-perl: /usr/bin/perl > --with-cgiurl: /nagios/cgi-bin > --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin > [root at windowslinux nagios-plugins-1.4.5]# make > make all-recursive > make[1]: Entering directory `/root/nagios-plugins-1.4.5' > Making all in lib > make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib' > make all-recursive > make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib' > Making all in tests > make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests' > make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib' > make[4]: Nothing to be done for `all-am'. > make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib' > make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib' > make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib' > Making all in plugins > make[2]: Entering directory `/root/nagios-plugins-1.4.5/plugins' > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap -I/u > sr/include -I/usr/include/mysql -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu > ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che > ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || e > cho './'`check_mysql.c; \ > then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql > .Tpo"; exit 1; fi > /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -L. -o check_mysql check_mysql-check_mysql.o netutils.o utils.o ../lib/libnagi > osplug.a ../lib/libcoreutils.a -lnsl -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto -l > ssl -lcrypto > gcc -g -O2 -o check_mysql check_mysql-check_mysql.o netutils.o utils.o -L/root/nagios-plugins-1.4.5/plugins ../lib/libnagiosplug.a > ../lib/libcoreutils.a -lresolv -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib64 -lssl -lcrypto > /usr/bin/ld: cannot find -lmysqlclient > collect2: ld returned 1 exit status > make[2]: *** [check_mysql] Error 1 > make[2]: Leaving directory `/root/nagios-plugins-1.4.5/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/nagios-plugins-1.4.5' > make: *** [all] Error 2 OK, not too bad then. It would appear that the build is looking for the MySQL libraries to link with. On my SuSE Linux 10.2 I have a file called /usr/lib/libmysqlclient.so.15 that most certainly would be the one. Further investigation shows that the file belongs to mysql-shared-5.0.26-12.i586.rpm (on my distro at least). The rpm distro packagers do it slightly differently on different distros, but would you mind having a look and see if you got the mysql-shared rpm package somewhere in your distro, and if so make sure it's installed. Failing that, see if you can find any other mysql related rpm packages that are not yet installed. /L Hi , Thats?s your problem "/usr/bin/ld: cannot find -lmysqlclient " right? Try a 'ldconfig -v | grep mysql' and show the output Check your depends for mysql And make a rpm -qa | grep -i mysql to see what is installed You are missing some packages shared-compat yum search mysql | grep 'core\|extras' yum -y install mysql mysqlclient10 mysqlclient10-devel mysqlclient14 mysqlclient14-devel Are you running FC6 on a 64Bit machine ? /joe ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.30/674 - Release Date: 2007-02-07 15:33 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.30/674 - Release Date: 2007-02-07 15:33 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Feb 9 08:59:44 2007 From: m.borsani at it.net (Marco Borsani) Date: Fri, 9 Feb 2007 08:59:44 +0100 Subject: How to pass an argument to .. Message-ID: <00d001c74c20$4379f900$0900d40a@intranet.it.net> Hi ! I run Nagios Server 1.4, Nagios Plug-in 1.4.1 I need to pass an argument of the command to the notification systems, for example the TCP port of the check_tcp. Is this a way to do it ? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 9 09:37:14 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 09 Feb 2007 08:37:14 +0000 Subject: Help with Nagios Looking Glass 1.0.2 In-Reply-To: <38D6D515FC15924693F2640881AF4620BC46F0@corpexbe2.arcadis-us.com> References: <38D6D515FC15924693F2640881AF4620BC46F0@corpexbe2.arcadis-us.com> Message-ID: <45CC32BA.9000606@mailnetwork.co.uk> Hello Gary, In your "client/s3_config_stub.inc.php" file, set the $Stub_ClientEnableDebugging option to 1, then append "?debug=yes" to the end of your looking-glass URL: e.g. http://looking-glass.andyshellam.eu/?debug=yes That should give you a further clue as to where things are going wrong. The main causes of this error are: - HTTP authentication required to access s3_download.php, but not specified in the config - URL to s3_download.php is incorrect - No write permission to client/sync-files - No data received from s3_download.php (server-side configuration for sync'd files is incorrect) If you're still having problems, please post the output from running in debug mode. Thanks, Andy. Cook, Garry wrote: > I'm seeing this same error "Could not sync all required files with the > server." > I've verified that all files in /usr/local/nagios/share/client and > ../server are owned by www-data, the user apache is running as. I've > also made sure that /usr/local/nagios/share/server/index is writable by > www-data. > Still seeing the problem. > > Hmmm... Maybe the write permission solution was for the failure code > error. Reading through the thread again it looks like Stuart fixed the > original issue that I'm now seeing, but never mentioned how he did so. > > Little help, Stu? > > Thanks, > Garry > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy > Shellam (Mailing Lists) > Sent: Thursday, February 08, 2007 1:52 PM > To: Stuart Thornton > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help with Nagios Looking Glass 1.0.2 > > Stuart Thornton wrote: > >> Thanks Andy >> >> That sorted it out. However either im going blind or thats not in the >> > > >> PDF documentation. The only permissions operations i see are >> performed in the client area. >> >> > > No, you're right. That change was introduced into 1.0.2, however the > manual applies for 1.0.0. I'm still waiting on my manual author to > update it for me. > I did put a note in the release announcement on nagios-users, but it can > easily go missed. I will put a note on the website when I get a spare > second. > > Thanks > > Andy. > > > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45cb9d6718518298091890! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark0s at excite.com Fri Feb 9 11:04:50 2007 From: mark0s at excite.com (mark0s at excite.com) Date: Fri, 9 Feb 2007 05:04:50 -0500 (EST) Subject: Help compiling check_cluster2 Message-ID: <20070209100450.B7D6591FD7@xprdmxin.myway.com> Hello everybody, I just have download the nagios-plugins-1.4.6 dev package to get the check_cluster2 plugin (I only need to compile this plugin) but I'm having problems trying to compile it. I modified the Makefile adding manually the check_cluster2 where needed (I guess...) but it seems I mess something... Can anybody tell me exactly how to compile it from the command line? I'm using fedora core 6 with gcc 4.1.1 ,bash shell and Nagios v2.6. Thanks, Marcos _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From einar.indrida at gmail.com Fri Feb 9 14:52:22 2007 From: einar.indrida at gmail.com (Einar Indridason) Date: Fri, 9 Feb 2007 13:52:22 +0000 Subject: Nagios 2.0 -> 2.7 ... => performance graphic goes haywire.... Message-ID: <32603e510702090552g50b4450cyff33452ea7ce2968@mail.gmail.com> Good day folks. This morning I upgraded Nagios from 2.0 to 2.7 (no configuration changes). After this, some of my performance graphs don't work anymore. The tests themselves are run, and are visible in the Nagios status cgi-programs. So, Nagios *does* run those tests, and Nagios *does* see the output from those tests. However, Nagios does *not* want to run the performance stuff (Nagiosgraph in my case) on *some* of those tests. Any pointers? nagios.cfg has: perfdata_timeout=40 process_performance_data=1 host_perfdata_file=/usr/local/nagios/var/host_perfdata.log service_perfdata_file=/usr/local/nagios/var/perfdata.log service_perfdata_file_template=$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ host_perfdata_file_mode=a service_perfdata_file_mode=a service_perfdata_file_processing_interval=30 service_perfdata_file_processing_command=process-service-perfdata Any pointers where to look? Cheers, -- EinarI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Feb 9 15:24:02 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Feb 2007 08:24:02 -0600 Subject: Help compiling check_cluster2 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] > Sent: Friday, February 09, 2007 4:05 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Help compiling check_cluster2 > > > Hello everybody, > > > > I just have download the nagios-plugins-1.4.6 dev package to get the > check_cluster2 plugin (I only need to compile this plugin) but I'm having > problems trying to compile it. I modified the Makefile adding manually the > check_cluster2 where needed (I guess...) but it seems I mess something... > > > > Can anybody tell me exactly how to compile it from the command line? No need for make. -- # gcc -o check_cluster2 check_cluster2.c # ./check_cluster2 --help ./check_cluster2: unrecognized option `--help' Invalid arguments supplied Host/Service Cluster Plugin for Nagios 2 Copyright (c) 2000-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 03-11-2004 License: GPL Usage: ./check_cluster2 (-s | -h) [-l label] [-w threshold] [-c threshold] [-d val1,val2,...,valn] Options: -s, --service = Check service cluster status -h, --host = Check host cluster status -l, --label = Optional prepended text output (i.e. "Host cluster") -w, --warning = Specifies the number of hosts or services in cluster that must be in a non-OK state in order to return a WARNING status level -c, --critical = Specifies the number of hosts or services in cluster that must be in a non-OK state in order to return a CRITICAL status level -d, --data = The status codes of the hosts or services in the cluster, separated by commas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 9 15:30:53 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Feb 2007 08:30:53 -0600 Subject: cpu usage / memory usage Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of raghavendra kristam > Sent: Friday, February 09, 2007 12:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] cpu usage / memory usage > > Hi, > > Can some one provide directions how to handle cpu usage / memory usage. > I am using check_disk plugin for disk usage. Assuming you're talking about a unix variant, check_load is included in the standard plugins and can be used to infer cpu usage. There are also quite a few cpu and memory specific plugins available at http://www.nagiosexchange.org. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Feb 9 15:33:07 2007 From: marc at ena.com (Marc Powell) Date: Fri, 9 Feb 2007 08:33:07 -0600 Subject: How to pass an argument to .. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marco Borsani > Sent: Friday, February 09, 2007 2:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to pass an argument to .. > > Hi ! > > > > I run Nagios Server 1.4, Nagios Plug-in 1.4.1 > > > > I need to pass an argument of the command to the notification systems, for > example the TCP port of the check_tcp. > > > > Is this a way to do it ? It's not directly possible yet that I know of; possibly when user customizable macros are available in 3.0. In cases such as these I just include the extra information in the service_description and parse it from there. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Fri Feb 9 18:56:00 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Fri, 09 Feb 2007 12:56:00 -0500 Subject: Net-SNMP and SNMPTT Message-ID: <45CC6F60.24B4.00A7.0@naps.edu> Hi all... Has anyone be able to setup Net-SNMP and SNMPTT on a SuSe Lunix Box? Ultimately I would like to receive Netware traps and have Nagios send out notifications. Has anyone successfully set this up? Kevin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Fri Feb 9 19:04:16 2007 From: knobdy at gmail.com (Brian Loe) Date: Fri, 9 Feb 2007 12:04:16 -0600 Subject: Net-SNMP and SNMPTT In-Reply-To: <45CC6F60.24B4.00A7.0@naps.edu> References: <45CC6F60.24B4.00A7.0@naps.edu> Message-ID: <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> I have...what trouble are you having? Its been awhile since I set it up but I'll help with what I can. On 2/9/07, Kevin DaSilva wrote: > Hi all... > > Has anyone be able to setup Net-SNMP and SNMPTT on a SuSe Lunix Box? > > Ultimately I would like to receive Netware traps and have Nagios send out notifications. > > Has anyone successfully set this up? > > Kevin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Feb 9 19:29:51 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 9 Feb 2007 19:29:51 +0100 (CET) Subject: cpu usage / memory usage In-Reply-To: References: Message-ID: On Fri, 9 Feb 2007, Marc Powell wrote: >> Can some one provide directions how to handle cpu usage / memory > usage. >> I am using check_disk plugin for disk usage. > > Assuming you're talking about a unix variant, check_load is included in > the standard plugins and can be used to infer cpu usage. There are also > quite a few cpu and memory specific plugins available at > http://www.nagiosexchange.org. Correct me if I am wrong but the load on a unix system is not quite nescessary related to the CPU usage. You can get the load info for example with: uptime 19:24:23 up 165 days, 1:09, 3 users, load average: 0.02, 0.02, 0.00 And your CPU usage with: vmstat procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 1072 67176 184720 792936 0 0 0 76 1138 110 0 0 100 0 While there usually is a relation between the two of them they are two different things. The question is which of these two do you (raghavendra kristam) want? There is a check_load plugin that does the load thing. For most alerting purposes that is quite enough. As th load tends to go up if you are low on memory. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Fri Feb 9 19:37:43 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Fri, 09 Feb 2007 13:37:43 -0500 Subject: Net-SNMP and SNMPTT In-Reply-To: <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> Message-ID: <45CC7927.24B4.00A7.0@naps.edu> Well for starters... non of the snmpt logs are being created, but I do see the traps in the system log. For some reason, I don't think I have net-snmp setup correctly. Thanks for the help! >>> "Brian Loe" 2/9/2007 1:04 PM >>> I have...what trouble are you having? Its been awhile since I set it up but I'll help with what I can. On 2/9/07, Kevin DaSilva wrote: > Hi all... > > Has anyone be able to setup Net-SNMP and SNMPTT on a SuSe Lunix Box? > > Ultimately I would like to receive Netware traps and have Nagios send out notifications. > > Has anyone successfully set this up? > > Kevin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Fri Feb 9 19:43:12 2007 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 9 Feb 2007 16:43:12 -0200 Subject: interval_length=1 configuration directive Message-ID: <771EF3330524544FAA2684DFA8BEA535063677B3@star.uolcorp.intranet> Thanks for your reply, but... Please respond to the list, as others may benefit from your reply as well. -----Original Message----- From: Thomas.Zimmer at oppenheim.de [mailto:Thomas.Zimmer at oppenheim.de] Sent: sexta-feira, 9 de fevereiro de 2007 05:09 To: Marcel Mitsuto Fucatu Sugano Subject: AW: [Nagios-users] interval_length=1 configuration directive I do the same, but know, that any check is executed again at least, when the last result has come back. So, it depends from the load on your nagios-server and network connections, how often a check is possible to run and how long a run takes. Is that correct even when using paralelize checks? TIA, Marcel AVISO: A informacao contida neste e-mail, bem como em qualquer de seus anexos, e CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatario(s) acima referido(s), podendo conter informacoes sigilosas e/ou legalmente protegidas. Caso voce nao seja o destinatario desta mensagem, informamos que qualquer divulgacao, distribuicao ou copia deste e-mail e/ou de qualquer de seus anexos e absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer copia e/ou impressao realizada a partir destes, sejam permanentemente apagados e/ou destruidos. Informacoes adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Fri Feb 9 19:58:21 2007 From: knobdy at gmail.com (Brian Loe) Date: Fri, 9 Feb 2007 12:58:21 -0600 Subject: Net-SNMP and SNMPTT In-Reply-To: <45CC7927.24B4.00A7.0@naps.edu> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> Message-ID: <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> What's your config look like? I found stuff on the 'Net for what I wanted to do, and unless you can do the same it can be a struggle. For snmptrapd.conf I have one line: traphandle default /usr/sbin/snmptthandler For snmptt, snmptt.conf, I have the events I'm looking for and the commands I want to run on those events. The snmptt.ini file tells it where to log messages, and if its supposed to. On 2/9/07, Kevin DaSilva wrote: > Well for starters... non of the snmpt logs are being created, but I do see the traps in the system log. > > For some reason, I don't think I have net-snmp setup correctly. > > Thanks for the help! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Fri Feb 9 20:09:07 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Fri, 09 Feb 2007 14:09:07 -0500 Subject: Net-SNMP and SNMPTT In-Reply-To: <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> Message-ID: <45CC8083.24B4.00A7.0@naps.edu> I am currently trying to do a standalone setup 1st. My snmptrapd.conf looks like traphandle default /usr/sbin/snmptt Attached is my snmptt.ini >>> "Brian Loe" 2/9/2007 1:58 PM >>> What's your config look like? I found stuff on the 'Net for what I wanted to do, and unless you can do the same it can be a struggle. For snmptrapd.conf I have one line: traphandle default /usr/sbin/snmptthandler For snmptt, snmptt.conf, I have the events I'm looking for and the commands I want to run on those events. The snmptt.ini file tells it where to log messages, and if its supposed to. On 2/9/07, Kevin DaSilva wrote: > Well for starters... non of the snmpt logs are being created, but I do see the traps in the system log. > > For some reason, I don't think I have net-snmp setup correctly. > > Thanks for the help! > -------------- next part -------------- A non-text attachment was scrubbed... Name: snmptt.ini Type: application/octet-stream Size: 24781 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pmui at groundworkopensource.com Fri Feb 9 19:42:11 2007 From: pmui at groundworkopensource.com (Peter Mui) Date: Fri, 9 Feb 2007 10:42:11 -0800 Subject: NSCA Forwarding Engine: now on NagiosExchange Message-ID: <09AACB66-53B5-40CE-824F-2A781E236017@groundworkopensource.com> The Nagios(R) Service Check Acceptor Forwarding Engine (NSCAFE) is a drop-in replacement for the standard Nagios(R) NSCA tool that adds significant functionality useful in monitoring large installations. NSCAFE automatically forwards service check and other messages received from a remote host both to Nagios(R) itself and/or to another instance of NSCAFE running on another host. It caches service check and other messages in a local XML datastore, so if the connection to a forward host goes down all checks that occur during the down time are stored and can be queued up to forward once the connection is reestablished. Download it at: http://www.nagiosexchange.org/AddOn_Projects.22.0.html? &tx_netnagext_pi1[p_view]=818 Check it out, let us know your experience with it! Peter Mui, Open Source Community Advocate GROUNDWORK Open Source, Inc. 139 Townsend Street, Suite 100 San Francisco, CA 94107-1946 +1 415 992 4573 (direct) +1 415 947 0684 (fax) pmui at groundworkopensource.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Fri Feb 9 20:24:56 2007 From: knobdy at gmail.com (Brian Loe) Date: Fri, 9 Feb 2007 13:24:56 -0600 Subject: Net-SNMP and SNMPTT In-Reply-To: <45CC8083.24B4.00A7.0@naps.edu> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> <45CC8083.24B4.00A7.0@naps.edu> Message-ID: <3c4611bc0702091124l36a0686i3c5f1e12d611f446@mail.gmail.com> Interestingly, mine is set to daemon mode even though it is also called by snmptrapd.conf. Other than that, I don't see many differences between the two. The question is, what are you wanting to do with these traps when you get them - just log them? If that's the case you can try lessing the severity level of traps that get logged...? The ini file mentions that this is definined the snmptt.conf file and I have not done that myself. You said you were seeing traps being received in the syslog file so apparently net-snmp is working enough to receive the traps right? On 2/9/07, Kevin DaSilva wrote: > I am currently trying to do a standalone setup 1st. My snmptrapd.conf looks like > traphandle default /usr/sbin/snmptt > > Attached is my snmptt.ini ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Feb 9 20:48:30 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 9 Feb 2007 11:48:30 -0800 Subject: Net-SNMP and SNMPTT In-Reply-To: <45CC8083.24B4.00A7.0@naps.edu> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> <45CC8083.24B4.00A7.0@naps.edu> Message-ID: <20070209194830.GN11333@pmorris.usa.hp.com> On Fri, 09 Feb 2007, Kevin DaSilva wrote: > I am currently trying to do a standalone setup 1st. My snmptrapd.conf looks like > traphandle default /usr/sbin/snmptt > > Attached is my snmptt.ini > > >>> "Brian Loe" 2/9/2007 1:58 PM >>> > What's your config look like? I found stuff on the 'Net for what I > wanted to do, and unless you can do the same it can be a struggle. > > For snmptrapd.conf I have one line: > traphandle default /usr/sbin/snmptthandler > > For snmptt, snmptt.conf, I have the events I'm looking for and the > commands I want to run on those events. The snmptt.ini file tells it > where to log messages, and if its supposed to. > > On 2/9/07, Kevin DaSilva wrote: > > Well for starters... non of the snmpt logs are being created, but I do see the traps in the system log. > > > > For some reason, I don't think I have net-snmp setup correctly. > > > > Thanks for the help! Are the permissions on your log directory set properly for the user snmptt runs as to write the logs? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Fri Feb 9 21:11:13 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Fri, 09 Feb 2007 15:11:13 -0500 Subject: Net-SNMP and SNMPTT In-Reply-To: <20070209194830.GN11333@pmorris.usa.hp.com> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> <45CC8083.24B4.00A7.0@naps.edu> <20070209194830.GN11333@pmorris.usa.hp.com> Message-ID: <45CC8F10.24B4.00A7.0@naps.edu> Patrick... I am running the service as root. Root is the owner of /var/log, and everything in that directory. Brian... Yes, I do see the traps in the syslog. I also changed the severity level to debug and still nothing. Once I start creating these logs, I would like to focus on Nagios and work on some notification. Attached is what I'm seeing in my syslog. >>> Patrick Morris 2/9/2007 2:48 PM >>> On Fri, 09 Feb 2007, Kevin DaSilva wrote: > I am currently trying to do a standalone setup 1st. My snmptrapd.conf looks like > traphandle default /usr/sbin/snmptt > > Attached is my snmptt.ini > > >>> "Brian Loe" 2/9/2007 1:58 PM >>> > What's your config look like? I found stuff on the 'Net for what I > wanted to do, and unless you can do the same it can be a struggle. > > For snmptrapd.conf I have one line: > traphandle default /usr/sbin/snmptthandler > > For snmptt, snmptt.conf, I have the events I'm looking for and the > commands I want to run on those events. The snmptt.ini file tells it > where to log messages, and if its supposed to. > > On 2/9/07, Kevin DaSilva wrote: > > Well for starters... non of the snmpt logs are being created, but I do see the traps in the system log. > > > > For some reason, I don't think I have net-snmp setup correctly. > > > > Thanks for the help! Are the permissions on your log directory set properly for the user snmptt runs as to write the logs? -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: New Text Document (3).txt URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Feb 9 21:30:50 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 9 Feb 2007 12:30:50 -0800 Subject: Net-SNMP and SNMPTT In-Reply-To: <45CC8F10.24B4.00A7.0@naps.edu> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> <45CC8083.24B4.00A7.0@naps.edu> <20070209194830.GN11333@pmorris.usa.hp.com> <45CC8F10.24B4.00A7.0@naps.edu> Message-ID: <20070209203050.GO11333@pmorris.usa.hp.com> On Fri, 09 Feb 2007, Kevin DaSilva wrote: > Patrick... > > I am running the service as root. Root is the owner of /var/log, and everything in that directory. > > > Brian... > > Yes, I do see the traps in the syslog. I also changed the severity level to debug and still nothing. Once I start creating these logs, I would like to focus on Nagios and work on some notification. What's logging looks like it's coming from snmptrapd, not snmptt. I would definitely turn on debugging in your config: set the level for both snmptt and snmptthandler to 2. That should get it to log something that may tell you what your problem is. If it doesn't, try running the handler manually to see if it's choking on something like a missing Perl module or a file permissions issue somewhere. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Fri Feb 9 21:40:06 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Fri, 09 Feb 2007 15:40:06 -0500 Subject: Fwd: Re: Net-SNMP and SNMPTT References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> <45CC8083.24B4.00A7.0@naps.edu> <20070209194830.GN11333@pmorris.usa.hp.com> <45CC8F10.24B4.00A7.0@naps.edu> <20070209203050.GO11333@pmorris.usa.hp.com> <45CC95B2.24B4.00A7.0@naps.edu> Message-ID: <45CC95D5.24B4.00A7.0@naps.edu> >>> Kevin DaSilva 2/9/2007 3:39 PM >>> I set to the debug to 2 and no logging... When I try to run the handler manually this is what I get... nagios1:/sbin # snmptt Can't locate Config/IniFiles.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at /usr/sbin/snmptt line 3515. Must have to do something with Perl.... >>> Patrick Morris 2/9/2007 3:30 PM >>> On Fri, 09 Feb 2007, Kevin DaSilva wrote: > Patrick... > > I am running the service as root. Root is the owner of /var/log, and everything in that directory. > > > Brian... > > Yes, I do see the traps in the syslog. I also changed the severity level to debug and still nothing. Once I start creating these logs, I would like to focus on Nagios and work on some notification. What's logging looks like it's coming from snmptrapd, not snmptt. I would definitely turn on debugging in your config: set the level for both snmptt and snmptthandler to 2. That should get it to log something that may tell you what your problem is. If it doesn't, try running the handler manually to see if it's choking on something like a missing Perl module or a file permissions issue somewhere. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Feb 9 21:43:58 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 9 Feb 2007 12:43:58 -0800 Subject: Net-SNMP and SNMPTT In-Reply-To: <45CC95B2.24B4.00A7.0@naps.edu> References: <45CC6F60.24B4.00A7.0@naps.edu> <3c4611bc0702091004j68379ebbu2a6c680a754e4508@mail.gmail.com> <45CC7927.24B4.00A7.0@naps.edu> <3c4611bc0702091058r99ad40fm8c734967955e6213@mail.gmail.com> <45CC8083.24B4.00A7.0@naps.edu> <20070209194830.GN11333@pmorris.usa.hp.com> <45CC8F10.24B4.00A7.0@naps.edu> <20070209203050.GO11333@pmorris.usa.hp.com> <45CC95B2.24B4.00A7.0@naps.edu> Message-ID: <20070209204358.GP11333@pmorris.usa.hp.com> On Fri, 09 Feb 2007, Kevin DaSilva wrote: > I set to the debug to 2 and no logging... When I try to run the handler manually this is what I get... > > nagios1:/sbin # snmptt > Can't locate Config/IniFiles.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at /usr/sbin/snmptt line 3515. > > > Must have to do something with Perl.... Yep. You need the Config::IniFiles module installed. Check the "Requirements" section of the docs for the other prerequisites you need. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schimpke.thomas at bhn-services.com Sat Feb 10 10:52:39 2007 From: schimpke.thomas at bhn-services.com (Thomas Schimpke) Date: Sat, 10 Feb 2007 10:52:39 +0100 Subject: Caching (?) problem with nagios 2.7 Message-ID: <1171101160.13759.45.camel@raptor.lenze.com> Hello, since a few days I'm having trouble with my nagios setup. The first indication was, that I'm having trouble sending out host notifications (but that will be another thread soon). So this morning I decided to check, if I've also trouble with service notifications. I took a service that is checked frequently and changed the check command so that it would fail, generating an error resulting in an hard state. The service definition looks like this: # SAP Login # --------------------------------------------------------------------- # define service { use sap_check host_name eulep04 service_description SAP Logon check_command check_sap!00 servicegroups SAP Logon ERP Prod max_check_attempts 2 normal_check_interval 3 retry_check_interval 1 notification_interval 30 notification_options c,r contact_groups rz } and the template define service { name check_sap use generic-service is_volatile 0 freshness_treshold 0 check_freshness 0 notification_period 24x7 process_perf_data 0 register 0 } and define service { name generic_service acitve_checks_enabled 1 passive_checks_enabled 1 parallelize_checks 1 check_period 24x7 obsess_over_service 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_peref_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } (I've typed in the two templates -- so syntax errors may be due to transcription). This configuration worked for a long time now, I think without any problems. What I did was, that I changed the instance number in the check_comand from 00 to 10. This check would fail, since we have no SAP system witth instance number 10. After saving my changes I reloaded nagios's configuration (/etc/rc.d/init.d/nagios reload). Then I waited. Actually I waited for a long time -- 15 Minutes or so. The service stayed in state OK. I saw, that for this time nagios did not perform *any* checks of this service (I looked at the last check time in the service overview). I verified, that nagios re-read the new configuration successfully -- I looked at the service check command under "view configuration". So I forced an service check via the CGI. That helped... [1171096494] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;eulep04;SAP Logon;1171096485 [1171096499] SERVICE ALERT: eulep04;SAP Logon;CRITICAL;SOFT;1;SAP System on host xxx.xxx.xxx.xxx (instance 10 ) is down. [1171096559] SERVICE ALERT: eulep04;SAP Logon;CRITICAL;HARD;2;SAP System on host xxx.xxx.xxx.xxx (instance 10 ) is down. [1171096559] SERVICE NOTIFICATION: rz_call_home;eulep04;SAP Logon;CRITICAL;service_notify_by_call;SAP System on host xxx.xxx.xxx.xxx (instance 10 ) is down. So my service notification worked -- I received a call. BUT it worked only, after i forced the check. So I decided to re-check: I changed the instance number back to 00 and restarted nagios: [1171096695] Caught SIGHUP, restarting... [1171096695] Nagios 2.7 starting... (PID=14025) [1171096695] LOG VERSION: 2.0 [1171096696] INITIAL HOST STATE: apps;UP;HARD;1;PING OK - Packet loss ... (many more of the initial host/service states) then I waited for about 20 minutes. The service was never checked ! I forced the check and then: [1171097971] EXTERNAL COMMAND: SCHEDULE_FORCED_SVC_CHECK;eulep04;SAP Logon;1171097965 [1171097976] SERVICE ALERT: eulep04;SAP Logon;OK;HARD;2;SAP System on xxx.xxx.xxx.xxx (instance 00) is up. [1171097976] SERVICE NOTIFICATION: rz_call_home;eulep04;SAP Logon;OK;service_notify_by_call;SAP System on xxx.xxx.xxx.xxx (instance 00) is up. Has someone an idea what's going on here or give me a hint how to resolve this issue ? I'm feeling quite bad about this situation because we have a large installation and we (like everyone on this list i suppose) depend upon nagios... I' m not sure, if this was also an issue with nagios 2.5 -- as I wrote I upgraded to 2.7 on friday because I had (and still have) problems with host notifications. Also strange: we were running nagios 2.3.1 for a long time on another machine (RedHat 9, 32Bit -- so very old) without any problems. The current problems appear on a 64Bit FC5 machine (I migrated my nagios installation several weeks ago to nagios 2.5 there and did not notice these problems -- but I may have overlooked them). Thanks in advance for any help & ideas Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From schimpke.thomas at bhn-services.com Sat Feb 10 19:59:33 2007 From: schimpke.thomas at bhn-services.com (Thomas Schimpke) Date: Sat, 10 Feb 2007 19:59:33 +0100 Subject: Problem with host notification ( Nagios 2.7) Message-ID: <1171133973.13759.69.camel@raptor.lenze.com> Hi folks, I have problems with host notifications in nagios 2.7. It may be, that I had similiar problems with 2.5, which were the reason I updated nagios. Here's my host configuration: define host { host_name eulep04 alias SAP Applikationsserver address xxx.xxx.xxx.xxx hostgroups Eule App. Server contact_groups rz notification_interval 45 notifications_enabled 1 notification_options d,r check_command check-host-alive max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 event_handler_enabled 1 check_freshness 0 freshness_threshold 0 obsess_over_host 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 } I changed the host's IP Address to something that is not reachable, so the service checks of the host failed an nagios issued host checks: [1171127993] HOST ALERT: eulep04;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1171128003] HOST ALERT: eulep04;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1171128013] HOST ALERT: eulep04;DOWN;HARD;3;CRITICAL - Plugin timed out after 10 seconds Now, since the host is in an hard state, I would expect a notification to go out. But there is no log of a notification attempt (I have enabled the log_notifications option in nagios.cfg). Further, when looking at the CGI I can see, that the host is down, but the "current attempt" field is always "1/3". In the following there are some failed service checks: [1171128013] SERVICE ALERT: eulep04;CPU Temperature;UNKNOWN;HARD;1;Sensor location cpu not found. [1171128080] SERVICE ALERT: eulep04;SAP Logon;UNKNOWN;HARD;1;Cannot connect to remote SAP system on host xxx.xxx.xxx.xxx. ... but I do not see a host check attempt (could be ok: why check, if the next service returns OK, the host is OK). The current attempt filed in the CGI stays at "1/3" Any ideas ? Thanks in advance, Thomas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Feb 10 21:32:22 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 10 Feb 2007 15:32:22 -0500 Subject: Problem with host notification ( Nagios 2.7) In-Reply-To: <1171133973.13759.69.camel@raptor.lenze.com> References: <1171133973.13759.69.camel@raptor.lenze.com> Message-ID: > I have problems with host notifications in nagios 2.7. It may > be, that I had similiar problems with 2.5, which were the > reason I updated nagios. > > Here's my host configuration: > > define host { > host_name eulep04 > alias SAP Applikationsserver > address xxx.xxx.xxx.xxx > hostgroups Eule App. Server > > contact_groups rz > notification_interval 45 > notifications_enabled 1 > notification_options d,r > > Now, since the host is in an hard state, I would expect a > notification to go out. But there is no log of a notification > attempt (I have enabled the log_notifications option in > nagios.cfg). Further, when looking at the CGI I can see, that > the host is down, but the "current attempt" > field is always "1/3". What are the notification options for the "rz" contactgroup? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From evdzon at tiscali.nl Sun Feb 11 22:50:13 2007 From: evdzon at tiscali.nl (Erwin van der Zon) Date: Sun, 11 Feb 2007 22:50:13 +0100 Subject: Monitoring devices thru http protocol. Message-ID: <000d01c74e26$9ca56fc0$3336a8c0@evdzonamd> Hi all, I was wondering if there is a known solution to monitor remote servers (windows boxes) over the internet. The best option for me would be thru the http protocol. I was thinking that passive check status updates are sent with normal put and get commands to the nagios webserver. To give more info! I want to monitor (passive) servers behind firewalls which only allows http and https connections. I hope somebody understands my question and has a solution for me. Erwin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Sun Feb 11 23:22:16 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Mon, 12 Feb 2007 09:22:16 +1100 Subject: Reverse service in Windows Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01DA568C@mail01.ccia.local> There's a check command which can check a service via SNMP. (Nagios Exchange) You can specify the name of the service and the number of services you expect to see running with that name, in your case that would be zero. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Scott Mitchell Sent: Friday, 9 February 2007 5:10 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Reverse service in Windows OK I am relatively new to NAGIOS, but I haven't been able to find an answer to my issue. I would like to monitor a Windows 2003 service that is normally not running and I would like to be notified when it is running. Is this possible? Scott Mitchell StoreFinancial ________________________________ Confidentiality Notice: This message and any included attachments are from StoreFinancial Services, LLC, and are intended only for the addressee(s). The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail. Thank you for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CKoop at vrg.de Mon Feb 12 09:07:25 2007 From: CKoop at vrg.de (Carsten Koop) Date: Mon, 12 Feb 2007 09:07:25 +0100 Subject: Antwort: Monitoring devices thru http protocol. In-Reply-To: <000d01c74e26$9ca56fc0$3336a8c0@evdzonamd> References: <000d01c74e26$9ca56fc0$3336a8c0@evdzonamd> Message-ID: Hi, maybe you can setup your nsca daemon to listen on port 443. This even should work with proxy servers. Mit freundlichen Gr??en / best regards Carsten Koop "Erwin van der Zon" Gesendet von: nagios-users-bounces at lists.sourceforge.net 11.02.2007 22:50 An "Nagios Users Mailinglist" Kopie Thema [Nagios-users] Monitoring devices thru http protocol. Hi all, I was wondering if there is a known solution to monitor remote servers (windows boxes) over the internet. The best option for me would be thru the http protocol. I was thinking that passive check status updates are sent with normal put and get commands to the nagios webserver. To give more info! I want to monitor (passive) servers behind firewalls which only allows http and https connections. I hope somebody understands my question and has a solution for me. Erwin. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark0s at excite.com Mon Feb 12 10:20:58 2007 From: mark0s at excite.com (mark0s at excite.com) Date: Mon, 12 Feb 2007 04:20:58 -0500 (EST) Subject: Help compiling check_cluster2 Message-ID: <20070212092058.4F2538B32F@xprdmxin.myway.com> Hi Marc, Thanks for the help, I thought it should need more arguments at the command line but it compiled at the first try and is working! Marcos --- On Fri 02/09, Marc Powell < marc at ena.com > wrote: From: Marc Powell [mailto: marc at ena.com] To: nagios-users at lists.sourceforge.net Date: Fri, 9 Feb 2007 08:24:02 -0600 Subject: Re: [Nagios-users] Help compiling check_cluster2

> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net]
> Sent: Friday, February 09, 2007 4:05 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Help compiling check_cluster2
>
>
> Hello everybody,
>
>
>
> I just have download the nagios-plugins-1.4.6 dev package to get the
> check_cluster2 plugin (I only need to compile this plugin) but I'm
having
> problems trying to compile it. I modified the Makefile adding manually
the
> check_cluster2 where needed (I guess...) but it seems I mess
something...
>
>
>
> Can anybody tell me exactly how to compile it from the command line?

No need for make. --

# gcc -o check_cluster2 check_cluster2.c
# ./check_cluster2 --help
./check_cluster2: unrecognize d option `--help'
Invalid arguments supplied

Host/Service Cluster Plugin for Nagios 2
Copyright (c) 2000-2004 Ethan Galstad (nagios at nagios.org)
Last Modified: 03-11-2004
License: GPL

Usage: ./check_cluster2 (-s | -h) [-l label] [-w threshold] [-c
threshold] [-d val1,val2,...,valn]

Options:
-s, --service = Check service cluster status
-h, --host = Check host cluster status
-l, --label = Optional prepended text output (i.e. "Host cluster")
-w, --warning = Specifies the number of hosts or services in cluster
that must be in
a non-OK state in order to return a WARNING status
level
-c, --critical = Specifies the number of hosts or services in cluster
that must be in
a non-OK state in order to return a CRITICAL status
level
-d, --data = The status codes of the hosts or services in the
cluster, separated
by commas


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
_______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Mon Feb 12 11:59:33 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Mon, 12 Feb 2007 10:59:33 +0000 Subject: ndo2db not logging to MySQL Message-ID: Hello there. I have a working nagios installation on a centos box with cpanel installed on it. I used the rpmforge nagios RPMs and compiled ndoutils from source. I have installed the program as detailed in the readme and the mysql user is set up correctly (verified by using the details to import the schema bundled with ndoutils). Nagios has loaded the broker module as it appears in lsof and event_broker_options is set to -1. Nothing however, is making it as far as the database. In an attempt to debug this I ran strace src/log2ndo using an old archive log file and strace indicates that log2ndo is exiting after receiving a connection error on tying to open the socket file. connect(4, {sa_family=AF_FILE, path="/var/nagios/ndo.sock"}, 22) = -1 ECONNREFUSED (Connection refused) ls -l /var/nagios/ndo.sock shows the file to exist and to be of the correct type and ownership. Does anyone have any suggestions as to what may be the problem? If any more information would help a diagnosis please ask. Thanks in advance, Marek ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Mestdagh at geosolutions.be Mon Feb 12 12:10:47 2007 From: Tommy.Mestdagh at geosolutions.be (Mestdagh Tommy) Date: Mon, 12 Feb 2007 12:10:47 +0100 Subject: Why Mysql on plugin installation Message-ID: <27FA63FC15F4C243A37B07D57C891E3C056C5919@ws03-exchange.iconos.be> Hi Once again I 'm new to nagios. When installing from scratch the plugin installations try's to find Mysql stuff & setting. Why does it need mysql ? All configurations is in config files not ? The servers we are running have already a postgresql installed and we want to avoid two databases consuming memory... Regards Tommy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Feb 12 12:31:42 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 12 Feb 2007 11:31:42 +0000 Subject: Why Mysql on plugin installation In-Reply-To: <27FA63FC15F4C243A37B07D57C891E3C056C5919@ws03-exchange.iconos.be> References: <27FA63FC15F4C243A37B07D57C891E3C056C5919@ws03-exchange.iconos.be> Message-ID: <45D0501E.2030405@mailnetwork.co.uk> The plugins need MySQL to build the check_mysql plugin. You don't need a MySQL server running, just the client libraries installed. If you don't need this plugin, don't supply any "--with-mysql" command, and when you run ./configure, you'll get "mysql: not found" in the result - this is OK, the plugins should compile without it, you just won't have the check_mysql plugin available to use. Regards, Andy. Mestdagh Tommy wrote: > > Hi > > > > Once again I 'm new to nagios. > > When installing from scratch the plugin installations try's to find > Mysql stuff & setting. > > Why does it need mysql ? All configurations is in config files not ? > > The servers we are running have already a postgresql installed and we > want to avoid two databases consuming memory... > > > > Regards Tommy > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Mestdagh at geosolutions.be Mon Feb 12 12:55:30 2007 From: Tommy.Mestdagh at geosolutions.be (Mestdagh Tommy) Date: Mon, 12 Feb 2007 12:55:30 +0100 Subject: Why Mysql on plugin installation Message-ID: <27FA63FC15F4C243A37B07D57C891E3C056C596E@ws03-exchange.iconos.be> Found ! ./configure --without-mysql Reagards Tommy ________________________________ Van: Andy Shellam (Mailing Lists) [mailto:andy.shellam-lists at mailnetwork.co.uk] Verzonden: maandag 12 februari 2007 12:32 Aan: Mestdagh Tommy CC: nagios-users at lists.sourceforge.net Onderwerp: Re: [Nagios-users] Why Mysql on plugin installation The plugins need MySQL to build the check_mysql plugin. You don't need a MySQL server running, just the client libraries installed. If you don't need this plugin, don't supply any "--with-mysql" command, and when you run ./configure, you'll get "mysql: not found" in the result - this is OK, the plugins should compile without it, you just won't have the check_mysql plugin available to use. Regards, Andy. Mestdagh Tommy wrote: Hi Once again I 'm new to nagios. When installing from scratch the plugin installations try's to find Mysql stuff & setting. Why does it need mysql ? All configurations is in config files not ? The servers we are running have already a postgresql installed and we want to avoid two databases consuming memory... Regards Tommy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Feb 12 13:19:17 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 12 Feb 2007 12:19:17 +0000 Subject: Why Mysql on plugin installation In-Reply-To: <27FA63FC15F4C243A37B07D57C891E3C056C596E@ws03-exchange.iconos.be> References: <27FA63FC15F4C243A37B07D57C891E3C056C596E@ws03-exchange.iconos.be> Message-ID: <45D05B45.3070906@mailnetwork.co.uk> Mestdagh Tommy wrote: > > Found ! > > ./configure --without-mysql > Strange. On my system it builds without mysql by default, and you supply "--with-mysql" if you want MySQL included. Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Mestdagh at geosolutions.be Mon Feb 12 15:13:42 2007 From: Tommy.Mestdagh at geosolutions.be (Mestdagh Tommy) Date: Mon, 12 Feb 2007 15:13:42 +0100 Subject: Why Mysql on plugin installation part II Message-ID: <27FA63FC15F4C243A37B07D57C891E3C056C5AB5@ws03-exchange.iconos.be> Ok. Got it running. Now the next mysql issue, all gui tools I find ( naming, fruity, groundwork ) , for configuring nagios seems to work using a mysql. Are there any tools out that are not storing data in mysql ?? Again regards TM ________________________________ Van: Andy Shellam (Mailing Lists) [mailto:andy.shellam-lists at mailnetwork.co.uk] Verzonden: maandag 12 februari 2007 13:19 Aan: Mestdagh Tommy CC: nagios-users at lists.sourceforge.net Onderwerp: Re: [Nagios-users] Why Mysql on plugin installation Mestdagh Tommy wrote: Found ! ./configure --without-mysql Strange. On my system it builds without mysql by default, and you supply "--with-mysql" if you want MySQL included. Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryn at aas.duke.edu Mon Feb 12 17:14:59 2007 From: bryn at aas.duke.edu (Bryn Smith) Date: Mon, 12 Feb 2007 11:14:59 -0500 Subject: Nagios false positive returns critical but service is really OK Message-ID: <45D09283.2020704@aas.duke.edu> Hi all, I've got a setup of CentOS 4.4 and nagios-2.3.1, and I have one server that started reporting critical errors over the weekend. I logged in and checked the server, and it was fine. I restarted nagios, and the problem state persisted, but since the machine itself was fine, I logged off and didn't worry about it for a while. Later that day, I logged in again, and everything was showing green. This morning when I came in, the same seven services on this one machine were showing red again. Again, the machine is fine. I have all of the services set up for escalations, and not once over the weekend did nagios send critical notifications to my pager, which is also odd. The services for this machine are configured in a large group with the other servers in my care, and none of the other services are showing any problems. -- Bryn Smith (Ms) A&SIST 660-2434 jabber IM: bryn at jabber.duke.edu ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Feb 12 17:43:17 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 12 Feb 2007 11:43:17 -0500 Subject: Nagios false positive returns critical but serviceis really OK In-Reply-To: <45D09283.2020704@aas.duke.edu> References: <45D09283.2020704@aas.duke.edu> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Bryn Smith > Sent: Monday, February 12, 2007 8:15 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Nagios false positive returns > critical but serviceis really OK > > Hi all, > I've got a setup of CentOS 4.4 and nagios-2.3.1, and I have > one server that started reporting critical errors over the > weekend. I logged in and checked the server, and it was > fine. I restarted nagios, and the problem state persisted, I'd take a look at the Nagios logs to see why it was reporting them down. The service output should also give you an idea. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryn at aas.duke.edu Mon Feb 12 17:49:21 2007 From: bryn at aas.duke.edu (Bryn Smith) Date: Mon, 12 Feb 2007 11:49:21 -0500 Subject: Nagios false positive returns critical but serviceis really OK In-Reply-To: References: <45D09283.2020704@aas.duke.edu> Message-ID: <45D09A91.2050408@aas.duke.edu> Morris, Patrick wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Bryn Smith >> Sent: Monday, February 12, 2007 8:15 AM >> To: Nagios Users Mailinglist >> Subject: [Nagios-users] Nagios false positive returns >> critical but serviceis really OK >> >> Hi all, >> I've got a setup of CentOS 4.4 and nagios-2.3.1, and I have >> one server that started reporting critical errors over the >> weekend. I logged in and checked the server, and it was >> fine. I restarted nagios, and the problem state persisted, >> > > I'd take a look at the Nagios logs to see why it was reporting them > down. The service output should also give you an idea. > > I'd love to, but I can't find them. Where do they usually live? And ditto for the service output. -- Bryn Smith (Ms) A&SIST 660-2434 jabber IM: bryn at jabber.duke.edu ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Mon Feb 12 17:56:19 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Mon, 12 Feb 2007 10:56:19 -0600 Subject: Nagios false positive returns critical but service is really OK In-Reply-To: <45D09283.2020704@aas.duke.edu> References: <45D09283.2020704@aas.duke.edu> Message-ID: <45D09C33.2010604@epsiia.com> Bryn Smith wrote: > Hi all, > This morning when I came in, the same seven services on this one machine > were showing red again. Again, the machine is fine. I have all of the > services set up for escalations, and not once over the weekend did > nagios send critical notifications to my pager, which is also odd. Hi, It would help if you said what services you were checking, what plugin(s) you were using, what plugin versions you were using, your notification options for the services, etc, etc. Thanks, - Josh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Feb 12 18:03:49 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 12 Feb 2007 12:03:49 -0500 Subject: Nagios false positive returns critical but serviceis really OK In-Reply-To: <45D09A91.2050408@aas.duke.edu> References: <45D09283.2020704@aas.duke.edu> <45D09A91.2050408@aas.duke.edu> Message-ID: > >> Hi all, > >> I've got a setup of CentOS 4.4 and nagios-2.3.1, and I have one > >> server that started reporting critical errors over the weekend. I > >> logged in and checked the server, and it was fine. I restarted > >> nagios, and the problem state persisted, > >> > > > > I'd take a look at the Nagios logs to see why it was reporting them > > down. The service output should also give you an idea. > > > > > I'd love to, but I can't find them. Where do they usually > live? And ditto for the service output. Your logging options are set in your Nagios config. On mine, they're in /var/log/nagios.log and syslog. You may want to consider reading through the documentation sections on logging for details on where to look. The service output will be there, and in the web interface. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryn at aas.duke.edu Mon Feb 12 20:01:41 2007 From: bryn at aas.duke.edu (Bryn Smith) Date: Mon, 12 Feb 2007 14:01:41 -0500 Subject: Nagios false positive returns critical but serviceis really OK In-Reply-To: References: <45D09283.2020704@aas.duke.edu> <45D09A91.2050408@aas.duke.edu> Message-ID: <45D0B995.4050001@aas.duke.edu> Morris, Patrick wrote: >>>> Hi all, >>>> I've got a setup of CentOS 4.4 and nagios-2.3.1, and I have one >>>> server that started reporting critical errors over the weekend. I >>>> logged in and checked the server, and it was fine. I restarted >>>> nagios, and the problem state persisted, >>>> >>>> >>> I'd take a look at the Nagios logs to see why it was reporting them >>> down. The service output should also give you an idea. >>> >>> >>> >> I'd love to, but I can't find them. Where do they usually >> live? And ditto for the service output. >> > > Your logging options are set in your Nagios config. On mine, they're in > /var/log/nagios.log and syslog. You may want to consider reading through > the documentation sections on logging for details on where to look. > > The service output will be there, and in the web interface. > > I did find it in /usr/local/nagios/var, which I guess I could have epxected. This is all it says: [1171170000] CURRENT SERVICE STATE: aas4.aas.duke.edu;NonBackupLoad;CRITICAL;HARD;3 ;Cann ot Obtain Load Info, please check on 152.3.56.13 I'm seeing this type of error on Disk Usage, Load (backup instance and regular instance), Procs, Swap, xinetd, and Logins. All of the plug-ins are homegrown long before I started working here, and they're in the same services.cfg grouping as every other machine, which is to say that the grouping looks like this: define service{ use generic-service ; Name of service template to use host_name 1stmachine.duke.edu,2ndmachine.duke.edu,3rdmachine.duke.edu, service_description DiskUsage is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 1 contact_groups admins notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command snmp_check_load_external_url } It's almost like the check_command is failing, but it isn't - when I run it from the command line, it works just fine. The homegrown script just does an *ssh -l nagiosuser at 1stmachine.duke.edu df *and then parses it for the percentage of diskspace used. The key is fine, I've checked. I can run the command above from the command line and it returns an answer, and I can even run the shell script that snmp_check_load_external_url calls (disk.sh), and THAT returns an answer too. It's like it just doesn't make it into the web interface, even though it does for every other machine in that service definition (and, of course, worked for this one until yesterday). -- Bryn Smith (Ms) A&SIST 660-2434 jabber IM: bryn at jabber.duke.edu ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Mon Feb 12 20:10:42 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Mon, 12 Feb 2007 13:10:42 -0600 Subject: Nagios false positive returns critical but serviceis really OK In-Reply-To: <45D0B995.4050001@aas.duke.edu> References: <45D09283.2020704@aas.duke.edu> <45D09A91.2050408@aas.duke.edu> <45D0B995.4050001@aas.duke.edu> Message-ID: <45D0BBB2.3040504@epsiia.com> Bryn Smith wrote: > Morris, Patrick wrote: > The key is fine, I've checked. I can run the command above from the > command line and it returns an answer, and I can even run the shell > script that snmp_check_load_external_url calls (disk.sh), and THAT > returns an answer too. It's like it just doesn't make it into the web > interface, even though it does for every other machine in that service > definition (and, of course, worked for this one until yesterday). > Hi, Are you trying to run the command as the actual nagios user to see if anything is different? If all the checks are running over ssh, maybe you have to specify a key file? Or you could check the auth logs on the remote server, to see if it's logging the denied attempts. What else changed on that one host (authorized_keys file, sshd settings, etc)? good luck, - Josh ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 12 20:17:05 2007 From: marc at ena.com (Marc Powell) Date: Mon, 12 Feb 2007 13:17:05 -0600 Subject: Nagios false positive returns critical but serviceis really OK Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bryn Smith > Sent: Monday, February 12, 2007 1:02 PM > To: Morris, Patrick > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Nagios false positive returns critical but > serviceis really OK > > > Morris, Patrick wrote: > >>>> Hi all, > >>>> I've got a setup of CentOS 4.4 and nagios-2.3.1, and I have one > >>>> server that started reporting critical errors over the weekend. I > >>>> logged in and checked the server, and it was fine. I restarted > >>>> nagios, and the problem state persisted, [chop] > I did find it in /usr/local/nagios/var, which I guess I could have > epxected. > This is all it says: [1171170000] CURRENT SERVICE STATE: > aas4.aas.duke.edu;NonBackupLoad;CRITICAL;HARD;3 > ; href="https://bb.aas.duke.edu/nagios/mon_data/load/loadmsg152.3.56.13.tx t" > >Cannot Obtain Load Info, please check on 152.3.56.13 [chop] > returns an answer too. It's like it just doesn't make it into the web > interface, even though it does for every other machine in that service > definition (and, of course, worked for this one until yesterday). But it is ;). The error message "Cannot Obtain Load Info, please check on 152.3.56.13" is not a nagios error message. It's almost certainly coming directly from your home-grown check scripts. It would appear to me that some condition is occurring during the check that your home-grown script can't deal with so it generates a general failure message for nagios to display. When you're testing the script during this failure time, are you doing so as the nagios user and exactly as nagios is calling it? When this was occurring, was the nagios Last Check time reasonable and in line with your normal_check_interval? That will help determine if the check was being performed and you were seeing a consistent error reported by your plugin. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryn at aas.duke.edu Mon Feb 12 22:49:22 2007 From: bryn at aas.duke.edu (Bryn Smith) Date: Mon, 12 Feb 2007 16:49:22 -0500 Subject: Nagios false positive returns critical but serviceis really OK In-Reply-To: References: Message-ID: <45D0E0E2.9070102@aas.duke.edu> Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Bryn Smith >> Sent: Monday, February 12, 2007 1:02 PM >> To: Morris, Patrick >> Cc: Nagios Users Mailinglist >> Subject: Re: [Nagios-users] Nagios false positive returns critical but >> serviceis really OK >> >> >> Morris, Patrick wrote: >> >>>>>> Hi all, >>>>>> I've got a setup of CentOS 4.4 and nagios-2.3.1, and I have one >>>>>> server that started reporting critical errors over the weekend. >>>>>> > I > >>>>>> logged in and checked the server, and it was fine. I restarted >>>>>> nagios, and the problem state persisted, >>>>>> > > [chop] > > >> I did find it in /usr/local/nagios/var, which I guess I could have >> epxected. >> This is all it says: [1171170000] CURRENT SERVICE STATE: >> aas4.aas.duke.edu;NonBackupLoad;CRITICAL;HARD;3 >> ;> >> > href="https://bb.aas.duke.edu/nagios/mon_data/load/loadmsg152.3.56.13.tx > t" > >>> Cannot Obtain Load Info, please check on 152.3.56.13 >>> > > [chop] > > >> returns an answer too. It's like it just doesn't make it into the web >> interface, even though it does for every other machine in that service >> definition (and, of course, worked for this one until yesterday). >> > > But it is ;). The error message "Cannot Obtain Load Info, please check > on 152.3.56.13" is not a nagios error message. It's almost certainly > coming directly from your home-grown check scripts. It would appear to > me that some condition is occurring during the check that your > home-grown script can't deal with so it generates a general failure > message for nagios to display. When you're testing the script during > this failure time, are you doing so as the nagios user and exactly as > nagios is calling it? When this was occurring, was the nagios Last Check > time reasonable and in line with your normal_check_interval? That will > help determine if the check was being performed and you were seeing a > consistent error reported by your plugin. > > Ok, I at least found the real problem - it wasn't that the script worked, I had the wrong script. My real problem is with snmpwalk, so I'm off to figure that out. Thanks, all of your help let me track down the real problem. -- Bryn Smith (Ms) A&SIST 660-2434 jabber IM: bryn at jabber.duke.edu ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From raghavendra.kristam at gmail.com Tue Feb 13 08:47:04 2007 From: raghavendra.kristam at gmail.com (raghavendra kristam) Date: Tue, 13 Feb 2007 13:17:04 +0530 Subject: cpu usage / memory usage In-Reply-To: References: Message-ID: Hi Hugo, Thanks for the reply. I need to handle both CPU usage and Memory usage. i) I think check_load plugin supports cpu usage which provides the load information using with: uptime command. If we need cpu usage with vmstat command which plugin do I need to use. ii) How to handle memory usage, which plugin do I need to use. Correct me if am wrong with this understanding. Thanks, Raghavendra. >> Can some one provide directions how to handle cpu usage / memory > usage. >> I am using check_disk plugin for disk usage. > > Assuming you're talking about a unix variant, check_load is included in > the standard plugins and can be used to infer cpu usage. There are also > quite a few cpu and memory specific plugins available at > http://www.nagiosexchange.org. Correct me if I am wrong but the load on a unix system is not quite nescessary related to the CPU usage. You can get the load info for example with: uptime 19:24:23 up 165 days, 1:09, 3 users, load average: 0.02, 0.02, 0.00 And your CPU usage with: vmstat procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 0 0 1072 67176 184720 792936 0 0 0 76 1138 110 0 0 100 0 While there usually is a relation between the two of them they are two different things. The question is which of these two do you (raghavendra kristam) want? There is a check_load plugin that does the load thing. For most alerting purposes that is quite enough. As th load tends to go up if you are low on memory. Hugo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Tue Feb 13 09:29:08 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Tue, 13 Feb 2007 11:29:08 +0300 Subject: Problems with sqlplus (Oracle) Message-ID: <989aee610702130029s5a7c1b20h37c604a5543e9571@mail.gmail.com> Hello. I have just installed sqlplus in order to write my own perl plugin to check oracle db. But I have the following errorw while connecting and I don't know what to do:( [root at nagios libexec]# sqlplus user/pass@//server/test_db SQL*Plus: Release 10.1.0.5.0 - Production on Tue Feb 13 11:21:58 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: ERROR: ORA-12162: TNS:net service name is incorrectly specified ______________________ I made strace of sqlplus and saw that I have no tnsnames.ora and sqlplus.ora files. I have made it and put to /root/.sqlplus.ora and /etc/tnsnames.ora Here are these files: tnsnames.ora TEST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server)(PORT = 1521)) ) (CONNECT_DATA = (SID=TEST) ) ) sqlnet.ora names.directory_path= (tnsnames) sqlnet.expire_time = 30 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CKoop at vrg.de Tue Feb 13 09:36:23 2007 From: CKoop at vrg.de (Carsten Koop) Date: Tue, 13 Feb 2007 09:36:23 +0100 Subject: Problems with sqlplus (Oracle) In-Reply-To: <989aee610702130029s5a7c1b20h37c604a5543e9571@mail.gmail.com> References: <989aee610702130029s5a7c1b20h37c604a5543e9571@mail.gmail.com> Message-ID: Hi, I'm using SQL Plus 10.2 - my tnsnames.ora looks like this: test.oracle = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = < insert ip here>)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ) ) ) save the file and try: sqlplus user/pass at test.oracle - should work - even under 10.1 I'm working with Oracle 9 and 10. Mit freundlichen Gr??en / best regards Carsten Koop " magic_rooter" Gesendet von: nagios-users-bounces at lists.sourceforge.net 13.02.2007 09:29 An nagios-users at lists.sourceforge.net Kopie Thema [Nagios-users] Problems with sqlplus (Oracle) Hello. I have just installed sqlplus in order to write my own perl plugin to check oracle db. But I have the following errorw while connecting and I don't know what to do:( [root at nagios libexec]# sqlplus user/pass@//server/test_db SQL*Plus: Release 10.1.0.5.0 - Production on Tue Feb 13 11:21:58 2007 Copyright (c) 1982, 2005, Oracle. All rights reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: ERROR: ORA-12162: TNS:net service name is incorrectly specified ______________________ I made strace of sqlplus and saw that I have no tnsnames.ora and sqlplus.ora files. I have made it and put to /root/.sqlplus.ora and /etc/tnsnames.ora Here are these files: tnsnames.ora TEST = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = server)(PORT = 1521)) ) (CONNECT_DATA = (SID=TEST) ) ) sqlnet.ora names.directory_path= (tnsnames) sqlnet.expire_time = 30 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From n.hamaker at ic-s.nl Tue Feb 13 09:48:45 2007 From: n.hamaker at ic-s.nl (Niels Hamaker) Date: Tue, 13 Feb 2007 09:48:45 +0100 Subject: cpu usage / memory usage In-Reply-To: References: Message-ID: <5C8F75BF42C2BBCADBD0E2D4@dhcp154.office.fastxs.net> Hi raghavendra, the check_mem plugin is a simple and effective plugin to check memory. You can find it on nagiosexchange.org. We generally don't check CPU usage, just load, but it depends on your setup, the applications your running, which of the two is the most informative. It would be useful to look into that. Niels --On February 13, 2007 1:17:04 PM +0530 raghavendra kristam wrote: > > Hi Hugo, > > Thanks for the reply. > > I need to handle both CPU usage and Memory usage. > > i) I think check_load plugin supports cpu usage which provides the load > information using with: uptime command. If we need cpu usage with vmstat > command which plugin do I need to use. > > > ii) How to handle memory usage, which plugin do I need to use. > > Correct me if am wrong with this understanding. > > > Thanks, > Raghavendra. > > > >>> Can some one provide directions how to handle cpu usage / memory >> usage. >>> I am using check_disk plugin for disk usage. >> >> Assuming you're talking about a unix variant, check_load is included in >> the standard plugins and can be used to infer cpu usage. There are also >> quite a few cpu and memory specific plugins available at >> http://www.nagiosexchange.org . > > Correct me if I am wrong but the load on a unix system is not quite > nescessary related to the CPU usage. > > You can get the load info for example with: uptime > 19:24:23 up 165 days, 1:09, 3 users, load average: 0.02, 0.02, 0.00 > > And your CPU usage with: vmstat > procs -----------memory---------- ---swap-- -----io---- --system-- > ----cpu---- > r b swpd free buff cache si so bi bo in cs us sy > id wa > 0 0 1072 67176 184720 792936 0 0 0 76 1138 110 0 0 > 100 0 > > While there usually is a relation between the two of them they are two > different things. > > The question is which of these two do you (raghavendra kristam) want? > > There is a check_load plugin that does the load thing. For most alerting > purposes that is quite enough. As th load tends to go up if you are low on > memory. > > Hugo. Met vriendelijke groet, Niels Hamaker Support desk IC&S B.V. Stadhouderslaan 57 3583 JD UTRECHT The Netherlands T: +31 30 6355730 F: +31 30 6355731 http://www.ic-s.nl/ IC&S biedt Service & Support, Development en Consultancy op uiteenlopende internet-gerelateerde platformen, met een voorliefde voor Open Source. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Tue Feb 13 10:42:32 2007 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Tue, 13 Feb 2007 10:42:32 +0100 Subject: cpu usage / memory usage In-Reply-To: <5C8F75BF42C2BBCADBD0E2D4@dhcp154.office.fastxs.net> References: <5C8F75BF42C2BBCADBD0E2D4@dhcp154.office.fastxs.net> Message-ID: <20070213094232.GA26712@eric.schwarzvogel.de> Hi! On Tue, 13 Feb 2007, Niels Hamaker wrote: > the check_mem plugin is a simple and effective plugin to check memory. You > can find it on nagiosexchange.org. > We generally don't check CPU usage, just load, but it depends on your > setup, the applications your running, which of the two is the most > informative. It would be useful to look into that. The check_me.pl script that comes with Nagios 2.x (contrib/) is broken, it uses the wrong columns of vmstat output to determine free and used memory. Actually, what exactly constitutes free (or usable?) memory probably is debatable. Regards, Tobias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Tue Feb 13 11:43:01 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Tue, 13 Feb 2007 10:43:01 +0000 Subject: Followup: ndoutils not logging to MySQL Message-ID: Hi there. Following on form my email yesterday, I discovered that while the socket /var/nagios/ndo.sock existed (AS specified in ndo2db.cfg and ndomod.cfg) the process had stopped running. I removed the socket and restarted the process and then was able to import the archived nagios log files to MySQL using log2ndo and specifying the socket in the commandline. (this only imported entries into tables: nagios_conninfo, nagios_instances and nagios_logentries) nagios.log however maintains that it cannot connect to the daemon: [1171362753] ndomod: Still unable to connect to data sink. 1463360 items lost, 5000 queued items to flush. repeated over and over again with the items lost part incremented. netstat -p does not list ndo2db even though I can seemingly access it with log2ndo. Any suggestions gratefuly received. Marek ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Feb 13 11:50:59 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 13 Feb 2007 11:50:59 +0100 Subject: packet loss -25% with check_ping Message-ID: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net> Hi all ! This is the situation: - Nagios version 1.4 - Nagios plug-in verision 1.3.1 Performing a check_ping on a Linux RedHat Enterprise 4.0, sometime the answer is: PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms Normally that server (like the others) answer correctly. Have you got any idea? Regards Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00077.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00080.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Tue Feb 13 14:45:03 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Tue, 13 Feb 2007 13:45:03 +0000 Subject: Followup: ndoutils not logging to MySQL In-Reply-To: References: Message-ID: As an additional point, I get the same message when i attempt to use tcp socket connections too. Is there some way I can debug the ndomod broker in more detail to see exactly where it is failing? On 2/13/07, Marek Narkiewicz wrote: > Hi there. Following on form my email yesterday, I discovered that > while the socket /var/nagios/ndo.sock existed (AS specified in > ndo2db.cfg and ndomod.cfg) the process had stopped running. I removed > the socket and restarted the process and then was able to import the > archived nagios log files to MySQL using log2ndo and specifying the > socket in the commandline. (this only imported entries into tables: > nagios_conninfo, nagios_instances and nagios_logentries) > > nagios.log however maintains that it cannot connect to the daemon: > > [1171362753] ndomod: Still unable to connect to data sink. 1463360 > items lost, 5000 queued items to flush. > > repeated over and over again with the items lost part incremented. > > netstat -p does not list ndo2db even though I can seemingly access it > with log2ndo. > > Any suggestions gratefuly received. > > Marek > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Tue Feb 13 15:22:41 2007 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Tue, 13 Feb 2007 15:22:41 +0100 Subject: Followup: ndoutils not logging to MySQL In-Reply-To: References: Message-ID: <45D1C9B1.1030009@vsm-hosting.nl> It sounds like permission problems. I got the same problem a week ago chown/chgrp ndo2db and ndomod to nagios user/group, same as the big bos "nagios" And bang all the data walked into mysql like a charm. Good luck Marek Narkiewicz wrote: >As an additional point, I get the same message when i attempt to use >tcp socket connections too. Is there some way I can debug the ndomod >broker in more detail to see exactly where it is failing? > >On 2/13/07, Marek Narkiewicz wrote: > > >>Hi there. Following on form my email yesterday, I discovered that >>while the socket /var/nagios/ndo.sock existed (AS specified in >>ndo2db.cfg and ndomod.cfg) the process had stopped running. I removed >>the socket and restarted the process and then was able to import the >>archived nagios log files to MySQL using log2ndo and specifying the >>socket in the commandline. (this only imported entries into tables: >>nagios_conninfo, nagios_instances and nagios_logentries) >> >>nagios.log however maintains that it cannot connect to the daemon: >> >> [1171362753] ndomod: Still unable to connect to data sink. 1463360 >>items lost, 5000 queued items to flush. >> >>repeated over and over again with the items lost part incremented. >> >>netstat -p does not list ndo2db even though I can seemingly access it >>with log2ndo. >> >>Any suggestions gratefuly received. >> >>Marek >> >> ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Tue Feb 13 15:22:58 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Tue, 13 Feb 2007 09:22:58 -0500 Subject: Fwd: Re: Net-SNMP and SNMPTT References: <20070209204358.GP11333@pmorris.usa.hp.com> <45CC9B91.24B4.00A7.0@naps.edu> <20070209213308.GR11333@pmorris.usa.hp.com> <45D1830C.24B4.00A7.0@naps.edu> Message-ID: <45D18371.24B4.00A7.0@naps.edu> >>> Kevin DaSilva 2/13/2007 9:21 AM >>> Thank You Patrick for your help! After installing the Config::IniFiles and the rest of the prerequisites... I am now able to receive traps! Quick question... when I set the debugging on, I show all of my traps as "Unknown Traps". I was under the assumption that a I should see something in the spool directory and/or a snmptt.log file. Right? Attached are copies of my debug file and snmpt.ini for reference. Any help would be greatly appreciated! (again!) >>> Patrick Morris 2/9/2007 4:33 PM >>> On Fri, 09 Feb 2007, Kevin DaSilva wrote: > Where do the 2 files get placed? > > > > >>> Patrick Morris 2/9/2007 3:43 PM >>> > On Fri, 09 Feb 2007, Kevin DaSilva wrote: > > > I set to the debug to 2 and no logging... When I try to run the handler manually this is what I get... > > > > nagios1:/sbin # snmptt > > Can't locate Config/IniFiles.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i586-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl .) at /usr/sbin/snmptt line 3515. > > > > > > Must have to do something with Perl.... > > Yep. You need the Config::IniFiles module installed. Check the > "Requirements" section of the docs for the other prerequisites you need. It depends how you're installing it -- there are a few ways you could do it. You could either just install a package if your OS ditribution has one available, you could install it through CPAN ("perl -MCPAN -e shell", followed by "install Config::IniFiles") , or you could grab the source package and do "perl Makefile.PL; make; make install". Just dropping the two files you have into one of the directories mentioned in your error message (I'm not sure which two you're referring to) may or may not work, but I wouldn't recommend it. -------------- next part -------------- A non-text attachment was scrubbed... Name: snmptt_debug.log Type: application/octet-stream Size: 2652 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: snmptt.ini Type: application/octet-stream Size: 25391 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Lane at CIBC.com Tue Feb 13 16:04:27 2007 From: Jim.Lane at CIBC.com (Lane, Jim) Date: Tue, 13 Feb 2007 10:04:27 -0500 Subject: check_smtp socket timeout problem Message-ID: <42C65DFAF1777047B7669BF53A8BE48D05421A50@CBSCC-X3-MBVS02.ad.cibc.com> Hi, All I'm not sure this is a Nagios problem strictly speaking but hopefully people here may be able to shed some light on it. I have a set of 4 Solaris 10 boxes one of which is the Nagios server, Nagios 2.6 to be exact. The other 3 boxes are monitored by it. One thing I'm checking is SMTP with the plug-in check_smtp. As far as I know all 3 monitored boxes have the same configuration aside from host names and IP addresses. Sendmail is set up and working on all 3 boxes. I know this because I'm receiving messages from them on my laptop. The problem is that for 1 of the 3 the check_smtp plug-in times out. When I try it from the command prompt I get messages as follows: jlane at cbaobus-cbbwls2 /usr/local/nagios/libexec $ ./check_smtp -H 10.3.245.196 -v 220 cbaobus-cbbipl1 ESMTP Sendmail 8.13.6+Sun/8.13.6; Tue, 13 Feb 2007 09:55:31 -0500 (EST) CRITICAL - Socket timeout after 10 seconds When I check on the failing server I see syslog messages such as: Feb 13 09:55:41 cbaobus-cbbipl1 sendmail[28731]: [ID 801593 mail.info] l1DEtVQd028731: cbaobus-cbbwls2 [10.3.245.204] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4 every 5 minutes corresponding to Nagios running the check_smtp plug-in. Does anybody know what this message is trying to tell me? Regards, Jim Lane ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Feb 13 17:48:32 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 13 Feb 2007 11:48:32 -0500 Subject: Net-SNMP and SNMPTT In-Reply-To: <45D1830C.24B4.00A7.0@naps.edu> References: <20070209204358.GP11333@pmorris.usa.hp.com> <45CC9B91.24B4.00A7.0@naps.edu> <20070209213308.GR11333@pmorris.usa.hp.com> <45D1830C.24B4.00A7.0@naps.edu> Message-ID: > Thank You Patrick for your help! After installing the > Config::IniFiles and the rest of the prerequisites... I am > now able to receive traps! > > Quick question... when I set the debugging on, I show all of > my traps as "Unknown Traps". I was under the assumption that > a I should see something in the spool directory and/or a > snmptt.log file. Right? Normally that would mean that the unknown traps you're receiving aren't included in your snmptt config files. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Feb 13 17:49:20 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 13 Feb 2007 11:49:20 -0500 Subject: packet loss -25% with check_ping In-Reply-To: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net> References: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net> Message-ID: > This is the situation: > - Nagios version 1.4 > - Nagios plug-in verision 1.3.1 > > Performing a check_ping on a Linux RedHat Enterprise 4.0, > sometime the answer is: > > PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms > > Normally that server (like the others) answer correctly. > > Have you got any idea? You have some packet loss on your network. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Tue Feb 13 18:09:28 2007 From: bohara at gmail.com (Ben O'Hara) Date: Tue, 13 Feb 2007 17:09:28 +0000 Subject: packet loss -25% with check_ping In-Reply-To: References: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net> Message-ID: <2b36e660702130909u2eebd05cv6889bccdcba5947c@mail.gmail.com> On 2/13/07, Morris, Patrick wrote: > > > This is the situation: > > - Nagios version 1.4 > > - Nagios plug-in verision 1.3.1 > > > > Performing a check_ping on a Linux RedHat Enterprise 4.0, > > sometime the answer is: > > > > PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms > > > > Normally that server (like the others) answer correctly. > > > > Have you got any idea? > > You have some packet loss on your network. Or is that packet generation ;-) notice its -25% loss Ben ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Tue Feb 13 18:15:28 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Tue, 13 Feb 2007 12:15:28 -0500 Subject: Net-SNMP and SNMPTT In-Reply-To: References: <20070209204358.GP11333@pmorris.usa.hp.com><45CC9B91.24B4.00A7.0@naps.edu><20070209213308.GR11333@pmorris.usa.hp.com> <45D1830C.24B4.00A7.0@naps.edu> Message-ID: <45D1ABDF.24B4.00A7.0@naps.edu> By any chance, is there a way to confirm that some of the traps are being processed?? >>> "Morris, Patrick" 2/13/2007 11:48 AM >>> > Thank You Patrick for your help! After installing the > Config::IniFiles and the rest of the prerequisites... I am > now able to receive traps! > > Quick question... when I set the debugging on, I show all of > my traps as "Unknown Traps". I was under the assumption that > a I should see something in the spool directory and/or a > snmptt.log file. Right? Normally that would mean that the unknown traps you're receiving aren't included in your snmptt config files. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Tue Feb 13 18:44:20 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Tue, 13 Feb 2007 17:44:20 +0000 Subject: Followup: ndoutils not logging to MySQL In-Reply-To: References: <45D1C9B1.1030009@vsm-hosting.nl> Message-ID: Thank you Sjaak and Natalia for the suggestions. I have implemented all of those except downgrading to the previous ndoutils package (I will try that later this evening) and still get the following output in my nagios.log on startup: [1171382416] Nagios 2.7 starting... (PID=14030) [1171382416] LOG VERSION: 2.0 [1171382416] ndomod: NDOMOD 1.4b2 (01-19-2007) Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1171382416] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' initialized successfully. [1171382416] Finished daemonizing... (New PID=14031) This is the same whether I use tcp socket or unix domain socket, and log2ndo works with the same settings I have in ndomod.cfg. All files in the installation are chown nagios.nagios and the database details in ndo2db.cfg clearly are correct since log2ndo works. Anyone with any more suggestions? Thanks again for those already given. Marek ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Tue Feb 13 18:51:46 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 13 Feb 2007 12:51:46 -0500 Subject: packet loss -25% with check_ping In-Reply-To: <2b36e660702130909u2eebd05cv6889bccdcba5947c@mail.gmail.com> References: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net> <2b36e660702130909u2eebd05cv6889bccdcba5947c@mail.gmail.com> Message-ID: Ah -- good point. This has come up on the list before. I believe some versions of the check_ping plugin had a pug that would send an extra ping. I believe it's been fixed in the latest plugin release. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ben O'Hara > Sent: Tuesday, February 13, 2007 9:09 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] packet loss -25% with check_ping > > On 2/13/07, Morris, Patrick wrote: > > > This is the situation: > > - Nagios version 1.4 > > - Nagios plug-in verision 1.3.1 > > > > Performing a check_ping on a Linux RedHat Enterprise 4.0, > > sometime the answer is: > > > > PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms > > > > Normally that server (like the others) answer correctly. > > > > Have you got any idea? > > You have some packet loss on your network. > > > > Or is that packet generation ;-) notice its -25% loss > > Ben > > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology > to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based > on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) > and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > > > > -- > "A Scientist will earn a living by taking a really difficult > problem and spends many years solving it, an engineer earns a > living by finding really difficult problems and side stepping them" > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Feb 13 19:14:36 2007 From: marc at ena.com (Marc Powell) Date: Tue, 13 Feb 2007 12:14:36 -0600 Subject: check_smtp socket timeout problem Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lane, Jim > Sent: Tuesday, February 13, 2007 9:04 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_smtp socket timeout problem > > Hi, All > [chop] > know this because I'm receiving messages from them on my laptop. The > problem is that for 1 of the 3 the check_smtp plug-in times out. When I > try it from the command prompt I get messages as follows: > > jlane at cbaobus-cbbwls2 /usr/local/nagios/libexec $ ./check_smtp -H > 10.3.245.196 -v > 220 cbaobus-cbbipl1 ESMTP Sendmail 8.13.6+Sun/8.13.6; Tue, 13 Feb 2007 > 09:55:31 -0500 (EST) > CRITICAL - Socket timeout after 10 seconds It's always best to run these kinds of tests as the nagios user. You may see different behavior. When this is occurring, can you manually telnet to the mail server, see the banner and issue a quit command that terminates in under 10 seconds? I'm thinking that you have greet_pause enabled or something else that's causing your connection to take longer than 10 seconds from start to finish. Example -- > telnet 10.3.245.196 25 220 cbaobus-cbbipl1 ESMTP Sendmail 8.13.6+Sun/8.13.6; Tue, 13 Feb 2007> 09:55:31 -0500 (EST) quit > Should take less than 10 seconds. > When I check on the failing server I see syslog messages such as: > > Feb 13 09:55:41 cbaobus-cbbipl1 sendmail[28731]: [ID 801593 mail.info] > l1DEtVQd028731: cbaobus-cbbwls2 [10.3.245.204] did not issue > MAIL/EXPN/VRFY/ETRN during connection to MTA-v4 > > every 5 minutes corresponding to Nagios running the check_smtp plug-in. > > Does anybody know what this message is trying to tell me? It's telling you that 10.3.245.204 made a connection to the mail server but didn't issue any mail sending commands. This is expected as the check_smtp plugin as you've specified it only connects to the port looks for the banner then quits. You can use the -C and -R options to chat further with the mail server if you like. -- Marc ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue Feb 13 21:56:50 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 13 Feb 2007 21:56:50 +0100 Subject: check_disks and NagiosGrapher Message-ID: <45D22612.20002@telcotec.se> Hi List! Does anyone know of a way to use the standard check_disk plugin (without specifying any partition, thus checking all filesystems with one service entry) together with NagiosGrapher in order to produce individual graphs of all avaiilable filesystems without specifying each of the filesystems in the *.ncfg configuration file? /L ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue Feb 13 22:16:49 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 13 Feb 2007 22:16:49 +0100 Subject: check_iftraffic and NagiosGrapher Message-ID: <45D22AC1.7070104@telcotec.se> Hi All, I tried the check_iftraffic.pl and check_iftraffic.ncfg combo for NagiosGrapher, but it does not work as advertised on my SuSE Linux 10.2 platform with latest nagios and NagiosGrapher. Has anyone got it working? /L ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue Feb 13 23:45:23 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 13 Feb 2007 23:45:23 +0100 Subject: check_iftraffic and NagiosGrapher In-Reply-To: <45D22AC1.7070104@telcotec.se> References: <45D22AC1.7070104@telcotec.se> Message-ID: <45D23F83.8020308@telcotec.se> Lars Stavholm wrote: > Hi All, > I tried the check_iftraffic.pl and check_iftraffic.ncfg combo > for NagiosGrapher, but it does not work as advertised on my > SuSE Linux 10.2 platform with latest nagios and NagiosGrapher. > Has anyone got it working? Answering myself: yes, I did. Sorry 'bout this post. If anyone's in doubt, it all works as advertised at . Apologies /Lars ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry at schrof.net Fri Feb 9 16:40:18 2007 From: larry at schrof.net (Larry P. Schrof) Date: Fri, 9 Feb 2007 09:40:18 -0600 Subject: Request new functionality: "Off Hours" state. Message-ID: <20070209154018.GA23510@lucien.blight.com> Hello, I work for a trading firm, and upper management has begun to have a solid appreciation for Nagios and what it can do. However, we have a few requirements in a monitoring solution that I would love to see added to Nagios, as I think they would be useful to the community at large. I'll put forth one idea per email. Request for new functionality: ------------------------------ Right now, for the sake of discussion, let's assume a service is checked from 8:00am to 4:00pm every five minutes. Assume, at 3:57pm that a service is in the critical state. The problem our company has is this: The Nagios CGI's will continue to report the service in a critical state from 3:57pm THROUGH the "off hours" until the next morning. This "pollutes" the displays with a red critical entry that we don't want to see. Manually submitting (or scripting) a passive check just after 4pm to set the service back to an 'Ok' is unacceptable, as our folks want to know, at a quick glance, what "should be currently monitored" and "what shouldn't be." What we need / would like is a per-service and per-host configuration option that allows a host or service to enter an "Off hours" state in the CGI displays. (Or perhaps there should also be a global option for this?) It would be nice if performance data would not be gathered during this state. (Perhaps that's the way it works now - haven't checked.) I am even envisioning a new color for the service / host entries in the CGI's - perhaps blue. This color would readily allow folks to identify entries that are in "off hours", as opposed to processes that are being monitored and in an 'ok' state. I do realize that many folks do want to know / see the last state of their services before the time_period expired, but in our case, it is important that we explicitly have the last known state wiped from the CGI's once the time_period has expired. Our service response team doesn't want to have 40+ red, yellow, or orange entries showing up for hosts that aren't even currently in their active time_period. Maybe it would just take a host / service config entry such as 'display_off_hours_state' ? Can folks who are intimately familiar with the source code let me know how feasible this potentially is? Thanks. - Larry P.S. Am unable to subscribe to the list, please explicitly include my address on all replies. Will keep trying to subscribe throughout the day. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Feb 14 09:17:56 2007 From: m.borsani at it.net (Marco Borsani) Date: Wed, 14 Feb 2007 09:17:56 +0100 Subject: R: packet loss -25% with check_ping In-Reply-To: References: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net><2b36e660702130909u2eebd05cv6889bccdcba5947c@mail.gmail.com> Message-ID: <003701c75010$a243f550$0900d40a@intranet.it.net> I have this problem: 1) only with that client (I am monitoring about 300 servers) 2) sometime , not always Marco -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Morris, Patrick Inviato: marted? 13 febbraio 2007 18.52 A: Ben O'Hara Cc: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] packet loss -25% with check_ping Ah -- good point. This has come up on the list before. I believe some versions of the check_ping plugin had a pug that would send an extra ping. I believe it's been fixed in the latest plugin release. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ben O'Hara > Sent: Tuesday, February 13, 2007 9:09 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] packet loss -25% with check_ping > > On 2/13/07, Morris, Patrick wrote: > > > This is the situation: > > - Nagios version 1.4 > > - Nagios plug-in verision 1.3.1 > > > > Performing a check_ping on a Linux RedHat Enterprise 4.0, > > sometime the answer is: > > > > PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms > > > > Normally that server (like the others) answer correctly. > > > > Have you got any idea? > > You have some packet loss on your network. > > > > Or is that packet generation ;-) notice its -25% loss > > Ben > > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology > to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based > on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) > and OS when reporting any issue. > ::: Messages without supporting info will risk being > sent to /dev/null > > > > > > -- > "A Scientist will earn a living by taking a really difficult > problem and spends many years solving it, an engineer earns a > living by finding really difficult problems and side stepping them" > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Wed Feb 14 12:25:19 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Wed, 14 Feb 2007 11:25:19 +0000 Subject: ndo2db again Message-ID: Hi there. Sorry to spam the list but thought I'd send one last plea for help debugging an installation of nagios and ndoutils that simply refuses to log to mysql. I have tried both tcp sockets and unix domain sockets with the same results: [1171382416] Nagios 2.7 starting... (PID=14030) [1171382416] LOG VERSION: 2.0 [1171382416] ndomod: NDOMOD 1.31 Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1171382416] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' initialized successfully. [1171382416] Finished daemonizing... (New PID=14031) I have verified that the ndo2db daemon will accept connections from log2ndo using the same credentials in the ndomod.cfg file. I have set the permissions of all related files to match the user and group nagios. I have tried using 1.31 and 1.42b with the exact same results. Can anyone suggest a way to further debug the ndomod.o module to see exactly why it's failing to connect? Thanks in advance, Marek ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Wed Feb 14 13:35:10 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 14 Feb 2007 13:35:10 +0100 Subject: ndo2db again Message-ID: Hi there. Sorry to spam the list but thought I'd send one last plea for help debugging an installation of nagios and ndoutils that simply refuses to log to mysql. I have tried both tcp sockets and unix domain sockets with the same results: [1171382416] Nagios 2.7 starting... (PID=14030) [1171382416] LOG VERSION: 2.0 [1171382416] ndomod: NDOMOD 1.31 Copyright (c) 2005-2007 Ethan Galstad (nagios at nagios.org) [1171382416] ndomod: Could not open data sink! I'll keep trying, but some output may get lost... [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' initialized successfully. [1171382416] Finished daemonizing... (New PID=14031) I have verified that the ndo2db daemon will accept connections from log2ndo using the same credentials in the ndomod.cfg file. I have set the permissions of all related files to match the user and group nagios. I have tried using 1.31 and 1.42b with the exact same results. Can anyone suggest a way to further debug the ndomod.o module to see exactly why it's failing to connect? Thanks in advance, Marek Hi What does ps -ef says : ? nagios 16768 758 0 13:10 ? 00:00:00 /usr/local/nagios/bin/ndo2db-2x -c /usr/local/nagios/etc/ndo2db.cfg ndo2db.cfg (/usr/local/nagios/etc) ndo2db_user=nagios ndo2db_group=nagios socket_type=tcp socket_name=/usr/local/nagios/var/ndo.sock tcp_port=5668 db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=nagios_ db_user=************ db_pass=*************** max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 ndomod.cfg (/usr/local/nagios/etc) instance_name=default output_type=tcpsocket output=127.0.0.1 tcp_port=5668 output_buffer_items=5000 buffer_file=/usr/local/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=3 Maybe a hint?? With this config it works fine for me... /J?rg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: 2007-02-12 13:23 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: 2007-02-12 13:23 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Wed Feb 14 13:41:30 2007 From: magic.rooter at gmail.com ( magic_rooter) Date: Wed, 14 Feb 2007 15:41:30 +0300 Subject: Plugin for cisco x25 vc monitoring Message-ID: <989aee610702140441s7566c819sce2462784d34f79d@mail.gmail.com> Hello! Has anyone some shell or perl script which goes to cisco router, evaluates commands on it and output the result? I need to monitor x 25 vc connections on router. I have found where are these variables stored in cisco snmp mibs. But there is no such snmp plugin in Nagios to monitor this. The command which I use to show info I need is: router#sh x25 vc | inc 701000 Connects 701000 <--> 1100101 to Connects 701000 <--> 1100101 from Serial1/0 SVC 5 So, how this command and its output will look in shell script, which will be the plugin for Nagios? Sorry, I don't know shell scripting well.That's why I answer. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Feb 14 13:51:13 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 14 Feb 2007 13:51:13 +0100 Subject: check_disks and NagiosGrapher In-Reply-To: <45D22612.20002@telcotec.se> References: <45D22612.20002@telcotec.se> Message-ID: <45D305C1.8090406@telcotec.se> Lars Stavholm wrote: > Hi List! > Does anyone know of a way to use the standard check_disk > plugin (without specifying any partition, thus checking > all filesystems with one service entry) together with > NagiosGrapher in order to produce individual graphs of > all avaiilable filesystems without specifying each of > the filesystems in the *.ncfg configuration file? Solved. There's not that much doco around for newbies like myself. Anyways, solution was to define proper services and service descriptions, one for each monitored file system, e.g. "Disk Space: /home", "Disk Space: /var", etc., and then use the updated check_disk.ncfg from the NagiosGrapher forum. That way I will still have to specify a service for each file system, and that's OK, but I can use the same check_disks.ncfg for all graphs and for all file systems. Cheers /Lars ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at shatterit.com Wed Feb 14 14:36:20 2007 From: rwolfe at shatterit.com (Robert Wolfe) Date: Wed, 14 Feb 2007 08:36:20 -0500 Subject: Plugin for cisco x25 vc monitoring In-Reply-To: <989aee610702140441s7566c819sce2462784d34f79d@mail.gmail.com> References: <989aee610702140441s7566c819sce2462784d34f79d@mail.gmail.com> Message-ID: <000301c7503d$1d296df0$800a210a@roswellpark.org> Well, if a plugin can do this, then I do not see why you could not just come up with a shell script to redirect the output of this command to an ascii file and then have the plugin read the data back in from that same file to do its job. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of magic_rooter Sent: Wednesday, February 14, 2007 7:42 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plugin for cisco x25 vc monitoring Hello! Has anyone some shell or perl script which goes to cisco router, evaluates commands on it and output the result? I need to monitor x 25 vc connections on router. I have found where are these variables stored in cisco snmp mibs. But there is no such snmp plugin in Nagios to monitor this. The command which I use to show info I need is: router#sh x25 vc | inc 701000 Connects 701000 <--> 1100101 to Connects 701000 <--> 1100101 from Serial1/0 SVC 5 So, how this command and its output will look in shell script, which will be the plugin for Nagios? Sorry, I don't know shell scripting well.That's why I answer. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 subs.krikkit.nl Wed Feb 14 15:36:29 2007 From: nagios-users at subs.krikkit.nl (Rejo Zenger) Date: Wed, 14 Feb 2007 15:36:29 +0100 Subject: notification_interval in serviceescalation ignored Message-ID: <20070214143629.GB19306@zaphod.krikkit.nl> Hi there, The problem in short: the escalations are working like a charm, but the notification interval of the escalation seems to be ignored. In more detail, the configuration is as follows: | define serviceescalation { | first_notification 1 | last_notification 0 | notification_interval 900 | contact_groups cg-all-sane | service_description $service | host_name $host | escalation_options r,w,u,c | } | define serviceescalation { | first_notification 12 | last_notification 0 | notification_interval 3600 | escalation_period twentyfourseven | contact_groups cg-storingsdienst-escalatie | service_description $service | host_name $host | escalation_options r,c | } | define serviceescalation { | first_notification 4 | last_notification 0 | notification_interval 1800 | escalation_period twentyfourseven | contact_groups cg-storingsdienst | service_description $service | host_name $host | escalation_options r,w,u,c | } | interval_length=1 | define service { | name s | register 0 | max_check_attempts 6 | normal_check_interval 120 | retry_check_interval 20 | check_period twentyfourseven | notification_interval 300 | notification_period twentyfourseven | notifications_enabled 1 | register 0 | notification_options w,u,c,r,f | contact_groups cg-all-insane I believe this would, in case of a long lasting problem, result in: - a notification to all contacts in cg-all-sane every 15 minutes, starting immediatelly when there is a problem - a notification to all contacts in cg-storingsdienst every 30 minutes if problem has not been resovled or acknowledged within 20 minutes - a notification to all contacts in cg-storingsdienst-escalatie every 60 minutes if problem has not been resovled or acknowledged within 1 hour There are no overlaps in contacts between the various contactgroups (I have created separate e-mailaddresses to be notified, to avoid problems). Testing this setup resulted in the following notifications: 07:50:44 cg-all-sane 08:07:32 cg-all-sane 08:24:32 cg-all-sane 08:41:24 cg-all-sane, cg-storingsdienst 08:58:19 cg-all-sane, cg-storingsdienst 09:15:10 cg-all-sane, cg-storingsdienst 09:32:16 cg-all-sane, cg-storingsdienst 09:49:25 cg-all-sane, cg-storingsdienst 10:06:31 cg-all-sane, cg-storingsdienst 10:23:38 cg-all-sane, cg-storingsdienst 10:40:38 cg-all-sane, cg-storingsdienst 10:57:40 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie 11:14:46 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie 11:29:49 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie 11:46:58 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie After this the problem was resolved. I am happy with the escalation, but the thing that does not work is the notification interval. It seems the setting is being ignored. What is it I am doing wrong here? Thank you in advance for your help. It's the only showstopper for the implementation of this nagios instance... :) PS. Only modifications to config bits above are a replacement of service and host. -- Rejo Zenger https://rejo.zenger.nl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Wed Feb 14 15:45:31 2007 From: stava at telcotec.se (Lars Stavholm) Date: Wed, 14 Feb 2007 15:45:31 +0100 Subject: NagiosGrapher + check_disk problem Message-ID: <45D3208B.80802@telcotec.se> Hi All, I wonder if anyone more knowledgeable than myself could help out: We're using nagios 2.7 (latest) + NagiosGrapher 1.6.1 RC2 (latest) together with the check_disk plugin from nagios-plugins 1.4.6. We monitor 26 file systems on one machine, monitoring is fine, and graphing for each of this is brilliant, except for one: the culprit is mounted on /var/downloads and the only anomaly I can think off is the name length, 14 char's. It's the longest name we have. 2nd longest is /var/archive, 12 char's, which by the way works just great, both monitoring and graphing (like all the rest of the file system monitoring and graphing). In fact, all file systems gets the great looking graphs, except for /var/downloads. Symptoms: 1. NagiosGrapher usually fills the serviceext file with proper configuration automatically. So it did for all the services, except for the /var/downloads. 2. Clicking on the graph icon reveals an error at the beginning: RRD Error: reading the cookie off /var/lib/nagios/perfdata/localhost failed. (and yes, I've tried clearing out - deleting - all perf data and then start the NagiosGrapher and nagios again). 3. ngraph.log says: 2007-02-14 15:28:19 PIPE: localhost /var/downloads DISK OK - free space: /var/downloads 315 MB (30% inode=-): /var/downloads=708MB;920;971;0;1023 2007-02-14 15:28:19 REGEX: 7 blocks for '/var/downloads' found. 2007-02-14 15:28:19 REGEX: perfdata=/var/downloads=708MB;920;971;0;1023 2007-02-14 15:28:19 REGEX: perfdata=/var/downloads=708MB;920;971;0;1023 2007-02-14 15:28:19 REGEX: perfdata=/var/downloads=708MB;920;971;0;1023 2007-02-14 15:28:19 REGEX: perfdata=/var/downloads=708MB;920;971;0;1023 2007-02-14 15:28:19 REGEX: perfdata=disk ok - free space: /var/downloads 315 mb (30% inode=-): 2007-02-14 15:28:19 VALUES: [localhost][/var/downloads]:No matching output values found... So the last line is supposedly telling me the problem. Only thing is, I don't understand what it means. Any help appreciated, this one got me baffled. /Lars ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From James.Whittington at vc3.com Wed Feb 14 16:30:24 2007 From: James.Whittington at vc3.com (James Whittington) Date: Wed, 14 Feb 2007 10:30:24 -0500 Subject: Checking Windows counter via nagios, nsclient++, and nrpe Message-ID: <525450AD493E1E44B6B00A4A752D7DE50317A867@courier.vc3.com> Hello all, I have a Nagios 2 system used in monitoring several application environments and I'm looking for the best way to monitor a Windows 2003 process. I already have nsclient++ in place, and I'm using the checkCounter command in nrpe. The main issue at this point is the counter in question returns a value in scientific notation, which isn't very readable for non-scientists. Here's the command and response: ./check_nrpe -H 192.168.197.183 -p 5666 -c checkCounter -a "Counter:PrivBytes=\\Process(ProductATasksService)\\Private Bytes" ShowAll OK: PrivBytes: 2.38641e+08 Is there an option to convert the format to human readable? If not I might have to write something to convert it which might be a bad idea anyway, since I don't see performance data coming from the plugin either and I write the performance data to a sql backend. I figured I would toss the question out to the list to see if others had run into this before. Thanks, James Whittington -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at shatterit.com Wed Feb 14 16:34:20 2007 From: rwolfe at shatterit.com (Robert Wolfe) Date: Wed, 14 Feb 2007 10:34:20 -0500 Subject: Checking Windows counter via nagios, nsclient++, and nrpe In-Reply-To: <525450AD493E1E44B6B00A4A752D7DE50317A867@courier.vc3.com> References: <525450AD493E1E44B6B00A4A752D7DE50317A867@courier.vc3.com> Message-ID: <002601c7504d$98ff23b0$800a210a@roswellpark.org> Can this also be used to monitor memory use by a process/program as well? _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Whittington Sent: Wednesday, February 14, 2007 10:30 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Windows counter via nagios, nsclient++,and nrpe Hello all, I have a Nagios 2 system used in monitoring several application environments and I'm looking for the best way to monitor a Windows 2003 process. I already have nsclient++ in place, and I'm using the checkCounter command in nrpe. The main issue at this point is the counter in question returns a value in scientific notation, which isn't very readable for non-scientists. Here's the command and response: ./check_nrpe -H 192.168.197.183 -p 5666 -c checkCounter -a "Counter:PrivBytes=\\Process(ProductATasksService)\\Private Bytes" ShowAll OK: PrivBytes: 2.38641e+08 Is there an option to convert the format to human readable? If not I might have to write something to convert it which might be a bad idea anyway, since I don't see performance data coming from the plugin either and I write the performance data to a sql backend. I figured I would toss the question out to the list to see if others had run into this before. Thanks, James Whittington -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From James.Whittington at vc3.com Wed Feb 14 17:00:41 2007 From: James.Whittington at vc3.com (James Whittington) Date: Wed, 14 Feb 2007 11:00:41 -0500 Subject: Checking Windows counter via nagios, nsclient++, and nrpe In-Reply-To: <002601c7504d$98ff23b0$800a210a@roswellpark.org> References: <525450AD493E1E44B6B00A4A752D7DE50317A867@courier.vc3.com> <002601c7504d$98ff23b0$800a210a@roswellpark.org> Message-ID: <525450AD493E1E44B6B00A4A752D7DE50317A868@courier.vc3.com> checkCounter can check any performance counter object in windows as far as I know. I found out if you are using nsclient++ the command "nsclient++ CheckSystem listpdh" would dump all the counters it found. I looked for the process I was wanting to watch to find the right syntax for the process and instance. James Whittington Systems Engineer VC3, Inc. 803-978-2723 direct 800-787-1160 main From: Robert Wolfe [mailto:rwolfe at shatterit.com] Sent: Wednesday, February 14, 2007 10:34 AM To: James Whittington; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Checking Windows counter via nagios, nsclient++,and nrpe Can this also be used to monitor memory use by a process/program as well? ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Whittington Sent: Wednesday, February 14, 2007 10:30 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Windows counter via nagios, nsclient++,and nrpe Hello all, I have a Nagios 2 system used in monitoring several application environments and I'm looking for the best way to monitor a Windows 2003 process. I already have nsclient++ in place, and I'm using the checkCounter command in nrpe. The main issue at this point is the counter in question returns a value in scientific notation, which isn't very readable for non-scientists. Here's the command and response: ./check_nrpe -H 192.168.197.183 -p 5666 -c checkCounter -a "Counter:PrivBytes=\\Process(ProductATasksService)\\Private Bytes" ShowAll OK: PrivBytes: 2.38641e+08 Is there an option to convert the format to human readable? If not I might have to write something to convert it which might be a bad idea anyway, since I don't see performance data coming from the plugin either and I write the performance data to a sql backend. I figured I would toss the question out to the list to see if others had run into this before. Thanks, James Whittington -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Wed Feb 14 17:18:27 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Wed, 14 Feb 2007 16:18:27 +0000 Subject: ndo2db again In-Reply-To: References: Message-ID: ps shows the process running and netstat shows that it is listening on the correct address. The config files match yours but adjusted for my install paths. Thanks for the response though, Marek On 2/14/07, Jorg.Schulz at systeam.se wrote: > > > > > > Hi there. Sorry to spam the list but thought I'd send one last plea > for help debugging an installation of nagios and ndoutils that simply > refuses to log to mysql. > > I have tried both tcp sockets and unix domain sockets with the same > results: > > [1171382416] Nagios 2.7 starting... (PID=14030) > [1171382416] LOG VERSION: 2.0 > [1171382416] ndomod: NDOMOD 1.31 Copyright (c) 2005-2007 Ethan Galstad > (nagios at nagios.org) > [1171382416] ndomod: Could not open data sink! I'll keep trying, but > some output may get lost... > [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' > initialized successfully. > [1171382416] Finished daemonizing... (New PID=14031) > > > I have verified that the ndo2db daemon will accept connections from > log2ndo using the same credentials in the ndomod.cfg file. > > I have set the permissions of all related files to match the user and > group nagios. > > I have tried using 1.31 and 1.42b with the exact same results. > > Can anyone suggest a way to further debug the ndomod.o module to see > exactly why it's failing to connect? > > Thanks in advance, > Marek > Hi > > What does ps -ef says : ? > nagios 16768 758 0 13:10 ? 00:00:00 > /usr/local/nagios/bin/ndo2db-2x -c /usr/local/nagios/etc/ndo2db.cfg > > ndo2db.cfg > (/usr/local/nagios/etc) > > ndo2db_user=nagios > ndo2db_group=nagios > socket_type=tcp > socket_name=/usr/local/nagios/var/ndo.sock > tcp_port=5668 > db_servertype=mysql > db_host=localhost > db_port=3306 > db_name=nagios > db_prefix=nagios_ > db_user=************ > db_pass=*************** > max_timedevents_age=1440 > max_systemcommands_age=10080 > max_servicechecks_age=10080 > max_hostchecks_age=10080 > max_eventhandlers_age=44640 > ndomod.cfg > (/usr/local/nagios/etc) > > instance_name=default > output_type=tcpsocket > output=127.0.0.1 > tcp_port=5668 > output_buffer_items=5000 > buffer_file=/usr/local/nagios/var/ndomod.tmp > file_rotation_interval=14400 > file_rotation_timeout=60 > reconnect_interval=15 > reconnect_warning_interval=15 > data_processing_options=-1 > config_output_options=3 > > > Maybe a hint?? > > With this config it works fine for me... > > > /J?rg > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: > 2007-02-12 13:23 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.5.441 / Virus Database: 268.17.37/682 - Release Date: > 2007-02-12 13:23 > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Feb 14 17:57:45 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 14 Feb 2007 11:57:45 -0500 Subject: ndo2db again In-Reply-To: References: Message-ID: > ps shows the process running and netstat shows that it is > listening on the correct address. The config files match > yours but adjusted for my install paths. Thanks for the > response though, Marek > > On 2/14/07, Jorg.Schulz at systeam.se wrote: > > > > Hi there. Sorry to spam the list but thought I'd send one last plea > > for help debugging an installation of nagios and ndoutils > that simply > > refuses to log to mysql. > > > > I have tried both tcp sockets and unix domain sockets with the same > > results: > > > > [1171382416] Nagios 2.7 starting... (PID=14030) [1171382416] LOG > > VERSION: 2.0 [1171382416] ndomod: NDOMOD 1.31 Copyright (c) > 2005-2007 > > Ethan Galstad > > (nagios at nagios.org) > > [1171382416] ndomod: Could not open data sink! I'll keep > trying, but > > some output may get lost... > > [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' > > initialized successfully. > > [1171382416] Finished daemonizing... (New PID=14031) I get an error like this one if the database connection or login are unsuccessful. Have you verified that logging in with the parameters given in your config is working? You might check any database logs to see if that's failing for some reason. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Wed Feb 14 18:09:07 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Wed, 14 Feb 2007 17:09:07 +0000 Subject: ndo2db again In-Reply-To: References: Message-ID: On 2/14/07, Morris, Patrick wrote: > > > [1171382416] ndomod: Could not open data sink! I'll keep > > trying, but > > > some output may get lost... > > > [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' > > > initialized successfully. > > > [1171382416] Finished daemonizing... (New PID=14031) > > I get an error like this one if the database connection or login are > unsuccessful. Have you verified that logging in with the parameters > given in your config is working? You might check any database logs to > see if that's failing for some reason. > log2ndo can import the nagios log files to myqsl just fine using the running ndo2db daemon and config, so I can only imagine the problem lies in the ndomod broker module. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Wed Feb 14 18:18:01 2007 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 14 Feb 2007 15:18:01 -0200 Subject: ndo2db again Message-ID: <771EF3330524544FAA2684DFA8BEA535063677C8@star.uolcorp.intranet> Nagios user needs read access to the socket. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marek Narkiewicz Sent: quarta-feira, 14 de fevereiro de 2007 15:09 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] ndo2db again On 2/14/07, Morris, Patrick wrote: > > > [1171382416] ndomod: Could not open data sink! I'll keep > > trying, but > > > some output may get lost... > > > [1171382416] Event broker module '/usr/lib/nagios/ndomod.o' > > > initialized successfully. > > > [1171382416] Finished daemonizing... (New PID=14031) > > I get an error like this one if the database connection or login are > unsuccessful. Have you verified that logging in with the parameters > given in your config is working? You might check any database logs to > see if that's failing for some reason. > log2ndo can import the nagios log files to myqsl just fine using the running ndo2db daemon and config, so I can only imagine the problem lies in the ndomod broker module. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null AVISO: A informacao contida neste e-mail, bem como em qualquer de seus anexos, e CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatario(s) acima referido(s), podendo conter informacoes sigilosas e/ou legalmente protegidas. Caso voce nao seja o destinatario desta mensagem, informamos que qualquer divulgacao, distribuicao ou copia deste e-mail e/ou de qualquer de seus anexos e absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer copia e/ou impressao realizada a partir destes, sejam permanentemente apagados e/ou destruidos. Informacoes adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maznaz at gmail.com Wed Feb 14 18:20:59 2007 From: maznaz at gmail.com (Marek Narkiewicz) Date: Wed, 14 Feb 2007 17:20:59 +0000 Subject: ndo2db again In-Reply-To: <771EF3330524544FAA2684DFA8BEA535063677C8@star.uolcorp.intranet> References: <771EF3330524544FAA2684DFA8BEA535063677C8@star.uolcorp.intranet> Message-ID: On 2/14/07, Marcel Mitsuto Fucatu Sugano wrote: > Nagios user needs read access to the socket. As mentioned in my previous posts, the problem exists with both tcp and unix domain connections, and the socket is owned by the nagios user when the daemon is listening on a unix domain socket. Thanks again for replies, Marek ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Feb 14 18:29:16 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 14 Feb 2007 17:29:16 +0000 Subject: Bug in check_disk when using mount points? Message-ID: <45D346EC.6090108@googlemail.com> I'm using check disk and want to have it test the filesystem of a mount point rather than a partition. # df / Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 153337060 28240084 117307864 20% / DF shows the filesystem is 20% used so I want this to force an error using the following test line so see that it actually works: check_disk -m / -w 90% the above check_disk should show Warning at this point as there is less than 90% free space left. Whether I do 10% or 90% it still returns successful even when it's not in the threshold range. # /usr/nagios/libexec/check_disk -m /home -w 100% DISK OK - free space: / 114558 MB (77% inode=98%);| /=35185MB;149743;149743;98;149743 # /usr/nagios/libexec/check_disk -m /home -w 10% DISK OK - free space: / 114558 MB (77% inode=98%);| /=35185MB;149743;149743;98;149743 # /usr/nagios/libexec/check_disk -m /home -w 90% DISK OK - free space: / 114558 MB (77% inode=98%);| /=35185MB;149743;149743;98;149743 The same is true when I was testing the /boot partition (which is a separate partition). So it looks like the -m switch is broken. Can anyone verify this? Is it a known bug, is it fixed? I am running "check_disk (nagios-plugins 1.4.3) 1.64" (taken from the top line of check_disk --help) -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Feb 14 18:32:24 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 14 Feb 2007 17:32:24 +0000 Subject: Bug in check_disk when using mount points? In-Reply-To: <45D346EC.6090108@googlemail.com> References: <45D346EC.6090108@googlemail.com> Message-ID: <45D347A8.4070002@googlemail.com> OK it's not just a bug with the -m switch but with the whole plugin. Observe: /usr/nagios/libexec/check_disk -l -w 2 -c 1 -u TB -vvv DISK OK - free space: / 0 TB (77% inode=98%); /dev 0 TB (100% inode=98%); /home/match/ramdisk 0 TB (17% inode=100%); /dev/shm 0 TB (100% inode=100%); /boot 0 TB (93% inode=100%); 0 of 0 TB (77% inode=98%) free on /dev/sda2 (type ext3 mounted on /) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (100% inode=98%) free on udev (type tmpfs mounted on /dev) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (17% inode=100%) free on tmpfs (type tmpfs mounted on /home/match/ramdisk) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (100% inode=100%) free on shm (type tmpfs mounted on /dev/shm) warn:2 crit:1 warn%:-1% crit%:-1% 0 of 0 TB (93% inode=100%) free on /dev/sda1 (type ext3 mounted on /boot) warn:2 crit:1 warn%:-1% crit%:-1%| /=0TB;0;0;98;0 /dev=0TB;0;0;97;0 /home/match/ramdisk=0TB;0;0;99;0 /dev/shm=0TB;0;0;99;0 /boot=0TB;0;0;99;0 Hari Sekhon Hari Sekhon wrote: > I'm using check disk and want to have it test the filesystem of a > mount point rather than a partition. > > # df / > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda2 153337060 28240084 117307864 20% / > > DF shows the filesystem is 20% used so I want this to force an error > using the following test line so see that it actually works: > > check_disk -m / -w 90% > > the above check_disk should show Warning at this point as there is > less than 90% free space left. Whether I do 10% or 90% it still > returns successful even when it's not in the threshold range. > > # /usr/nagios/libexec/check_disk -m /home -w 100% > DISK OK - free space: / 114558 MB (77% inode=98%);| > /=35185MB;149743;149743;98;149743 > # /usr/nagios/libexec/check_disk -m /home -w 10% > DISK OK - free space: / 114558 MB (77% inode=98%);| > /=35185MB;149743;149743;98;149743 > # /usr/nagios/libexec/check_disk -m /home -w 90% > DISK OK - free space: / 114558 MB (77% inode=98%);| > /=35185MB;149743;149743;98;149743 > > > The same is true when I was testing the /boot partition (which is a > separate partition). So it looks like the -m switch is broken. > > > Can anyone verify this? Is it a known bug, is it fixed? > > I am running "check_disk (nagios-plugins 1.4.3) 1.64" (taken from the > top line of check_disk --help) > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Wed Feb 14 18:58:27 2007 From: trasko at gmail.com (Trask) Date: Wed, 14 Feb 2007 09:58:27 -0800 Subject: Reports using NDOutils? Message-ID: <735379850702140958l2c987361pb220beda48da1d9a@mail.gmail.com> Are there any projects, addons, or home-made scripts out there that people are using that pulls data from the NDO output and creates reports? I've done a good bit of searching and haven't found anything, but it seems like such a logical thing to have that I figure someone has done this already. I have a few related questions as well: 1) Do others have the same experience of not getting any reliable data back from the standard nagios reports if you do time periods greater than a week or so? Ours will churn and churn for a few minutes and then just result in a blank page. 2) Is it crazy to think I can keep *all* the NDO data forever? (~500 hosts / 6000+ srvcs) 3) Is it me, or does using rrdtool to keep and graph nagios data seem non-optimal given that (at least now) all that data can be had in a standard relational database and kept around for as long as you like? Thanks... trying to get my head around all of this. ~Trask ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 14 19:02:16 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 14 Feb 2007 18:02:16 +0000 Subject: Bug in check_disk when using mount points? In-Reply-To: <45D347A8.4070002@googlemail.com> References: <45D346EC.6090108@googlemail.com> <45D347A8.4070002@googlemail.com> Message-ID: <45D34EA8.40804@mailnetwork.co.uk> Hari, Works fine here (this is on Fedora 4) - check_disk (nagios-plugins 1.4.5) 1.79: [NetServe at cooma ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/hda1 12G 1.4G 10G 13% / /dev/hda5 4.6G 33M 4.4G 1% /tmp /dev/hda6 56G 912M 52G 2% /endeavour none 247M 0 247M 0% /dev/shm [NetServe at cooma ~]$ sudo -u nagios /usr/local/nagios/libexec/check_disk -w 20% -c 10% -p / DISK OK - free space: / 10180 MB (87% inode=96%);| /=1406MB;9764;10985;0;12206 [NetServe at cooma ~]$ sudo -u nagios /usr/local/nagios/libexec/check_disk -w 90% -c 10% -p / DISK WARNING - free space: / 10180 MB (87% inode=96%);| /=1406MB;1220;10985;0;12206 [NetServe at cooma ~]$ sudo -u nagios /usr/local/nagios/libexec/check_disk -w 95% -c 90% -p / DISK CRITICAL - free space: / 10180 MB (87% inode=96%);| /=1406MB;610;1220;0;12206 Even with the megabytes switch (-m): [NetServe at cooma ~]$ sudo -u nagios /usr/local/nagios/libexec/check_disk -w 10100 -c 10000 -m -p / DISK OK - free space: / 10180 MB (87% inode=96%);| /=1406MB;2106;2206;0;12206 [NetServe at cooma ~]$ sudo -u nagios /usr/local/nagios/libexec/check_disk -w 10190 -c 10000 -m -p / DISK WARNING - free space: / 10180 MB (87% inode=96%);| /=1406MB;2016;2206;0;12206 [NetServe at cooma ~]$ sudo -u nagios /usr/local/nagios/libexec/check_disk -w 12000 -c 11000 -m -p / DISK CRITICAL - free space: / 10180 MB (87% inode=96%);| /=1406MB;206;1206;0;12206 Have you tried the latest version of the plugins? Andy. Hari Sekhon wrote: > OK it's not just a bug with the -m switch but with the whole plugin. > Observe: > > > /usr/nagios/libexec/check_disk -l -w 2 -c 1 -u TB -vvv > DISK OK - free space: / 0 TB (77% inode=98%); /dev 0 TB (100% > inode=98%); /home/match/ramdisk 0 TB (17% inode=100%); /dev/shm 0 TB > (100% inode=100%); /boot 0 TB (93% inode=100%); > 0 of 0 TB (77% inode=98%) free on /dev/sda2 (type ext3 mounted on /) > warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (100% inode=98%) free on udev (type tmpfs mounted on /dev) > warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (17% inode=100%) free on tmpfs (type tmpfs mounted on > /home/match/ramdisk) warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (100% inode=100%) free on shm (type tmpfs mounted on /dev/shm) > warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (93% inode=100%) free on /dev/sda1 (type ext3 mounted on > /boot) warn:2 crit:1 warn%:-1% crit%:-1%| /=0TB;0;0;98;0 > /dev=0TB;0;0;97;0 /home/match/ramdisk=0TB;0;0;99;0 /dev/shm=0TB;0;0;99;0 > /boot=0TB;0;0;99;0 > > Hari Sekhon > > > > Hari Sekhon wrote: > >> I'm using check disk and want to have it test the filesystem of a >> mount point rather than a partition. >> >> # df / >> Filesystem 1K-blocks Used Available Use% Mounted on >> /dev/sda2 153337060 28240084 117307864 20% / >> >> DF shows the filesystem is 20% used so I want this to force an error >> using the following test line so see that it actually works: >> >> check_disk -m / -w 90% >> >> the above check_disk should show Warning at this point as there is >> less than 90% free space left. Whether I do 10% or 90% it still >> returns successful even when it's not in the threshold range. >> >> # /usr/nagios/libexec/check_disk -m /home -w 100% >> DISK OK - free space: / 114558 MB (77% inode=98%);| >> /=35185MB;149743;149743;98;149743 >> # /usr/nagios/libexec/check_disk -m /home -w 10% >> DISK OK - free space: / 114558 MB (77% inode=98%);| >> /=35185MB;149743;149743;98;149743 >> # /usr/nagios/libexec/check_disk -m /home -w 90% >> DISK OK - free space: / 114558 MB (77% inode=98%);| >> /=35185MB;149743;149743;98;149743 >> >> >> The same is true when I was testing the /boot partition (which is a >> separate partition). So it looks like the -m switch is broken. >> >> >> Can anyone verify this? Is it a known bug, is it fixed? >> >> I am running "check_disk (nagios-plugins 1.4.3) 1.64" (taken from the >> top line of check_disk --help) >> >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45d347e218511427819843! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.gale at pason.com Wed Feb 14 19:06:25 2007 From: michael.gale at pason.com (Michael Gale) Date: Wed, 14 Feb 2007 11:06:25 -0700 Subject: R: packet loss -25% with check_ping In-Reply-To: <003701c75010$a243f550$0900d40a@intranet.it.net> References: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net><2b36e660702130909u2eebd05cv6889bccdcba5947c@mail.gmail.com> <003701c75010$a243f550$0900d40a@intranet.it.net> Message-ID: <45D34FA1.4030107@pason.com> Hey, Do you have fping install ? I remember some requirement about having fping, if you are missing it maybe that is your problem. Michael Marco Borsani wrote: > I have this problem: > 1) only with that client (I am monitoring about 300 servers) > 2) sometime , not always > > Marco > > -----Messaggio originale----- > Da: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Morris, > Patrick > Inviato: marted? 13 febbraio 2007 18.52 > A: Ben O'Hara > Cc: nagios-users at lists.sourceforge.net > Oggetto: Re: [Nagios-users] packet loss -25% with check_ping > > Ah -- good point. > > This has come up on the list before. I believe some versions of the > check_ping plugin had a pug that would send an extra ping. I believe > it's been fixed in the latest plugin release. > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Ben O'Hara >> Sent: Tuesday, February 13, 2007 9:09 AM >> To: Morris, Patrick >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] packet loss -25% with check_ping >> >> On 2/13/07, Morris, Patrick wrote: >> >> > This is the situation: >> > - Nagios version 1.4 >> > - Nagios plug-in verision 1.3.1 >> > >> > Performing a check_ping on a Linux RedHat Enterprise 4.0, >> > sometime the answer is: >> > >> > PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms >> > >> > Normally that server (like the others) answer correctly. >> > >> > Have you got any idea? >> >> You have some packet loss on your network. >> >> >> >> Or is that packet generation ;-) notice its -25% loss >> >> Ben >> >> >> >> >> -------------------------------------------------------------- >> ----------- >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology >> to make your job easier. >> Download IBM WebSphere Application Server v.1.0.1 based >> on Apache Geronimo >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) >> and OS when reporting any issue. >> ::: Messages without supporting info will risk being >> sent to /dev/null >> >> >> >> >> >> -- >> "A Scientist will earn a living by taking a really difficult >> problem and spends many years solving it, an engineer earns a >> living by finding really difficult problems and side stepping them" >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Gale Red Hat Certified Engineer Network Administrator Pason Systems Corp. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed Feb 14 19:49:37 2007 From: ratty at they.org (frank) Date: Wed, 14 Feb 2007 10:49:37 -0800 (PST) Subject: Bug in check_disk when using mount points? In-Reply-To: <45D347A8.4070002@googlemail.com> References: <45D346EC.6090108@googlemail.com> <45D347A8.4070002@googlemail.com> Message-ID: (Please pardon my top-posting) The first problem is that the --help listing has a typo. Mount points are checked with '-M', megabytes are checked with '-m', but both are listed in lowercase when you use --help. The second problem appears to be in the reporting of command line errors. Try putting your mount point after your -w and/or -c flags. In older version of the plugin it would complain when you left out either the -w or -c. Now it just reports (signed) 2^32 (if my mental math is right) in the performance data: # ./check_disk -M -w 10% /home DISK WARNING - free space: /dev/hda3 5904 MB (8% inode=95%);| /dev/hda3=63902MB;66188;-2147483648;0;73543 So yes, there are some issues in the plugin that deserve fixing, but it does work properly when given instructions in the correct order. -f On Wed, 14 Feb 2007, Hari Sekhon wrote: > OK it's not just a bug with the -m switch but with the whole plugin. > Observe: > > > /usr/nagios/libexec/check_disk -l -w 2 -c 1 -u TB -vvv > DISK OK - free space: / 0 TB (77% inode=98%); /dev 0 TB (100% > inode=98%); /home/match/ramdisk 0 TB (17% inode=100%); /dev/shm 0 TB > (100% inode=100%); /boot 0 TB (93% inode=100%); > 0 of 0 TB (77% inode=98%) free on /dev/sda2 (type ext3 mounted on /) > warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (100% inode=98%) free on udev (type tmpfs mounted on /dev) > warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (17% inode=100%) free on tmpfs (type tmpfs mounted on > /home/match/ramdisk) warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (100% inode=100%) free on shm (type tmpfs mounted on /dev/shm) > warn:2 crit:1 warn%:-1% crit%:-1% > 0 of 0 TB (93% inode=100%) free on /dev/sda1 (type ext3 mounted on > /boot) warn:2 crit:1 warn%:-1% crit%:-1%| /=0TB;0;0;98;0 > /dev=0TB;0;0;97;0 /home/match/ramdisk=0TB;0;0;99;0 /dev/shm=0TB;0;0;99;0 > /boot=0TB;0;0;99;0 > > Hari Sekhon > > > > Hari Sekhon wrote: >> I'm using check disk and want to have it test the filesystem of a >> mount point rather than a partition. >> >> # df / >> Filesystem 1K-blocks Used Available Use% Mounted on >> /dev/sda2 153337060 28240084 117307864 20% / >> >> DF shows the filesystem is 20% used so I want this to force an error >> using the following test line so see that it actually works: >> >> check_disk -m / -w 90% >> >> the above check_disk should show Warning at this point as there is >> less than 90% free space left. Whether I do 10% or 90% it still >> returns successful even when it's not in the threshold range. >> >> # /usr/nagios/libexec/check_disk -m /home -w 100% >> DISK OK - free space: / 114558 MB (77% inode=98%);| >> /=35185MB;149743;149743;98;149743 >> # /usr/nagios/libexec/check_disk -m /home -w 10% >> DISK OK - free space: / 114558 MB (77% inode=98%);| >> /=35185MB;149743;149743;98;149743 >> # /usr/nagios/libexec/check_disk -m /home -w 90% >> DISK OK - free space: / 114558 MB (77% inode=98%);| >> /=35185MB;149743;149743;98;149743 >> >> >> The same is true when I was testing the /boot partition (which is a >> separate partition). So it looks like the -m switch is broken. >> >> >> Can anyone verify this? Is it a known bug, is it fixed? >> >> I am running "check_disk (nagios-plugins 1.4.3) 1.64" (taken from the >> top line of check_disk --help) >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Wed Feb 14 20:26:37 2007 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 14 Feb 2007 17:26:37 -0200 Subject: Reports using NDOutils? In-Reply-To: <735379850702140958l2c987361pb220beda48da1d9a@mail.gmail.com> References: <735379850702140958l2c987361pb220beda48da1d9a@mail.gmail.com> Message-ID: <1171481197.18810.19.camel@localhost> I'm personally glad to hear that! On Wed, 2007-02-14 at 09:58 -0800, Trask wrote: > Are there any projects, addons, or home-made scripts out there that > people are using that pulls data from the NDO output and creates > reports? I've done a good bit of searching and haven't found > anything, but it seems like such a logical thing to have that I figure > someone has done this already. I am waiting for same sort of thing as well. I am doing some researching around NDOUtils too, 'cause I'll need Nagios to watch over Service Level Agreement thresholds. Also, it would be nice to have some way of telling the availability report that if we have a cluster of servers (let's say, 12 machines), and that cluster's service is Highly Available with at least 10 servers up'n running, considering that SLB/CSM hardware don't reach MAXCONN and we have sorry servers to take over when any other fails, the service availability could be calculated considering that fact. Is it what check_cluster* does? I mean, is it possible to have service availability five nines, even when one or two servers get down, if we know that the service weren't unavailable? > I have a few related questions as well: > > 1) Do others have the same experience of not getting any reliable data > back from the standard nagios reports if you do time periods greater > than a week or so? Ours will churn and churn for a few minutes and > then just result in a blank page. Also happening exactly like that here. > 2) Is it crazy to think I can keep *all* the NDO data forever? (~500 > hosts / 6000+ srvcs) Well, considering that only state changes matters, it isn't that crazy. > 3) Is it me, or does using rrdtool to keep and graph nagios data seem > non-optimal given that (at least now) all that data can be had in a > standard relational database and kept around for as long as you like? You mean NagiosGrapher, n2rrd, or other graphing tools out there? Well, it is valuable for the sake of trending and estimating capacity, to have those graphs, but not all services should be graphed. IMHO, cacti has been doing a great job graphing things, so Nagios is exclusively running for alerts and notifications. Cheers, M. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Wed Feb 14 20:34:05 2007 From: trasko at gmail.com (Trask) Date: Wed, 14 Feb 2007 11:34:05 -0800 Subject: Reports using NDOutils? In-Reply-To: <1171481197.18810.19.camel@localhost> References: <735379850702140958l2c987361pb220beda48da1d9a@mail.gmail.com> <1171481197.18810.19.camel@localhost> Message-ID: <735379850702141134h3c277e10q8cf9360d3e78ef98@mail.gmail.com> > You mean NagiosGrapher, n2rrd, or other graphing tools out there? > > Well, it is valuable for the sake of trending and estimating capacity, > to have those graphs, but not all services should be graphed. IMHO, > cacti has been doing a great job graphing things, so Nagios is > exclusively running for alerts and notifications. I mean anything that uses rrdtool. Don't get me wrong, I love rrdtool and I use it for various things. And also, I don't mean to say that I don't want graphs / visualizations either. I want graphs, but to get rrd graphs you have to put the data into rrd files... which seems a little clumsy when you already have the data in another database. I must admit I don't know what sort of graphic / data-visualization package I could use otherwise, though. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Feb 14 20:34:06 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 14 Feb 2007 20:34:06 +0100 (CET) Subject: notification_interval in serviceescalation ignored In-Reply-To: <20070214143629.GB19306@zaphod.krikkit.nl> References: <20070214143629.GB19306@zaphod.krikkit.nl> Message-ID: On Wed, 14 Feb 2007, Rejo Zenger wrote: > The problem in short: the escalations are working like a charm, but the > notification interval of the escalation seems to be ignored. In more > detail, the configuration is as follows: > > | define serviceescalation { > | first_notification 1 > | last_notification 0 > | notification_interval 900 > | contact_groups cg-all-sane > | service_description $service > | host_name $host > | escalation_options r,w,u,c > | } That would 900 * the standard time unit. That satndard unit being 60 seconds in most installations gets you a notification every 900 minutes which is every 15 hours. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 subs.krikkit.nl Wed Feb 14 21:17:55 2007 From: nagios-users at subs.krikkit.nl (Rejo Zenger) Date: Wed, 14 Feb 2007 21:17:55 +0100 Subject: notification_interval in serviceescalation ignored In-Reply-To: References: <20070214143629.GB19306@zaphod.krikkit.nl> Message-ID: <20070214201755.GD26639@zaphod.krikkit.nl> ++ 14/02/07 20:34 +0100 - Hugo van der Kooij: >> The problem in short: the escalations are working like a charm, but the >> notification interval of the escalation seems to be ignored. In more >> detail, the configuration is as follows: >> >> | define serviceescalation { >> | first_notification 1 >> | last_notification 0 >> | notification_interval 900 >> | contact_groups cg-all-sane >> | service_description $service >> | host_name $host >> | escalation_options r,w,u,c >> | } > >That would 900 * the standard time unit. > >That satndard unit being 60 seconds in most installations gets you a >notification every 900 minutes which is every 15 hours. Which is why I quoted that particular setting in my original posting as well: "interval_length=1" In other words, this is 900 times 1 second which equals 15 minutes. The problem is the setting "notification_interval" seems to be ignored. I see too many notifications, not too little. :) -- Rejo Zenger https://rejo.zenger.nl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Wed Feb 14 21:52:16 2007 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 14 Feb 2007 20:52:16 +0000 Subject: Bug in check_disk when using mount points? In-Reply-To: References: <45D346EC.6090108@googlemail.com> <45D347A8.4070002@googlemail.com> Message-ID: On 14 Feb 2007, at 18:49, frank wrote: > (Please pardon my top-posting) > > The first problem is that the --help listing has a typo. Mount > points are > checked with '-M', megabytes are checked with '-m', but both are > listed > in lowercase when you use --help. Thanks. This is fixed in CVS now. > > The second problem appears to be in the reporting of command line > errors. > Try putting your mount point after your -w and/or -c flags. In older > version of the plugin it would complain when you left out either > the -w or > -c. Now it just reports (signed) 2^32 (if my mental math is right) > in the > performance data: > > # ./check_disk -M -w 10% /home > DISK WARNING - free space: /dev/hda3 5904 MB (8% inode=95%);| /dev/ > hda3=63902MB;66188;-2147483648;0;73543 > > So yes, there are some issues in the plugin that deserve fixing, > but it > does work properly when given instructions in the correct order. This has been fixed in the 1.4.6 release. Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.dekoning at ardec.com.au Thu Feb 15 06:30:19 2007 From: martin.dekoning at ardec.com.au (Martin de Koning) Date: Thu, 15 Feb 2007 16:00:19 +1030 Subject: Nagios 2.7/Solaris 10 - Excessive Host Notifications Message-ID: <45D3EFEB.6000502@ardec.com.au> Hi everyone, I'm wondering if someone can help me, I'm getting bombarded with host UP notifications and no warnings for down hosts or services. In my inbox I'm getting a constant stream of these warnings: Subject: Host UP alert for proddse! ***** Nagios ***** Notification Type: PROBLEM Host: proddse State: UP Address: 10.0.2.1 Info: PING OK - Packet loss = 0%, RTA = 0.31 ms Date/Time: Thu Feb 15 15:34:26 CST 2007 Subject: Host UP alert for stagingdse! ***** Nagios ***** Notification Type: PROBLEM Host: stagingdse State: UP Address: 127.0.0.1 Info: PING OK - Packet loss = 0%, RTA = 0.08 ms Date/Time: Thu Feb 15 15:36:41 CST 2007 Now you can see it reports it as a PROBLEM, yet the output from check_ping is OK. It also states in the subject that the host is up. What's going on?? If I look at the Notifications page in the Nagios website interface, I see all my normal notifications for down services etc. I just don't see them come into my Inbox and instead I get these strange warnings. Here is some important parts from my configuration: #################################### # COMMANDS #################################### define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $H OSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $H OSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mailx -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 99,99% -c 100,100% -p 1 } define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } #################################### # HOSTS #################################### define host{ use generic-host ; Name of host template to use host_name stagingdse alias localhost - Staging Server address 127.0.0.1 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options d,r contact_groups Ardec } define host{ use generic-host host_name proddse alias proddse-mon - Production Server address 10.0.2.1 check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options d,r contact_groups Ardec } #################################### # SERVICES #################################### define service{ use generic-service ; Name of service template to use host_name stagingdse service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups Ardec notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } define service{ use generic-service ; Name of service template to use host_name proddse service_description PING is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups Ardec notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } Everything is working perfectly (even graphing) except for notifications, any help would be greatly apreciated. Thanks Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CKoop at vrg.de Thu Feb 15 08:30:45 2007 From: CKoop at vrg.de (Carsten Koop) Date: Thu, 15 Feb 2007 08:30:45 +0100 Subject: Checking Windows counter via nagios, nsclient++, and nrpe In-Reply-To: <525450AD493E1E44B6B00A4A752D7DE50317A868@courier.vc3.com> References: <525450AD493E1E44B6B00A4A752D7DE50317A868@courier.vc3.com> Message-ID: Hi all, If you're using NSClient++, you can check all the WMI-Counters with the following command: ./check_nt -H 127.0.0.1 -p 1234 -v COUNTER -l '\\Terminaldienste\\Sitzungen Insgesamt' (You have to search the correct Counter with the Windows Performance Monitor) Mit freundlichen Gr??en / best regards Carsten Koop "James Whittington" Gesendet von: nagios-users-bounces at lists.sourceforge.net 14.02.2007 17:00 An "Robert Wolfe" , Kopie Thema Re: [Nagios-users] Checking Windows counter via nagios, nsclient++, and nrpe checkCounter can check any performance counter object in windows as far as I know. I found out if you are using nsclient++ the command ?nsclient++ CheckSystem listpdh? would dump all the counters it found. I looked for the process I was wanting to watch to find the right syntax for the process and instance. James Whittington Systems Engineer VC3, Inc. 803-978-2723 direct 800-787-1160 main From: Robert Wolfe [mailto:rwolfe at shatterit.com] Sent: Wednesday, February 14, 2007 10:34 AM To: James Whittington; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Checking Windows counter via nagios, nsclient++,and nrpe Can this also be used to monitor memory use by a process/program as well? From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Whittington Sent: Wednesday, February 14, 2007 10:30 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking Windows counter via nagios, nsclient++,and nrpe Hello all, I have a Nagios 2 system used in monitoring several application environments and I?m looking for the best way to monitor a Windows 2003 process. I already have nsclient++ in place, and I?m using the checkCounter command in nrpe. The main issue at this point is the counter in question returns a value in scientific notation, which isn?t very readable for non-scientists. Here?s the command and response: ./check_nrpe -H 192.168.197.183 -p 5666 -c checkCounter -a "Counter:PrivBytes=\\Process(ProductATasksService)\\Private Bytes" ShowAll OK: PrivBytes: 2.38641e+08 Is there an option to convert the format to human readable? If not I might have to write something to convert it which might be a bad idea anyway, since I don?t see performance data coming from the plugin either and I write the performance data to a sql backend. I figured I would toss the question out to the list to see if others had run into this before. Thanks, James Whittington ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at wansecurity.com Thu Feb 15 10:49:13 2007 From: lists at wansecurity.com (Robert Smith) Date: Thu, 15 Feb 2007 18:49:13 +0900 Subject: Checking Windows counter via nagios, nsclient++, and nrpe In-Reply-To: References: Message-ID: <45D42C99.9090409@wansecurity.com> Does anyone have the source code for checkcounter.exe or know where it came from? -Robert Carsten Koop wrote: > > Hi all, > > If you're using NSClient++, you can check all the WMI-Counters with > the following command: > /./check_nt -H 127.0.0.1 -p 1234 -v COUNTER -l > '\\Terminaldienste\\Sitzungen Insgesamt'/ > > /(You have to search the correct Counter with the Windows Performance > Monitor)/ > > Mit freundlichen Gr??en / best regards > > Carsten Koop > > > > *"James Whittington" * > Gesendet von: nagios-users-bounces at lists.sourceforge.net > > 14.02.2007 17:00 > > > An > "Robert Wolfe" , > > Kopie > > Thema > Re: [Nagios-users] Checking Windows counter via nagios, nsclient++, > and nrpe > > > > > > > > > > checkCounter can check any performance counter object in windows as > far as I know. > > I found out if you are using nsclient++ the command ?nsclient++ > CheckSystem listpdh? would dump all the counters it found. > I looked for the process I was wanting to watch to find the right > syntax for the process and instance. > > James Whittington > Systems Engineer > VC3, Inc. > > 803-978-2723 direct > 800-787-1160 main > > *From:* Robert Wolfe [mailto:rwolfe at shatterit.com] * > Sent:* Wednesday, February 14, 2007 10:34 AM* > To:* James Whittington; Nagios-users at lists.sourceforge.net* > Subject:* RE: [Nagios-users] Checking Windows counter via nagios, > nsclient++,and nrpe > > Can this also be used to monitor memory use by a process/program as well? > > > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *James Whittington* > Sent:* Wednesday, February 14, 2007 10:30 AM* > To:* Nagios-users at lists.sourceforge.net* > Subject:* [Nagios-users] Checking Windows counter via nagios, > nsclient++,and nrpe > > Hello all, > > I have a Nagios 2 system used in monitoring several application > environments and I?m looking for the best way to monitor a Windows > 2003 process. > I already have nsclient++ in place, and I?m using the checkCounter > command in nrpe. > The main issue at this point is the counter in question returns a > value in scientific notation, which isn?t very readable for > non-scientists. > > Here?s the command and response: > ./check_nrpe -H 192.168.197.183 -p 5666 -c checkCounter -a > "Counter:PrivBytes=\\Process(ProductATasksService)\\Private Bytes" > ShowAll > OK: PrivBytes: 2.38641e+08 > > Is there an option to convert the format to human readable? > If not I might have to write something to convert it which might be a > bad idea anyway, since I don?t see performance data coming from the > plugin either and I write the performance data to a sql backend. > > I figured I would toss the question out to the list to see if others > had run into this before. > Thanks, > > James Whittington > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Thu Feb 15 11:17:47 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Thu, 15 Feb 2007 10:17:47 -0000 Subject: FW: Reports using NDOutils? Message-ID: -----Original Message----- From: nagios-users On Behalf Of Marcel Mitsuto Fucatu Sugano Sent: 14 February 2007 19:27 > On Wed, 2007-02-14 at 09:58 -0800, Trask wrote: >> Are there any projects, addons, or home-made scripts out there that >> people are using that pulls data from the NDO output and creates >> reports? I've done a good bit of searching and haven't found >> anything, but it seems like such a logical thing to have that I figure >> someone has done this already. > > I am waiting for same sort of thing as well. I am doing some researching > around NDOUtils too, 'cause I'll need Nagios to watch over Service Level > Agreement thresholds. I have a PHP script which gets information from the NDOUtils MySQL tables to display machine status on a web page (we have a home-grown script which provides a single page display of our farm of 800+ servers). I also plan to write scripts that will get plain-text output from the MySQL tables for use when administrators do not have access to the Nagios web pages (snip) >> 2) Is it crazy to think I can keep *all* the NDO data forever? (~500 >> hosts / 6000+ srvcs) > > Well, considering that only state changes matters, it isn't that crazy. The only place where I have had to do anything is with the logentries table which (in our case) has written more records than is allowed by MySQL and sometimes generates MySQL errors. Deleting old entries solves the problem (I have a script that deletes entries more than 6 weeks old). (snip) Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean at zdata.co.za Thu Feb 15 11:34:08 2007 From: sean at zdata.co.za (Sean Thomas) Date: Thu, 15 Feb 2007 12:34:08 +0200 Subject: Plugin time out Message-ID: <001a01c750ec$d2e00870$5101a8c0@db.mr.co.za> Hi guys Im fairly new to Nagios and in need of some assistence with the following: How would I go about extending the plugin time for this to 5 min. There is a lot of traffic on our clients lines which makes the 10 second interval to short for them to respond. Following is the mail output from Nagios ***** Nagios ***** Notification Type: PROBLEM Host: xxx.xxx.co.za State: DOWN Address: x.x.x.x Info: CRITICAL - Plugin timed out after 10 seconds Any help will be much appreciated -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Feb 15 11:40:56 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 15 Feb 2007 10:40:56 +0000 Subject: Plugin time out In-Reply-To: <001a01c750ec$d2e00870$5101a8c0@db.mr.co.za> References: <001a01c750ec$d2e00870$5101a8c0@db.mr.co.za> Message-ID: <45D438B8.8080407@mailnetwork.co.uk> Hi Sean, If it's a standard plugin (from nagios-plugins), you can normally use the "-t" option in your check command definition to set the timeout to 300 seconds (i.e. 5 minutes.) E.g. "/usr/local/nagios/libexec/check_ping -H [IP address] -w 1000,20% -c 2000,50% -t 300" Andy. Sean Thomas wrote: > Hi guys > > Im fairly new to Nagios and in need of some assistence with the following: > > How would I go about extending the plugin time for this to 5 min. > There is a lot of traffic on our clients lines which makes the 10 > second interval to short for them to respond. > > Following is the mail output from Nagios > > > ***** Nagios ***** > > Notification Type: PROBLEM > Host: xxx.xxx.co.za > State: DOWN > Address: x.x.x.x > Info: CRITICAL - Plugin timed out after 10 seconds > > Any help will be much appreciated > > > !DSPAM:37,45d4376718511044721252! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45d4376718511044721252! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45d4376718511044721252! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Thu Feb 15 12:11:15 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Thu, 15 Feb 2007 11:11:15 -0000 Subject: FW: Plugin time out Message-ID: -----Original Message----- From: nagios-users On Behalf Of Sean Thomas Sent: 15 February 2007 10:34 > I'm fairly new to Nagios and in need of some assistance with the following: > How would I go about extending the plugin time for this to 5 min. > There is a lot of traffic on our clients lines which makes the 10 second interval to short > for them to respond. > Following is the mail output from Nagios > ***** Nagios ***** > > Notification Type: PROBLEM > Host: xxx.xxx.co.za > State: DOWN > Address: x.x.x.x > Info: CRITICAL - Plugin timed out after 10 seconds > > Any help will be much appreciated If you are using check_nrpe to run the plugin, the check_nrpe program has option -t to specify a different timeout time. Try using /usr/lib/nagios/plugins/call_nrpe -h for help output Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean at zdata.co.za Thu Feb 15 13:10:06 2007 From: sean at zdata.co.za (Sean Thomas) Date: Thu, 15 Feb 2007 14:10:06 +0200 Subject: Nagios and DHCP Message-ID: <001201c750fa$3adac390$5101a8c0@db.mr.co.za> Hi guys Here is an example of my define host entries: define host{ use generic-host host_name random.random.org alias Random Server address xxx.xxx.xxx.xxx parents random check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } How do configure the address line to work with a client who is given an address via DHCP? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rwolfe at shatterit.com Thu Feb 15 13:26:12 2007 From: rwolfe at shatterit.com (Robert Wolfe) Date: Thu, 15 Feb 2007 07:26:12 -0500 Subject: Nagios and DHCP In-Reply-To: <001201c750fa$3adac390$5101a8c0@db.mr.co.za> References: <001201c750fa$3adac390$5101a8c0@db.mr.co.za> Message-ID: <1171542372.4489.12.camel@laptop-vmware> On Thu, 2007-02-15 at 14:10 +0200, Sean Thomas wrote: > Hi guys > > Here is an example of my define host entries: > > > define host{ > use generic-host > host_name random.random.org > alias Random Server > address xxx.xxx.xxx.xxx > parents random > check_command check-host-alive > max_check_attempts 20 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > How do configure the address line to work with a client who is given > an address via DHCP? I believe the host would have to have a static IP to get this to work. Otherwise, you would have to change these entries each time the IP address changed. I have a router at home and run NAGIOS, but have it set to where anything at 192.168.1.100 is a dynamic IP and everything below it is static. My two boxes that I monitor have static IP addresses so that Nagios (amongst other things) can work properly. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Feb 15 14:02:28 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 15 Feb 2007 14:02:28 +0100 Subject: Nagios and DHCP In-Reply-To: <001201c750fa$3adac390$5101a8c0@db.mr.co.za> References: <001201c750fa$3adac390$5101a8c0@db.mr.co.za> Message-ID: <45D459E4.9030409@telcotec.se> Sean Thomas wrote: > Hi guys > > Here is an example of my define host entries: > > define host{ > use generic-host > host_name random.random.org > alias Random Server > address xxx.xxx.xxx.xxx > parents random > check_command check-host-alive > max_check_attempts 20 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r > } > > How do configure the address line to work with a client who is given an address via DHCP? We use DNS together with DHCP for our clients (and actually some of the servers as well). The idea is that the DHCP client reports its hostname for update of our own DNS server. In the service address field we use the host name, not the IP address. In DHCP/DNS lingo this is called Dynamic DNS Update (DDNS). Hope this helps /Lars ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.conway at uksolutions.co.uk Thu Feb 15 14:53:00 2007 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Thu, 15 Feb 2007 13:53:00 +0000 Subject: AIX installation In-Reply-To: <74e92fc70702071302y4883ec7bmf3605881d440916e@mail.gmail.com> References: <74e92fc70702071302y4883ec7bmf3605881d440916e@mail.gmail.com> Message-ID: <45D465BC.6090700@uksolutions.co.uk> Hi Akash, I have compiled and installed Linux on AIX 5.1L in the past. Though from memory I believe we had to retrieve all the header files to do it. Thanks, Gavin Akash Jhamb wrote: > Hi > > I want to install nagios on AIX version. I understand that it was designed > for Linux but is compatible with UNIX variants as well. I want to know > specifically if it will work with AIX version 5.2.0.0 > > Many thanks > Akash > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk - Please, consider the environment before printing this email - ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 15 15:27:43 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Feb 2007 08:27:43 -0600 Subject: check_smtp socket timeout problem Message-ID: Please always respond on list so that others benefit from your experience and to maximize your chances of finding a solution. > -----Original Message----- > From: Lane, Jim [mailto:Jim.Lane at cibc.com] > Sent: Wednesday, February 14, 2007 9:39 AM > To: Marc Powell > Subject: RE: [Nagios-users] check_smtp socket timeout problem > > Marc: thanks for this. I've tried it as the nagios user and I get the > same result. Also I can telnet to port 25 and quit as quickly as I can > type. It can't be anything like greet_pause because I don't know enough > about sendmail to have enabled anything like that. Are you using the latest version of the plugins? There was a bug a long time ago that prevented the plugin from successfully quitting in some circumstances. If you're familiar with the usage of strace or truss, the output around where the plugin sends the QUIT command might be informative. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Lane at CIBC.com Thu Feb 15 15:34:01 2007 From: Jim.Lane at CIBC.com (Lane, Jim) Date: Thu, 15 Feb 2007 09:34:01 -0500 Subject: check_smtp socket timeout problem In-Reply-To: References: Message-ID: <42C65DFAF1777047B7669BF53A8BE48D05421A7C@CBSCC-X3-MBVS02.ad.cibc.com> It now seems the problem must have been with sendmail on the monitored system. I was modifying debug options and restarting the sendmail daemon in hopes of getting useful info. After a couple of restarts all of a sudden the plug-in started to work properly. Beats me! -Jim -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: February 15, 2007 9:28 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_smtp socket timeout problem Please always respond on list so that others benefit from your experience and to maximize your chances of finding a solution. > -----Original Message----- > From: Lane, Jim [mailto:Jim.Lane at cibc.com] > Sent: Wednesday, February 14, 2007 9:39 AM > To: Marc Powell > Subject: RE: [Nagios-users] check_smtp socket timeout problem > > Marc: thanks for this. I've tried it as the nagios user and I get the > same result. Also I can telnet to port 25 and quit as quickly as I can > type. It can't be anything like greet_pause because I don't know enough > about sendmail to have enabled anything like that. Are you using the latest version of the plugins? There was a bug a long time ago that prevented the plugin from successfully quitting in some circumstances. If you're familiar with the usage of strace or truss, the output around where the plugin sends the QUIT command might be informative. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 15 15:42:53 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 15 Feb 2007 15:42:53 +0100 Subject: R: R: packet loss -25% with check_ping In-Reply-To: <45D34FA1.4030107@pason.com> References: <006f01c74f5c$d96b4560$0900d40a@intranet.it.net><2b36e660702130909u2eebd05cv6889bccdcba5947c@mail.gmail.com> <003701c75010$a243f550$0900d40a@intranet.it.net> <45D34FA1.4030107@pason.com> Message-ID: <010f01c7510f$934f8550$0900d40a@intranet.it.net> I have not fping installed on my HP-UX server, I use standard ping. Others ideas? Marco -----Messaggio originale----- Da: Michael Gale [mailto:michael.gale at pason.com] Inviato: mercoled? 14 febbraio 2007 19.06 A: Marco Borsani Cc: 'Morris, Patrick'; 'Ben O'Hara'; nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] R: packet loss -25% with check_ping Hey, Do you have fping install ? I remember some requirement about having fping, if you are missing it maybe that is your problem. Michael Marco Borsani wrote: > I have this problem: > 1) only with that client (I am monitoring about 300 servers) > 2) sometime , not always > > Marco > > -----Messaggio originale----- > Da: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di Morris, > Patrick > Inviato: marted? 13 febbraio 2007 18.52 > A: Ben O'Hara > Cc: nagios-users at lists.sourceforge.net > Oggetto: Re: [Nagios-users] packet loss -25% with check_ping > > Ah -- good point. > > This has come up on the list before. I believe some versions of the > check_ping plugin had a pug that would send an extra ping. I believe > it's been fixed in the latest plugin release. > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Ben O'Hara >> Sent: Tuesday, February 13, 2007 9:09 AM >> To: Morris, Patrick >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] packet loss -25% with check_ping >> >> On 2/13/07, Morris, Patrick wrote: >> >> > This is the situation: >> > - Nagios version 1.4 >> > - Nagios plug-in verision 1.3.1 >> > >> > Performing a check_ping on a Linux RedHat Enterprise 4.0, >> > sometime the answer is: >> > >> > PING UNKNOWN - Packet loss = -25%, RTA = 14.00 ms >> > >> > Normally that server (like the others) answer correctly. >> > >> > Have you got any idea? >> >> You have some packet loss on your network. >> >> >> >> Or is that packet generation ;-) notice its -25% loss >> >> Ben >> >> >> >> >> -------------------------------------------------------------- >> ----------- >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology >> to make your job easier. >> Download IBM WebSphere Application Server v.1.0.1 based >> on Apache Geronimo >> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) >> and OS when reporting any issue. >> ::: Messages without supporting info will risk being >> sent to /dev/null >> >> >> >> >> >> -- >> "A Scientist will earn a living by taking a really difficult >> problem and spends many years solving it, an engineer earns a >> living by finding really difficult problems and side stepping them" >> > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Gale Red Hat Certified Engineer Network Administrator Pason Systems Corp. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu Feb 15 15:57:39 2007 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Thu, 15 Feb 2007 12:57:39 -0200 Subject: FW: Reports using NDOutils? In-Reply-To: References: Message-ID: <1171551459.3248.13.camel@localhost> On Thu, 2007-02-15 at 10:17 +0000, Wheeler, JF (Jonathan) wrote: > -----Original Message----- > From: nagios-users On Behalf Of Marcel Mitsuto Fucatu Sugano > Sent: 14 February 2007 19:27 > > > On Wed, 2007-02-14 at 09:58 -0800, Trask wrote: > >> Are there any projects, addons, or home-made scripts out there that > >> people are using that pulls data from the NDO output and creates > >> reports? I've done a good bit of searching and haven't found > >> anything, but it seems like such a logical thing to have that I > figure > >> someone has done this already. > > > > I am waiting for same sort of thing as well. I am doing some > researching > > around NDOUtils too, 'cause I'll need Nagios to watch over Service > Level > > Agreement thresholds. > > I have a PHP script which gets information from the NDOUtils MySQL > tables to display machine status on a web page (we have a home-grown > script which provides a single page display of our farm of 800+ > servers). > > I also plan to write scripts that will get plain-text output from the > MySQL tables for use when administrators do not have access to the > Nagios web pages > > (snip) > > >> 2) Is it crazy to think I can keep *all* the NDO data forever? (~500 > >> hosts / 6000+ srvcs) > > > > Well, considering that only state changes matters, it isn't that > crazy. > > The only place where I have had to do anything is with the logentries > table which (in our case) has written more records than is allowed by > MySQL and sometimes generates MySQL errors. Deleting old entries solves > the problem (I have a script that deletes entries more than 6 weeks > old). > > (snip) Deleting old entries didn't wacks historical state change data? AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 15 16:38:31 2007 From: m.borsani at it.net (Marco Borsani) Date: Thu, 15 Feb 2007 16:38:31 +0100 Subject: NSClient - ERROR:Malformed request or internal error. Message-ID: <012501c75117$58b47e70$0900d40a@intranet.it.net> Hi all I am monitoring about 300 servers and 800 services with nagios 1.4.1 and NsClient 2.0.1 Check_nt of CPULOAD, in ONLY one client (windows 2000) give me following answer: NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&5 Have you got any idea? Marco Borsani Technical Operation tel.: +390104310115 e-fax: +390683175950 * m.borsani at it.net ITnet S.r.l. Direzione e Coordinamento di Wind Telecomunicazioni S.p.A. Via Pacinotti, 39 16151 - Genova In ottemperanza al D. lgs 196/03 in materia di protezione dei dati personali, le informazioni contenute in questo messaggio sono strettamente riservate e sono esclusivamente indirizzate al destinatario indicato (oppure alla persona responsabile di rimetterlo al destinatario). Qualsiasi uso, riproduzione o divulgazione di questo messaggio ? vietata. Nel caso in cui aveste ricevuto questa mail per errore, Vi invitiamo ad avvertire il mittente al pi? presto a mezzo posta elettronica e distruggere il messaggio erroneamente ricevuto. According to Italy?s new data protection code (Legislative Decree no. 196/2003) in force on January 1st 2004, Italian Law 196/03 concerning privacy, the information contained in this e-mail is confidential and is intended for the addressee only. If you are not the correct recipient, please note that any use, dissemination or copy of this document/information is strictly prohibited.If you have received this message in error, you should destroy it and please notify us immediately by e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Feb 15 17:05:53 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 15 Feb 2007 17:05:53 +0100 Subject: Request new functionality: "Off Hours" state. In-Reply-To: <20070209154018.GA23510@lucien.blight.com> References: <20070209154018.GA23510@lucien.blight.com> Message-ID: <45D484E1.8070603@op5.se> Larry P. Schrof wrote: > Hello, > > I work for a trading firm, and upper management has begun to have a > solid appreciation for Nagios and what it can do. However, we have a few > requirements in a monitoring solution that I would love to see > added to Nagios, as I think they would be useful to the community at large. > I'll put forth one idea per email. > > Request for new functionality: > ------------------------------ > > Right now, for the sake of discussion, let's assume a service is > checked from 8:00am to 4:00pm every five minutes. Assume, at 3:57pm > that a service is in the critical state. > > The problem our company has is this: The Nagios CGI's will continue to > report the service in a critical state from 3:57pm THROUGH the "off > hours" until the next morning. This "pollutes" the displays with a red > critical entry that we don't want to see. Manually submitting (or > scripting) a passive check just after 4pm to set the service back to > an 'Ok' is unacceptable, as our folks want to know, at a quick glance, > what "should be currently monitored" and "what shouldn't be." > > What we need / would like is a per-service and per-host configuration > option that allows a host or service to enter an "Off hours" state in > the CGI displays. (Or perhaps there should also be a global option for this?) > > It would be nice if performance data would not be gathered during this > state. (Perhaps that's the way it works now - haven't checked.) > > I am even envisioning a new color for the service / host entries in > the CGI's - perhaps blue. This color would readily allow folks to identify > entries that are in "off hours", as opposed to processes that are > being monitored and in an 'ok' state. > > I do realize that many folks do want to know / see the last state of > their services before the time_period expired, but in our case, it is > important that we explicitly have the last known state wiped from the > CGI's once the time_period has expired. Our service response team > doesn't want to have 40+ red, yellow, or orange entries showing up for > hosts that aren't even currently in their active time_period. > Why not just disable notifications for the host/service during that period and use the time period for when notifications are enabled when you grab your SLA's? Or script disabling/enabling of the checks in question and use the filter- functions to only see things which are being monitored? Or creating a host or service-group with just the interesting checks to watch for the emergency team. Seeing as it's all about filtering, you'd be better off letting the computer do it for you than making it easy for your staff to do it manually. > Maybe it would just take a host / service config entry such as > 'display_off_hours_state' ? > > Can folks who are intimately familiar with the source code let me know > how feasible this potentially is? > Until someone with competence and incentive to code it up steps forward, the feasibility is zero. Someone might hack it up as a cute feature but since this is the first time a wish like this has been aired on the list I wouldn't hold my hopes high. It *does* sound like a nice feature though, so I'm sure any well-written patch would be at least considered for inclusion. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Thu Feb 15 17:28:42 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Thu, 15 Feb 2007 11:28:42 -0500 Subject: Passive checks Message-ID: <45D443E9.24B4.00A7.0@naps.edu> Hi All... I seem to have a problem with passive checks. When I look at the Services Detail window in Nagios, all my passive checks are pending, with a status of Service is not scheduled to be checked. I manually submit a trap using the submit_check_result, the event shows in the log, but the status doesn't change. Here is what I submit : /usr/local/nagios/libexec/eventhandlers/submit_check_result (servername) Short term alloc failed 1 $3 requests for short term memory could not be granted on server $1 Below is an example of my service: define service{ host_name (server name) service_description Short term alloc failed is_volatile 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 passive_checks_enabled 1 check_command check-host-alive check_period none notification_interval 31536000 notification_period 24x7 notification_options w,u,c,r contact_groups it-dept } Any help would be greatly appreciated. Thanks, Kevin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Feb 15 17:40:11 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 15 Feb 2007 16:40:11 +0000 Subject: Passive checks In-Reply-To: <45D443E9.24B4.00A7.0@naps.edu> References: <45D443E9.24B4.00A7.0@naps.edu> Message-ID: <45D48CEB.2070209@mailnetwork.co.uk> Assuming this is Nagios 2.x, you don't have "active_checks_enabled 1" in your service definition (active checks are not enabled.) Andy. Kevin DaSilva wrote: > Hi All... > > I seem to have a problem with passive checks. When I look at the > Services Detail window in Nagios, all my passive checks are pending, > with a status of Service is not scheduled to be checked. I manually > submit a trap using the submit_check_result, the event shows in the log, > but the status doesn't change. > > Here is what I submit : > /usr/local/nagios/libexec/eventhandlers/submit_check_result > (servername) Short term alloc failed 1 $3 requests for short term memory > could not be granted on server $1 > > > > Below is an example of my service: > > define service{ > host_name (server name) > service_description Short term alloc failed > is_volatile 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > passive_checks_enabled 1 > check_command check-host-alive > check_period none > notification_interval 31536000 > notification_period 24x7 > notification_options w,u,c,r > contact_groups it-dept > } > > > Any help would be greatly appreciated. > > Thanks, > Kevin > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45d48a7618513788438255! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Thu Feb 15 17:58:22 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Thu, 15 Feb 2007 11:58:22 -0500 Subject: Fwd: Re: Passive checks References: <45D443E9.24B4.00A7.0@naps.edu> <45D48CEB.2070209@mailnetwork.co.uk> <45D44ACD.24B4.00A7.0@naps.edu> Message-ID: <45D44ADD.24B4.00A7.0@naps.edu> >>> Kevin DaSilva 2/15/2007 11:58 AM >>> Correct I do have Nagios 2.7. I set active_checks to 1 and still nothing. The only way I can get it to check is if I set the check_period to 24x7, and even then I get an "OK" status. I am assuming that it's just performs the check-host-alive command, in which the host is active. >>> "Andy Shellam (Mailing Lists)" 2/15/2007 11:40 AM >>> Assuming this is Nagios 2.x, you don't have "active_checks_enabled 1" in your service definition (active checks are not enabled.) Andy. Kevin DaSilva wrote: > Hi All... > > I seem to have a problem with passive checks. When I look at the > Services Detail window in Nagios, all my passive checks are pending, > with a status of Service is not scheduled to be checked. I manually > submit a trap using the submit_check_result, the event shows in the log, > but the status doesn't change. > > Here is what I submit : > /usr/local/nagios/libexec/eventhandlers/submit_check_result > (servername) Short term alloc failed 1 $3 requests for short term memory > could not be granted on server $1 > > > > Below is an example of my service: > > define service{ > host_name (server name) > service_description Short term alloc failed > is_volatile 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > passive_checks_enabled 1 > check_command check-host-alive > check_period none > notification_interval 31536000 > notification_period 24x7 > notification_options w,u,c,r > contact_groups it-dept > } > > > Any help would be greatly appreciated. > > Thanks, > Kevin > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45d48a7618513788438255! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdstafford at gmail.com Thu Feb 15 18:07:23 2007 From: rdstafford at gmail.com (Robert Stafford) Date: Thu, 15 Feb 2007 09:07:23 -0800 Subject: Scheduling queue falling behind. Message-ID: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> I'm not sure this is the right place to ask this, but I've been trying to figure out why the scheduling queue on my nagios server is always 20-30 minutes behind the current time. What I mean by that is the next check item is 20-30 minutes past the current time. I have 49 servers and 3 checks per server (ping, a process check, and syslog-ng(passive). I've tried tweaking all the settings for scheduling checks and only seem to make it worse. I'm currently running version 2.5. I didn't think that it would run into problems with this few since I've seen 300+ servers with 1000+ service checks. Am I just missing something? Thanks, -- --------------------------------------------------------- Robert Stafford Systems Engineer rdstafford at gmail.com ---------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From douglas.woodgate at bpc.com Thu Feb 15 18:13:11 2007 From: douglas.woodgate at bpc.com (Doug Woodgate) Date: Thu, 15 Feb 2007 11:13:11 -0600 Subject: Quick Question Message-ID: <1171559591.5134.27.camel@w-it-woodgdo1> I have been working with nagios for a few years now, but I have never really understood how Nagios decides to retry host checks. I understand that service checks have a check and retry interval and you can hard code a check interval for host checks(if you want to kill your performance...), but when nagios detects that a host has entered a problem state, how often does it retry the host check between each check attempt. Currently I am running Nagios 2.5 on CentOS 4.4 For my real-world issue, I have some nortel VPN's that seem somewhat slow to re-negotiate their connections. I currently have all hosts using a template that has 5 max check attempts. It seems that the only way to delay a Hard-Down notification for these VPN's would be to increase the max-check attempts for these hosts. The only problem is that I have no way of correlating the retry check interval with max check attempts to determine my "acceptable" detected downtime for these hosts before issuing notifications. The other option would be to remove the host-check command for these VPN's and just alert on a service for check_icmp that is configured the way I want it. -Doug -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Thu Feb 15 18:24:46 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Thu, 15 Feb 2007 12:24:46 -0500 Subject: Passive checks.... Got It In-Reply-To: <45D48CEB.2070209@mailnetwork.co.uk> References: <45D443E9.24B4.00A7.0@naps.edu> <45D48CEB.2070209@mailnetwork.co.uk> Message-ID: <45D4510D.24B4.00A7.0@naps.edu> When executing the submit_check_result, quotes need to be around the trap name and plugin output. Like so... /usr/local/nagios/libexec/eventhandlers/submit_check_result (servername) "Short term alloc failed" 1 "$3 requests for short term memory could not be granted on server $1" Nagios then recognized the command and changed the status and sent a notification. Kevin >>> "Andy Shellam (Mailing Lists)" 2/15/2007 11:40 AM >>> Assuming this is Nagios 2.x, you don't have "active_checks_enabled 1" in your service definition (active checks are not enabled.) Andy. Kevin DaSilva wrote: > Hi All... > > I seem to have a problem with passive checks. When I look at the > Services Detail window in Nagios, all my passive checks are pending, > with a status of Service is not scheduled to be checked. I manually > submit a trap using the submit_check_result, the event shows in the log, > but the status doesn't change. > > Here is what I submit : > /usr/local/nagios/libexec/eventhandlers/submit_check_result > (servername) Short term alloc failed 1 $3 requests for short term memory > could not be granted on server $1 > > > > Below is an example of my service: > > define service{ > host_name (server name) > service_description Short term alloc failed > is_volatile 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > passive_checks_enabled 1 > check_command check-host-alive > check_period none > notification_interval 31536000 > notification_period 24x7 > notification_options w,u,c,r > contact_groups it-dept > } > > > Any help would be greatly appreciated. > > Thanks, > Kevin > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45d48a7618513788438255! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 15 18:44:16 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Feb 2007 11:44:16 -0600 Subject: Quick Question Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Doug Woodgate > Sent: Thursday, February 15, 2007 11:13 AM > To: Nagios Users > Subject: [Nagios-users] Quick Question > > I have been working with nagios for a few years now, but I have never > really understood how Nagios decides to retry host checks. I understand > that service checks have a check and retry interval and you can hard code > a check interval for host checks(if you want to kill your performance...), > but when nagios detects that a host has entered a problem state, how often > does it retry the host check between each check attempt. Immediately after the previous attempt, up to max_check_attempts. There is no significant delay between checks. > Currently I am running Nagios 2.5 on CentOS 4.4 > > For my real-world issue, I have some nortel VPN's that seem somewhat slow > to re-negotiate their connections. I currently have all hosts using a > template that has 5 max check attempts. It seems that the only way to > delay a Hard-Down notification for these VPN's would be to increase the > max-check attempts for these hosts. The only problem is that I have no way > of correlating the retry check interval with max check attempts to > determine my "acceptable" detected downtime for these hosts before issuing > notifications. Escalations might be useful here. If the host has been down for some amount of time an escalated notification could be sent out. You probably don't want to just increase max_check_attempts as that's only preventing nagios from doing other things for a longer time. > The other option would be to remove the host-check command for these VPN's > and just alert on a service for check_icmp that is configured the way I > want it. That's what we do. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Thu Feb 15 19:25:48 2007 From: trasko at gmail.com (Trask) Date: Thu, 15 Feb 2007 10:25:48 -0800 Subject: Scheduling queue falling behind. In-Reply-To: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> Message-ID: <735379850702151025k5b1504f8t78f364cec2188f8d@mail.gmail.com> On 2/15/07, Robert Stafford wrote: > I'm not sure this is the right place to ask this, but I've been trying to > figure out why the scheduling queue on my nagios server is always 20-30 > minutes behind the current time. What I mean by that is the next check item > is 20-30 minutes past the current time. I have 49 servers and 3 checks per > server (ping, a process check, and syslog-ng(passive). I've tried tweaking > all the settings for scheduling checks and only seem to make it worse. I'm > currently running version 2.5. I didn't think that it would run into > problems with this few since I've seen 300+ servers with 1000+ service > checks. Am I just missing something? Are you reporting these checks passively to another server? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdstafford at gmail.com Thu Feb 15 19:33:04 2007 From: rdstafford at gmail.com (Robert Stafford) Date: Thu, 15 Feb 2007 10:33:04 -0800 Subject: Scheduling queue falling behind. In-Reply-To: <735379850702151025k5b1504f8t78f364cec2188f8d@mail.gmail.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> <735379850702151025k5b1504f8t78f364cec2188f8d@mail.gmail.com> Message-ID: <55a886640702151033p157f5c3bl406802762961fc79@mail.gmail.com> On 2/15/07, Trask wrote: > > On 2/15/07, Robert Stafford wrote: > > I'm not sure this is the right place to ask this, but I've been trying > to > > figure out why the scheduling queue on my nagios server is always 20-30 > > minutes behind the current time. What I mean by that is the next check > item > > is 20-30 minutes past the current time. I have 49 servers and 3 checks > per > > server (ping, a process check, and syslog-ng(passive). I've tried > tweaking > > all the settings for scheduling checks and only seem to make it > worse. I'm > > currently running version 2.5. I didn't think that it would run into > > problems with this few since I've seen 300+ servers with 1000+ service > > checks. Am I just missing something? > > Are you reporting these checks passively to another server? > Nope. Everything is on one box. I do have syslog-ng installed and doing passive to nagios on the machine. I've tried setting max_concurent_checks to 0 and changing it up throught 100 but it doesn't seem to make a differance. -- --------------------------------------------------------- Robert Stafford Systems Engineer - Xpressbet robert.stafford at xpressbet.com rdstafford at gmail.com ---------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Thu Feb 15 19:45:11 2007 From: trasko at gmail.com (Trask) Date: Thu, 15 Feb 2007 10:45:11 -0800 Subject: Scheduling queue falling behind. In-Reply-To: <55a886640702151033p157f5c3bl406802762961fc79@mail.gmail.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> <735379850702151025k5b1504f8t78f364cec2188f8d@mail.gmail.com> <55a886640702151033p157f5c3bl406802762961fc79@mail.gmail.com> Message-ID: <735379850702151045u13aa46b5ued184397e6e7e551@mail.gmail.com> > Nope. Everything is on one box. I do have syslog-ng installed and doing > passive to nagios on the machine. I've tried setting max_concurent_checks > to 0 and changing it up throught 100 but it doesn't seem to make a > differance. Did nagios ever run on time or has it always been like this? Verify the time on the nagios machine. What sort of latencies are you seeing when you look at "Performance Info"? What is the load you are seeing (run "top")? Run something like the following command to see how many nagios related processes are running (this assumes the directory where nagios is installed includes the word "nagios"). If you don't have "watch", just run the command a bun manually or put it in a never-ending while loop. Watch it for a few minutes (or get fancy and capture / graph the output) and get a feel for the numbers and any patterns you see. watch -n 1 'ps auxw | grep nagios | wc -l' Reply with your nagios.cfg. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 15 19:50:43 2007 From: marc at ena.com (Marc Powell) Date: Thu, 15 Feb 2007 12:50:43 -0600 Subject: Scheduling queue falling behind. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Trask > Sent: Thursday, February 15, 2007 12:45 PM > To: Robert Stafford > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Scheduling queue falling behind. [suggestions removed] > Reply with your nagios.cfg. /path/to/bin/nagios -s /path/to/etc/nagios.cfg will also be informative. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Thu Feb 15 20:11:58 2007 From: trevorwarren at gmail.com (Trevor Warren) Date: Fri, 16 Feb 2007 00:41:58 +0530 Subject: Scheduling queue falling behind. In-Reply-To: <735379850702151025k5b1504f8t78f364cec2188f8d@mail.gmail.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> <735379850702151025k5b1504f8t78f364cec2188f8d@mail.gmail.com> Message-ID: <559e3cb60702151111ybba72e0sb06d86efbb79fde7@mail.gmail.com> Hey folks this is Trevor here, While i used to have a lot of nagios deployments for clients i did have these issues more than one. I had about 25-30 servers and all the checks on these servers would be way behind the actual scheduled time. It would wary from a few mins to hours at length. Never got around to solving the prob. Thought i had a bad config but i too had the same settings like Robert here. Was baffled as to why was nagios delaying the checks. The box wasnt topping out and the network wasnt an issue either. I have found such issues when running nagios with a huge number of metrics being monitored. 400-500 in total. Am not sure if this helps..but this is precisely what i too went through. Thanks and Regards Trevor On 2/15/07, Trask wrote: > > On 2/15/07, Robert Stafford wrote: > > I'm not sure this is the right place to ask this, but I've been trying > to > > figure out why the scheduling queue on my nagios server is always 20-30 > > minutes behind the current time. What I mean by that is the next check > item > > is 20-30 minutes past the current time. I have 49 servers and 3 checks > per > > server (ping, a process check, and syslog-ng(passive). I've tried > tweaking > > all the settings for scheduling checks and only seem to make it > worse. I'm > > currently running version 2.5. I didn't think that it would run into > > problems with this few since I've seen 300+ servers with 1000+ service > > checks. Am I just missing something? > > Are you reporting these checks passively to another server? > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Feb 15 20:21:29 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 15 Feb 2007 14:21:29 -0500 Subject: Scheduling queue falling behind. In-Reply-To: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> Message-ID: > I'm not sure this is the right place to ask this, but I've > been trying to figure out why the scheduling queue on my > nagios server is always 20-30 minutes behind the current > time. What I mean by that is the next check item is 20-30 > minutes past the current time. I have 49 servers and 3 > checks per server (ping, a process check, and > syslog-ng(passive). I've tried tweaking all the settings for > scheduling checks and only seem to make it worse. I'm > currently running version 2.5. I didn't think that it would > run into problems with this few since I've seen 300+ servers > with 1000+ service checks. Am I just missing something? You don't have a lot of hosts down, do you? That can also cause backups in service checks. Otherwise, you're right -- that number of checks shouldn't be an issue. I'm looking at a box right now that's monitoring over 1,000 hosts with about 11,000 service checks, and the next scheduled check is always shown at the current time. It really does sound like the time on your Nagios box may just be out of sync. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdstafford at gmail.com Thu Feb 15 20:23:21 2007 From: rdstafford at gmail.com (Robert Stafford) Date: Thu, 15 Feb 2007 11:23:21 -0800 Subject: Fwd: Scheduling queue falling behind. In-Reply-To: <55a886640702151118t1e0a5a1eg5cd8899a18448adc@mail.gmail.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> <735379850702151025k5b1504f8t78f364cec2188f8d@mail.gmail.com> <55a886640702151033p157f5c3bl406802762961fc79@mail.gmail.com> <735379850702151045u13aa46b5ued184397e6e7e551@mail.gmail.com> <55a886640702151118t1e0a5a1eg5cd8899a18448adc@mail.gmail.com> Message-ID: <55a886640702151123q46c464aby7da661414bdc0fc4@mail.gmail.com> also /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Warning: Contact group 'Adam' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'Elaine' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'SA_Page' is not used in any host/service definitions or host/service escalations! Warning: Contact group 'admins' is not used in any host/service definitions or host/service escalations! Projected scheduling information for host and service checks is listed below. This information assumes that you are going to start running Nagios with your current config files. HOST SCHEDULING INFORMATION --------------------------- Total hosts: 49 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 5 min First scheduled check: N/A Last scheduled check: N/A SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 142 Total scheduled services: 107 Service inter-check delay method: SMART Average service check interval: 339.25 sec Inter-check delay: 2.80 sec Interleave factor method: SMART Average services per host: 2.90 Service interleave factor: 3 Max service check spread: 5 min First scheduled check: Thu Feb 15 11:22:52 2007 Last scheduled check: Thu Feb 15 11:27:50 2007 CHECK PROCESSING INFORMATION ---------------------------- Service check reaper interval: 10 sec Max concurrent service checks: 100 PERFORMANCE SUGGESTIONS ----------------------- I have no suggestions - things look okay. ---------- Forwarded message ---------- From: Robert Stafford Date: Feb 15, 2007 11:18 AM Subject: Re: [Nagios-users] Scheduling queue falling behind. To: Trask Performance wise the system isn't hit very hard (2 proc xenon system). Load averages over the past few days floats between 0.25 and 0.65. Time matches up with all my servers and the machine time in nagios itself. checking on how many nagios proccesses are running it seems to stay around 5-8 processes related to nagios... I see mainly 1 nagios server process 3 or so send sysylog services. If i spam refresh top i'll see 2-5 ncsa a proccesses pop out every once in a while, but they last less than a half a second. Wow the latencies are bad: MetricMin.Max.Average Check Execution Time: 0.00 sec0.56 sec0.133 sec Check Latency:0.00 sec761.00 sec716.944 sec Percent State Change:0.00%0.00%0.00% nagios.cfg: (took out all commented out fields ----------------------------------------------------------------------------------- log_file=/usr/local/nagios/var/nagios.log cfg_file=/usr/local/nagios/etc/checkcommands.cfg cfg_file=/usr/local/nagios/etc/contact_templates.cfg cfg_file=/usr/local/nagios/etc/contactgroups.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/escalations.cfg cfg_file=/usr/local/nagios/etc/extended_host_info.cfg cfg_file=/usr/local/nagios/etc/extended_host_info_templates.cfg cfg_file=/usr/local/nagios/etc/host_templates.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_file=/usr/local/nagios/etc/hosts_hosts.cfg cfg_file=/usr/local/nagios/etc/misccommands.cfg cfg_file=/usr/local/nagios/etc/service_templates.cfg cfg_file=/usr/local/nagios/etc/servicegroups.cfg cfg_file=/usr/local/nagios/etc/services.cfg cfg_file=/usr/local/nagios/etc/time_periods.cfg resource_file=/usr/local/nagios/etc/private/resource.cfg temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.log aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 execute_host_checks=0 accept_passive_host_checks=0 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives check_external_commands=1 command_check_interval=-1 command_file=/usr/local/nagios/var/spool/nagios.cmd downtime_file=/usr/local/nagios/var/nagiosdowntime.log comment_file=/usr/local/nagios/var/nagioscomment.log lock_file=/tmp/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/nagiosstatus.sav retention_update_interval=60 use_retained_program_state=1 use_retained_scheduling_info=0 use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 sleep_time=1 service_inter_check_delay_method=s max_service_check_spread=5 service_interleave_factor=s max_concurrent_checks=100 service_reaper_frequency=10 max_host_check_spread=5 interval_length=60 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=60 check_host_freshness=0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()'= illegal_macro_output_chars=`~$&|'"<> admin_email=nagios admin_pager=pagenagios ---------------------------------------------------------------------------------------------------- On 2/15/07, Trask wrote: > > > Nope. Everything is on one box. I do have syslog-ng installed and > doing > > passive to nagios on the machine. I've tried setting > max_concurent_checks > > to 0 and changing it up throught 100 but it doesn't seem to make a > > differance. > > Did nagios ever run on time or has it always been like this? > > Verify the time on the nagios machine. > > What sort of latencies are you seeing when you look at "Performance Info"? > > What is the load you are seeing (run "top")? > > Run something like the following command to see how many nagios > related processes are running (this assumes the directory where nagios > is installed includes the word "nagios"). If you don't have "watch", > just run the command a bun manually or put it in a never-ending while > loop. Watch it for a few minutes (or get fancy and capture / graph > the output) and get a feel for the numbers and any patterns you see. > watch -n 1 'ps auxw | grep nagios | wc -l' > > Reply with your nagios.cfg. > -- --------------------------------------------------------- Robert Stafford Systems Engineer - Xpressbet robert.stafford at xpressbet.com rdstafford at gmail.com ---------------------------------------------------------- -- --------------------------------------------------------- Robert Stafford Systems Engineer - Xpressbet robert.stafford at xpressbet.com rdstafford at gmail.com ---------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason-sourceforge at microlnk.net Thu Feb 15 20:35:53 2007 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Thu, 15 Feb 2007 13:35:53 -0600 Subject: Scheduling queue falling behind. In-Reply-To: References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> Message-ID: <45D4B619.1030204@microlnk.net> Morris, Patrick wrote: >> I'm not sure this is the right place to ask this, but I've >> been trying to figure out why the scheduling queue on my >> nagios server is always 20-30 minutes behind the current >> time. I ran into something like this, not that long ago. Host and service check latencies being very high, like almost 15-20 minutes. After some research, the suggested fix was to modify the check_host_alive and related commands. Change them so they only use a single packet to check. Add "-p 1" as a flag to your ping-type check commands. Once I followed this advice, my average latency went from 900 seconds or so, to usually less than a second. We monitor about 250-300 devices, 95% of them only have a single service check. (Usually SNMP) -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKornelsen at extremenetworks.com Thu Feb 15 22:52:12 2007 From: RKornelsen at extremenetworks.com (Randal Kornelsen) Date: Thu, 15 Feb 2007 13:52:12 -0800 Subject: Scheduling queue falling behind. Message-ID: <44B88EC6CAD5024FADA04D5D2438970B056B5CA4@sc-msexch-08.extremenetworks.com> I had this problem and Jason describes one work-around to it (making host checks complete as fast as possible). My solution was to disable all host checks (my latency was still too high even with fast host checks). My understanding is that Nagios must complete the host checks of a down host before ANY service checks on any host are performed. If a host is down and your checks are configured to run over X number of minutes Y times then you are stalled for that long. If you have multiple hosts down then you can just multiply your latency. Prove this to yourself by going in to each configured host that you have that is down and disabling the host checks. Your service checks should come right up to time. Randal -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net]On Behalf Of Jason Byrns Sent: Thursday, February 15, 2007 11:36 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Scheduling queue falling behind. Morris, Patrick wrote: >> I'm not sure this is the right place to ask this, but I've >> been trying to figure out why the scheduling queue on my >> nagios server is always 20-30 minutes behind the current >> time. I ran into something like this, not that long ago. Host and service check latencies being very high, like almost 15-20 minutes. After some research, the suggested fix was to modify the check_host_alive and related commands. Change them so they only use a single packet to check. Add "-p 1" as a flag to your ping-type check commands. Once I followed this advice, my average latency went from 900 seconds or so, to usually less than a second. We monitor about 250-300 devices, 95% of them only have a single service check. (Usually SNMP) -- Jason Byrns Production Manager System Administrator http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Thu Feb 15 23:13:18 2007 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Thu, 15 Feb 2007 23:13:18 +0100 Subject: Scheduling queue falling behind. In-Reply-To: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> Message-ID: <45D4DAFE.5090109@citytower.com> Hello You did read this page maybe many times but it's allways smart to read again and again and find ways to do things smarter. http://nagios.sourceforge.net/docs/2_0/tuning.html Sjaak Robert Stafford schreef: > I'm not sure this is the right place to ask this, but I've been trying > to figure out why the scheduling queue on my nagios server is always > 20-30 minutes behind the current time. What I mean by that is the > next check item is 20-30 minutes past the current time. I have 49 > servers and 3 checks per server (ping, a process check, and > syslog-ng(passive). I've tried tweaking all the settings for > scheduling checks and only seem to make it worse. I'm currently > running version 2.5. I didn't think that it would run into problems > with this few since I've seen 300+ servers with 1000+ service checks. > Am I just missing something? > > Thanks, > > -- > --------------------------------------------------------- > Robert Stafford > Systems Engineer > rdstafford at gmail.com > ---------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaaknabuurs at citytower.com Fri Feb 16 00:02:23 2007 From: sjaaknabuurs at citytower.com (Sjaak Nabuurs) Date: Fri, 16 Feb 2007 00:02:23 +0100 Subject: spending time with nagios to finetune Message-ID: <45D4E67F.7010803@citytower.com> Hello nagios users. We run about 50 hosts with approx 400 services to check (webservice apache/mail/mysql/mysql_replica/ftp/load/procs/disks/mailq/temp/backups). Spending a lot of time to fine tune nagios, every day nearly 15-60 min , still we have 5 ~ 20 notifications a day. I have some questions, how you run nagios. How much time do you spend a day or week to run nagios ? How much notifications a day do you have ? Must be every notify a real allert or do you also have 80% notifications just for an annoying mobile telephone ring. Would be interesting to hear your idea how you run nagios. Nagios helped me a lot with uptime on my servers. No diskfull errors, no unknown downtime anymore and more happy customers. I'ts Better to spend time on nagios than fixing problems. Thanks in advance. Sjaak ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rdstafford at gmail.com Fri Feb 16 03:20:53 2007 From: rdstafford at gmail.com (Robert Stafford) Date: Thu, 15 Feb 2007 18:20:53 -0800 Subject: Scheduling queue falling behind. In-Reply-To: <45D4DAFE.5090109@citytower.com> References: <55a886640702150907h713f3bafpe239fcda71cf8b9b@mail.gmail.com> <45D4DAFE.5090109@citytower.com> Message-ID: <55a886640702151820g27cf3d08r28a8c6dadba459e6@mail.gmail.com> Now I feel like a Noobie!! Parallelizing checks was disabled. On 2/15/07, Sjaak Nabuurs wrote: > > Hello > > > You did read this page maybe many times but it's allways smart to read > again and again and find ways to do things smarter. > http://nagios.sourceforge.net/docs/2_0/tuning.html > > > Sjaak > > > Robert Stafford schreef: > > I'm not sure this is the right place to ask this, but I've been trying > > to figure out why the scheduling queue on my nagios server is always > > 20-30 minutes behind the current time. What I mean by that is the > > next check item is 20-30 minutes past the current time. I have 49 > > servers and 3 checks per server (ping, a process check, and > > syslog-ng(passive). I've tried tweaking all the settings for > > scheduling checks and only seem to make it worse. I'm currently > > running version 2.5. I didn't think that it would run into problems > > with this few since I've seen 300+ servers with 1000+ service checks. > > Am I just missing something? > > > > Thanks, > > > > -- > > --------------------------------------------------------- > > Robert Stafford > > Systems Engineer > > rdstafford at gmail.com > > ---------------------------------------------------------- > > -- --------------------------------------------------------- Robert Stafford Systems Engineer - Xpressbet robert.stafford at xpressbet.com rdstafford at gmail.com ---------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Feb 16 05:09:55 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 16 Feb 2007 17:09:55 +1300 Subject: Request new functionality: "Off Hours" state. In-Reply-To: <45D484E1.8070603@op5.se> References: <20070209154018.GA23510@lucien.blight.com> <45D484E1.8070603@op5.se> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A289E7CF@UXCHANGE3.UoA.auckland.ac.nz> > > What we need / would like is a per-service and per-host > configuration > > option that allows a host or service to enter an "Off > hours" state in > > the CGI displays. (Or perhaps there should also be a global > option for this?) The way we do this is via a small modification to the status.cgi script, so that there is an extra filter option which only displays things currently within their alerting window (its an extra flag in the bitfield options to serviceprops and hostprops). So, with this flag set, the screen will only show items which are currently able to send out alerts. Works well for us - I can send a copy of the modified status.c if you want, but we're using nagios 1.4... Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From umuta at sabanciuniv.edu Fri Feb 16 09:21:19 2007 From: umuta at sabanciuniv.edu (Umut Arus) Date: Fri, 16 Feb 2007 10:21:19 +0200 Subject: Hosts information problem when down Message-ID: <45D5697F.5040109@sabanciuniv.edu> Hello, Nagios checks hosts using ping. Today, However it didn't take mind and didn't send alert although server was down. There was a problem related disks. On the other hand, I already control the services. I want to examine the hosts that it is right method or not by ping control. I don't think that right method from now. Is there any suggestion to healthy control of the hosts? thanks. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From taieb.riahi at topnet.tn Fri Feb 16 10:26:06 2007 From: taieb.riahi at topnet.tn (Riahi Taieb) Date: Fri, 16 Feb 2007 10:26:06 +0100 Subject: Host down /UNREACHABLE Message-ID: <45D578AE.9070700@topnet.tn> Hi list, I have Nagios running on 2 machines on 2 sites that monitor the same route to one host. Although they have the same route, one gives me host down and the other host unreachable! 1: Host Status: DOWN Status Information: CRITICAL - Plugin timed out after 10 seconds 2: Host Status: UNREACHABLE Status Information: CRITICAL - Plugin timed out after 10 seconds Do any one see this before ? Thx -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From taieb.riahi at topnet.tn Fri Feb 16 11:20:22 2007 From: taieb.riahi at topnet.tn (Riahi Taieb) Date: Fri, 16 Feb 2007 11:20:22 +0100 Subject: Host down /UNREACHABLE In-Reply-To: <000901c751b1$3fb694e0$bf23bea0$@com> References: <45D578AE.9070700@topnet.tn> <000901c751b1$3fb694e0$bf23bea0$@com> Message-ID: <45D58566.50600@topnet.tn> thanks for the replay I'm using the check_host_alive for hosts and check_ping as service, but the problem is that both of the 2 machines go through the same routers. Robert Wolfe a ?crit : > > Are you using a PING plugin to check this? If so, one of the routes > may have a firewall or router that blocks ICMP pings. > > > > > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Riahi Taieb > *Sent:* Friday, February 16, 2007 4:26 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Host down /UNREACHABLE > > > > Hi list, > > I have Nagios running on 2 machines on 2 sites that monitor the same > route to one host. Although they have the same route, one gives me > host down and the other host unreachable! > 1: > > Host Status: > > > > DOWN > > Status Information: > > > > CRITICAL - Plugin timed out after 10 seconds > > > 2: > > Host Status: > > > > UNREACHABLE > > Status Information: > > > > CRITICAL - Plugin timed out after 10 seconds > > > Do any one see this before ? > > Thx > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 16 12:17:20 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 16 Feb 2007 11:17:20 +0000 Subject: Host down /UNREACHABLE In-Reply-To: <45D58566.50600@topnet.tn> References: <45D578AE.9070700@topnet.tn> <000901c751b1$3fb694e0$bf23bea0$@com> <45D58566.50600@topnet.tn> Message-ID: <45D592C0.4020701@mailnetwork.co.uk> Does the host have the same parent in both Nagios installations? It looks like on one Nagios server, the host goes through a parent which is down, and on the other there is no parent relationship (or it's parent is OK.) Note: UNREACHABLE is not in terms of the network packets not reaching the host, it means that the parent host of a child host in Nagios is down. Andy. Riahi Taieb wrote: > thanks for the replay > I'm using the check_host_alive for hosts and check_ping as service, > but the problem is that both of the 2 machines go through the same > routers. > > Robert Wolfe a ?crit : >> >> Are you using a PING plugin to check this? If so, one of the routes >> may have a firewall or router that blocks ICMP pings. >> >> >> >> >> >> *From:* nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of >> *Riahi Taieb >> *Sent:* Friday, February 16, 2007 4:26 AM >> *To:* nagios-users at lists.sourceforge.net >> *Subject:* [Nagios-users] Host down /UNREACHABLE >> >> >> >> Hi list, >> >> I have Nagios running on 2 machines on 2 sites that monitor the same >> route to one host. Although they have the same route, one gives me >> host down and the other host unreachable! >> 1: >> >> Host Status: >> >> >> >> DOWN >> >> Status Information: >> >> >> >> CRITICAL - Plugin timed out after 10 seconds >> >> >> 2: >> >> Host Status: >> >> >> >> UNREACHABLE >> >> Status Information: >> >> >> >> CRITICAL - Plugin timed out after 10 seconds >> >> >> Do any one see this before ? >> >> Thx >> > > > > !DSPAM:37,45d585c318516976812548! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45d585c318516976812548! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45d585c318516976812548! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravinm at cox.net Fri Feb 16 14:29:27 2007 From: ravinm at cox.net (Ravi) Date: Fri, 16 Feb 2007 08:29:27 -0500 Subject: Using Nagios to monitor servers Message-ID: <000101c751ce$7b530660$71f91320$@net> Hi: does Nagios also include a SNMP agent that can be run on UX and win servers. I have to monitor a few servers for some common stats such as disk utilization, RAM usage, process status etc. Thanks Ravi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Feb 16 14:40:56 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 16 Feb 2007 13:40:56 +0000 Subject: Using Nagios to monitor servers In-Reply-To: <000101c751ce$7b530660$71f91320$@net> References: <000101c751ce$7b530660$71f91320$@net> Message-ID: <45D5B468.9090300@googlemail.com> net-snmp -h Hari Sekhon Ravi wrote: > > Hi: does Nagios also include a SNMP agent that can be run on UX and > win servers. I have to monitor a few servers for some common stats > such as disk utilization, RAM usage, process status etc. > > > > Thanks > > Ravi > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Fri Feb 16 15:47:19 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Fri, 16 Feb 2007 09:47:19 -0500 Subject: Snmptt Message-ID: <45D57DA6.24B4.00A7.0@naps.edu> Hi All... Can someone send me a snmpttunknown.log file. I would like to compare a good log file to mine. I'm not sure that snmptt is configured correctly. I seem to have all my traps logged as unknown. It seems that snmptt is looking at the INTEGER and not the OID. I have nothing being logged into the /var/log/smptt.log file. Attached is an example of what I'm seeing.... Thanks... -------------- next part -------------- A non-text attachment was scrubbed... Name: snmpttunknown.log Type: application/octet-stream Size: 292 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin at lctn.org Fri Feb 16 16:17:26 2007 From: admin at lctn.org (admin at lctn.org) Date: Fri, 16 Feb 2007 09:17:26 -0600 (CST) Subject: email notice problem Message-ID: <1610.64.8.148.4.1171639046.squirrel@lctn.org> I am running 2.7 on an Ubuntu server, with sendmail. I have read the docs, but am having trouble here. According to the examples given I have "define contact" set up correctly. I also have an alias "nagiosadmin" in /etc/aliases. Here is my config, and the error I am getting below. The error is occuring when it reaches the "email" line. Any ideas how to resolve this? define contact{ contact_name nagiosadmin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email admin at domain.com } Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST 2007\n" | -s "Host DOWN alert for relay-1.domain.com!" admin at domain.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 16 16:23:45 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 16 Feb 2007 15:23:45 +0000 Subject: email notice problem In-Reply-To: <1610.64.8.148.4.1171639046.squirrel@lctn.org> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> Message-ID: <45D5CC81.1030706@mailnetwork.co.uk> admin at lctn.org wrote: > I am running 2.7 on an Ubuntu server, with sendmail. I have read the docs, > but am having trouble here. According to the examples given I have "define > contact" set up correctly. I also have an alias "nagiosadmin" in > /etc/aliases. Here is my config, and the error I am getting below. The > error is occuring when it reaches the "email" line. Any ideas how to > resolve this? > Not sure if this directly relates to your problem, but you don't need "nagiosadmin" in your aliases file, as the e-mail address that will be delivered to is "admin at domain.com", and the e-mail will come "from" your Nagios shell user at your machine domain (e.g. nagios at nagiosserver.domain.com) How do you know the error is at the "email" line? If "/path/to/nagios/bin/nagios -v /path/to/nagios.cfg" (substitute paths as required) reports your configuration is correct, then the problem more than likely lies within your command definitions. Andy. > > define contact{ > contact_name nagiosadmin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email admin at domain.com > } > > > > > > > > Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST > 2007\n" | -s "Host DOWN alert for relay-1.domain.com!" admin at domain.com" > resulted in a return code of 127. Make sure the script or binary you are > trying to execute actually exists... > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.conway at uksolutions.co.uk Fri Feb 16 16:26:42 2007 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Fri, 16 Feb 2007 15:26:42 +0000 Subject: email notice problem In-Reply-To: <1610.64.8.148.4.1171639046.squirrel@lctn.org> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> Message-ID: <45D5CD32.6030209@uksolutions.co.uk> admin at lctn.org wrote: > define contact{ > contact_name nagiosadmin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email admin at domain.com > } That looks fine to me. The problem is in your host-notify-by-email definition in the misccommands.cfg file. If you look below you have; Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST > 2007\n" | -s "Host DOWN alert for relay-1.domain.com!" admin at domain.com" Where it should read; > Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST > 2007\n" | mail -s "Host DOWN alert for relay-1.domain.com!" admin at domain.com" Looks like a copy and paste error. Oh and you probably also want to use something other than your 'admin at lctn' account. It's like sending from root at localhost.localdomain :P Cheers, Gavin -- UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk - Please, consider the environment before printing this email - ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 wansecurity.com Fri Feb 16 16:34:22 2007 From: lists at wansecurity.com (Robert Smith) Date: Sat, 17 Feb 2007 00:34:22 +0900 Subject: email notice problem In-Reply-To: <45D5CC81.1030706@mailnetwork.co.uk> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CC81.1030706@mailnetwork.co.uk> Message-ID: <45D5CEFE.30703@wansecurity.com> >Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST > 2007\n" | -s "Host DOWN alert for relay-1.domain.com!" admin at domain.com" > resulted in a return code of 127. Make sure the script or binary you are > trying to execute actually exists... > There is a quoting error causing your problem. Check your command definition for host-notify-by-email. try something like: define command { command_name host-notify-by-email command_line echo "***** Nagios *****\n\nNotification Type:$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" "$CONTACTEMAIL$" } The command line should be all one line and contain exactly 4 double quotes ("). Also if you see yen symbols instead of backslashes, then you should replace those with backslashes. -Robert Smith Andy Shellam (Mailing Lists) wrote: > admin at lctn.org wrote: >> I am running 2.7 on an Ubuntu server, with sendmail. I have read the docs, >> but am having trouble here. According to the examples given I have "define >> contact" set up correctly. I also have an alias "nagiosadmin" in >> /etc/aliases. Here is my config, and the error I am getting below. The >> error is occuring when it reaches the "email" line. Any ideas how to >> resolve this? >> > > Not sure if this directly relates to your problem, but you don't need > "nagiosadmin" in your aliases file, as the e-mail address that will be > delivered to is "admin at domain.com", and the e-mail will come "from" your > Nagios shell user at your machine domain (e.g. nagios at nagiosserver.domain.com) > > How do you know the error is at the "email" line? > If "/path/to/nagios/bin/nagios -v /path/to/nagios.cfg" (substitute paths > as required) reports your configuration is correct, then the problem > more than likely lies within your command definitions. > > Andy. >> define contact{ >> contact_name nagiosadmin >> alias Nagios Admin >> service_notification_period 24x7 >> host_notification_period 24x7 >> service_notification_options w,u,c,r >> host_notification_options d,r >> service_notification_commands notify-by-email >> host_notification_commands host-notify-by-email >> email admin at domain.com >> } >> >> >> >> >> >> >> >> Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST >> 2007\n" | -s "Host DOWN alert for relay-1.domain.com!" admin at domain.com" >> resulted in a return code of 127. Make sure the script or binary you are >> trying to execute actually exists... >> >> >> > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin at lctn.org Fri Feb 16 16:43:11 2007 From: admin at lctn.org (admin at lctn.org) Date: Fri, 16 Feb 2007 09:43:11 -0600 (CST) Subject: email notice problem In-Reply-To: <45D5CD32.6030209@uksolutions.co.uk> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> Message-ID: <1944.64.8.148.4.1171640591.squirrel@lctn.org> > That looks fine to me. The problem is in your host-notify-by-email > definition in the misccommands.cfg file. If you look below you have; >sterilizing > Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST > > 2007\n" | -s "Host DOWN alert for relay-1.domain.com!" > admin at domain.com" > > Where it should read; > > > Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST > > 2007\n" | mail -s "Host DOWN alert for relay-1.domain.com!" > admin at domain.com" > > > Looks like a copy and paste error. Oh and you probably also want to use > something other than your 'admin at lctn' account. It's like sending from > root at localhost.localdomain :P Sorry about that... I was sterolizing the error. Here is exactly what the error says. [1171638601] HOST NOTIFICATION: nagiosadmin;relay-1.lctn.org;DOWN;host-notify-by-email;CRITICAL - Host Unreachable (10.10.4.89) [1171638601] Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\nHost: relay-1.lctn.org\nState: DOWN\nAddress: 10.10.4.89\nInfo: CRITICAL - Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST 2007\n" | -s "Host DOWN alert for relay-1.lctn.org!" admin at lctn.org" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I do not have a misccommands.cfg, but I do have commands.cfg. using the "mail" command yields nothing, but as I mentioned, I do have sendmail installed. I can telnet to localhost on port 25. The reason I suspected it stops at "email", is that if I change the contact email, it shows up in the log file with the same error. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 16 17:00:20 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 16 Feb 2007 16:00:20 +0000 Subject: email notice problem In-Reply-To: <1944.64.8.148.4.1171640591.squirrel@lctn.org> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> Message-ID: <45D5D514.3010206@mailnetwork.co.uk> admin at lctn.org wrote: >> That looks fine to me. The problem is in your host-notify-by-email >> definition in the misccommands.cfg file. If you look below you have; >> sterilizing >> Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST >> > 2007\n" | -s "Host DOWN alert for relay-1.domain.com!" >> admin at domain.com" >> >> Where it should read; >> >> > Host Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST >> > 2007\n" | mail -s "Host DOWN alert for relay-1.domain.com!" >> admin at domain.com" >> >> >> Looks like a copy and paste error. Oh and you probably also want to use >> something other than your 'admin at lctn' account. It's like sending from >> root at localhost.localdomain :P >> > > > Sorry about that... I was sterolizing the error. Here is exactly what the > error says. > > [1171638601] HOST NOTIFICATION: > nagiosadmin;relay-1.lctn.org;DOWN;host-notify-by-email;CRITICAL - Host > Unreachable (10.10.4.89) > [1171638601] Warning: Attempting to execute the command "/usr/bin/printf > "%b" "***** Nagios 2.7 *****\n\nNotification Type: PROBLEM\nHost: > relay-1.lctn.org\nState: DOWN\nAddress: 10.10.4.89\nInfo: CRITICAL - Host > Unreachable (10.10.4.89)\n\nDate/Time: Fri Feb 16 09:10:01 CST 2007\n" | > -s "Host DOWN alert for relay-1.lctn.org!" admin at lctn.org" resulted in a > return code of 127. Make sure the script or binary you are trying to > execute actually exists... > > I do not have a misccommands.cfg, but I do have commands.cfg. > > using the "mail" command yields nothing, but as I mentioned, I do have > sendmail installed. I can telnet to localhost on port 25. > > > The reason I suspected it stops at "email", is that if I change the > contact email, it shows up in the log file with the same error. > > > If you "su" to the Nagios user, and just run "mail" - does it yield anything, or "command not found"? The error seems to be (as someone previously said) it's piping your notification text to " -s "Host DOWN..."" which isn't a valid command. You need to change your notification command to pipe the result to "mail -s ...." instead of " -s ..." You may also need to try "sendmail" (I don't use sendmail so I don't know if "mail" is part of it or not.) Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Fri Feb 16 17:02:16 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Fri, 16 Feb 2007 10:02:16 -0600 Subject: Using Nagios to monitor servers In-Reply-To: <000101c751ce$7b530660$71f91320$@net> References: <000101c751ce$7b530660$71f91320$@net> Message-ID: <45D5D588.6070509@epsiia.com> Ravi wrote: > Hi: does Nagios also include a SNMP agent that can be run on UX and win > servers. I have to monitor a few servers for some common stats such as disk > utilization, RAM usage, process status etc. > Hi, No, not that I'm aware of - but you should be able to use the native Windows SNMP agent and *nix systems can use Net-SNMP. - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at lctn.org Fri Feb 16 17:26:15 2007 From: admin at lctn.org (admin at lctn.org) Date: Fri, 16 Feb 2007 10:26:15 -0600 (CST) Subject: email notice problem In-Reply-To: <45D5D514.3010206@mailnetwork.co.uk> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> Message-ID: <2424.64.8.148.4.1171643175.squirrel@lctn.org> > If you "su" to the Nagios user, and just run "mail" - does it yield > anything, or "command not found"? > > The error seems to be (as someone previously said) it's piping your > notification text to " -s "Host DOWN..."" which isn't a valid command. > You need to change your notification command to pipe the result to "mail > -s ...." instead of " -s ..." > > You may also need to try "sendmail" (I don't use sendmail so I don't > know if "mail" is part of it or not.) I inserted "sendmail", but still get the err. I am working on the syntax to see if I can resolve the error. What does everyone else have installed that the "mail" command works. I really don't care what MTA is used, just so I can get the sample, and new configs to work. I assumed on the install it would locate sendmail and insert the appropriate commands, but obviously, I was wrong. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 16 17:30:44 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 16 Feb 2007 16:30:44 +0000 Subject: email notice problem In-Reply-To: <2424.64.8.148.4.1171643175.squirrel@lctn.org> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> Message-ID: <45D5DC34.5060803@mailnetwork.co.uk> admin at lctn.org wrote: >> If you "su" to the Nagios user, and just run "mail" - does it yield >> anything, or "command not found"? >> >> The error seems to be (as someone previously said) it's piping your >> notification text to " -s "Host DOWN..."" which isn't a valid command. >> You need to change your notification command to pipe the result to "mail >> -s ...." instead of " -s ..." >> >> You may also need to try "sendmail" (I don't use sendmail so I don't >> know if "mail" is part of it or not.) >> > > > I inserted "sendmail", but still get the err. I am working on the syntax > to see if I can resolve the error. What does everyone else have installed > that the "mail" command works. I really don't care what MTA is used, just > so I can get the sample, and new configs to work. I assumed on the install > it would locate sendmail and insert the appropriate commands, but > obviously, I was wrong. > No, Nagios doesn't assume anything because everyone's networks/servers are setup differently. Try an absolute path to sendmail (use "whereis sendmail" to locate it if you're not sure.) The trick is to (while logged in or "su'd" to the Nagios user) manually type out a command and keep adjusting until it works - then put that into Nagios. e.g. echo "Test e-mail"|/usr/sbin/sendmail -s "Host DOWN" admin at domain.com Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin at lctn.org Fri Feb 16 17:40:44 2007 From: admin at lctn.org (admin at lctn.org) Date: Fri, 16 Feb 2007 10:40:44 -0600 (CST) Subject: email notice problem In-Reply-To: <45D5DC34.5060803@mailnetwork.co.uk> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> <45D5DC34.5060803@mailnetwork.co.uk> Message-ID: <2593.64.8.148.4.1171644044.squirrel@lctn.org> > The trick is to (while logged in or "su'd" to the Nagios user) manually > type out a command and keep adjusting until it works - then put that > into Nagios. > e.g. echo "Test e-mail"|/usr/sbin/sendmail -s "Host DOWN" admin at domain.com OK, now we're getting somewhere..... Here is the error I get under the nagios user: WARNING: RunAsUser for MSP ignored, check group ids (egid=1001, want=120) can not chdir(/var/spool/mqueue-client/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. What is the best way to resolve this without causing a security problem? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Fri Feb 16 17:41:24 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Fri, 16 Feb 2007 10:41:24 -0600 Subject: email notice problem In-Reply-To: <2424.64.8.148.4.1171643175.squirrel@lctn.org> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> Message-ID: <45D5DEB4.2040406@epsiia.com> > I inserted "sendmail", but still get the err. I am working on the syntax > to see if I can resolve the error. What does everyone else have installed > that the "mail" command works. I really don't care what MTA is used, just > so I can get the sample, and new configs to work. I assumed on the install > it would locate sendmail and insert the appropriate commands, but > obviously, I was wrong. > we're using /bin/mail, which is part of the mailx pkg. http://packages.debian.org/stable/mail/mailx - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 16 17:47:22 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 16 Feb 2007 16:47:22 +0000 Subject: email notice problem In-Reply-To: <2593.64.8.148.4.1171644044.squirrel@lctn.org> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> <45D5DC34.5060803@mailnetwork.co.uk> <2593.64.8.148.4.1171644044.squirrel@lctn.org> Message-ID: <45D5E01A.2020707@mailnetwork.co.uk> admin at lctn.org wrote: >> The trick is to (while logged in or "su'd" to the Nagios user) manually >> type out a command and keep adjusting until it works - then put that >> into Nagios. >> e.g. echo "Test e-mail"|/usr/sbin/sendmail -s "Host DOWN" admin at domain.com >> > > > OK, now we're getting somewhere..... Here is the error I get under the > nagios user: > > WARNING: RunAsUser for MSP ignored, check group ids (egid=1001, want=120) > can not chdir(/var/spool/mqueue-client/): Permission denied > Program mode requires special privileges, e.g., root or TrustedUser. > > What is the best way to resolve this without causing a security problem? > > This is within your MTA - you'll have to read up (in sendmail's documentation) on how to set your nagios shell user as a trusted user within sendmail - this tells sendmail the users that are allowed to use it in "program-mode" (i.e. local submission, not over an SMTP connection.) Either that, or you need a script/plugin that will receive your text and send the mail via SMTP instead of local submission. Somebody familiar with sendmail may be able to help, I'm afraid I'm not. Andy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin at lctn.org Fri Feb 16 17:52:19 2007 From: admin at lctn.org (admin at lctn.org) Date: Fri, 16 Feb 2007 10:52:19 -0600 (CST) Subject: email notice problem In-Reply-To: <45D5E01A.2020707@mailnetwork.co.uk> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> <45D5DC34.5060803@mailnetwork.co.uk> <2593.64.8.148.4.1171644044.squirrel@lctn.org> <45D5E01A.2020707@mailnetwork.co.uk> Message-ID: <2758.64.8.148.4.1171644739.squirrel@lctn.org> > This is within your MTA - you'll have to read up (in sendmail's > documentation) on how to set your nagios shell user as a trusted user > within sendmailhassles tells sendmail the users that are allowed to usehasslehasslehassle > it in "program-mode" (i.e. local submission, not over an SMTP connection.) > > Either that, or you need a script/plugin that will receive your text and > send the mail via SMTP instead of local submission. > > Somebody familiar with sendmail may be able to help, I'm afraid I'm not. Hardly worth the hassle, just to get notices. If I install mailx will it work without the same hassles? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Fri Feb 16 17:49:59 2007 From: lflacayo at cps.k12.il.us (Lacayo, Luis F) Date: Fri, 16 Feb 2007 10:49:59 -0600 Subject: Subgrouping Host groups. In-Reply-To: <45D57DA6.24B4.00A7.0@naps.edu> References: <45D57DA6.24B4.00A7.0@naps.edu> Message-ID: Good Morning all, I have what might seem like a dumb question. I monitor some 800+ and last night I was thinking of a way to make my NAGIOS groups more readable. I know that the display sorts based on hostgroup_name, Having said that, I can name my groups 1-1, 1-2, 1-3, 2-1, 2-2 etc. I can do that it is fairly simple. I also found out that you can insert html tags on the hostgroup alias which make is easy make the Group names bolded and stick out. So I would like to do something like WINDOWS SERVERS ISHARE Exchange Active Directory File Server Linux FTP Server Web Server Sun DNS DHCP Cisco Access Points Core Switches Etc.. So my question for all of you have the know how, is there a better way to do this? Thanks, Luis Luis Lacayo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 16 17:58:51 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 16 Feb 2007 16:58:51 +0000 Subject: email notice problem In-Reply-To: <2758.64.8.148.4.1171644739.squirrel@lctn.org> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> <45D5DC34.5060803@mailnetwork.co.uk> <2593.64.8.148.4.1171644044.squirrel@lctn.org> <45D5E01A.2020707@mailnetwork.co.uk> <2758.64.8.148.4.1171644739.squirrel@lctn.org> Message-ID: <45D5E2CB.7030105@mailnetwork.co.uk> admin at lctn.org wrote: >> This is within your MTA - you'll have to read up (in sendmail's >> documentation) on how to set your nagios shell user as a trusted user >> within sendmailhassles tells sendmail the users that are allowed to >> > usehasslehasslehassle > >> it in "program-mode" (i.e. local submission, not over an SMTP connection.) >> >> Either that, or you need a script/plugin that will receive your text and >> send the mail via SMTP instead of local submission. >> >> Somebody familiar with sendmail may be able to help, I'm afraid I'm not. >> > > > Hardly worth the hassle, just to get notices. If I install mailx will it > work without the same hassles? > Try it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosmail at gmail.com Fri Feb 16 18:04:31 2007 From: nagiosmail at gmail.com (Nagios Mail) Date: Fri, 16 Feb 2007 11:04:31 -0600 Subject: Using SSH to run remote command checks In-Reply-To: References: Message-ID: <9ea59a10702160904o11dd1fd9s7c8276a7cacb092a@mail.gmail.com> I wanted to update this problem as it appears to have never been resolved. The current version of check_by_ssh still returns an "UKNOWN" status in nagios. I have ran the command manually from the command line and echoed $?, and while it does return 0, nagios is putting in an UNKNOWN status. Not only that but the status appears to be flapping. The Critical and Warning status appear to work every time, but when an OK status is returned from one of the check programs (check_load, check_disk, check_process), check_by_ssh returns an UNKNOWN almost 80% of the time. I've followed up with three different people on this list who have reported the problem, and all of them just decided to move to NRPE. Has anyone gotten this plugin to work? I am assuming this is a code problem with check_by_ssh On 12/22/05, Demetri Mouratis wrote: > > On Thu, 22 Dec 2005, Mark.Law at thomson.com wrote: > > > I tested the following command from the command line ~ > > > > /usr/bin/ssh -l nagios host1 chkAdminServer.pl > > > > and it returns OK with an exit code of 0. Great. > > > > When I put it into the following service definition, I get a Status > > UNKNOWN with STATUS INFORMATION (No Output) > > > > define service{ > > name check_adminserver > > service_description AdminServer > > use hg.prod.check_5min > > host host1,host2 > > contact_groups systemgrp > > check_command > > check_command_ssh!/path/to/perl/script/bin/chkAdminServer.pl! > > } > > > > The check command definition is really simple also ~ > > > > define command{ > > command_name check_command_ssh > > command_line /usr/bin/ssh -l nagios $HOSTADDRESS$ $ARG1$ > > } > If you are trying to ssh to another server and kick off the command there > use check_by_ssh as follows: > > # check-remote-load > define command{ > command_name check-remote-load > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C > "$USER1$/check_load -w $ARG1$ -c $ARG2$" > } > > In your example, put the chkAdminServer.pl scripts in the nagios plugins > directory on the target, e.g. /usr/lib/nagios/plugins then set the $USER1$ > variable to the same. Then, su - nagios of your nagios box and ssh target > /usr/lib/nagios/plugins/chkAdminServer.pl. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 16 18:10:42 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 16 Feb 2007 17:10:42 +0000 Subject: Using SSH to run remote command checks In-Reply-To: <9ea59a10702160904o11dd1fd9s7c8276a7cacb092a@mail.gmail.com> References: <9ea59a10702160904o11dd1fd9s7c8276a7cacb092a@mail.gmail.com> Message-ID: <45D5E592.3080603@mailnetwork.co.uk> Nagios Mail wrote: > I wanted to update this problem as it appears to have never been > resolved. The current version of check_by_ssh still returns an > "UKNOWN" status in nagios. I have ran the command manually from the > command line and echoed $?, and while it does return 0, nagios is > putting in an UNKNOWN status. Not only that but the status appears to > be flapping. > > The Critical and Warning status appear to work every time, but when an > OK status is returned from one of the check programs (check_load, > check_disk, check_process), check_by_ssh returns an UNKNOWN almost 80% > of the time. > > I've followed up with three different people on this list who have > reported the problem, and all of them just decided to move to NRPE. > > Has anyone gotten this plugin to work? I am assuming this is a code > problem with check_by_ssh I just get the following very helpful error message: Remote command execution failed: _______ _______ _________ _ Not even a reason why it failed, just a lot of underscores! I preferred NRPE from the beginning anyway, so I've always used that. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at wansecurity.com Fri Feb 16 18:18:32 2007 From: lists at wansecurity.com (Robert Smith) Date: Sat, 17 Feb 2007 02:18:32 +0900 Subject: email notice problem In-Reply-To: <45D5DEB4.2040406@epsiia.com> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> <45D5DEB4.2040406@epsiia.com> Message-ID: <45D5E768.4000009@wansecurity.com> try linking mail to sendmail. ls -aFl /usr/bin/mail lrwxrwxrwx 1 root root 18 Jun 12 2006 /usr/bin/mail -> /usr/sbin/sendmail* -Robert Josh Yost wrote: >> I inserted "sendmail", but still get the err. I am working on the syntax >> to see if I can resolve the error. What does everyone else have installed >> that the "mail" command works. I really don't care what MTA is used, just >> so I can get the sample, and new configs to work. I assumed on the install >> it would locate sendmail and insert the appropriate commands, but >> obviously, I was wrong. >> >> > > we're using /bin/mail, which is part of the mailx pkg. > > http://packages.debian.org/stable/mail/mailx > > - Josh > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at wansecurity.com Fri Feb 16 18:22:30 2007 From: lists at wansecurity.com (Robert Smith) Date: Sat, 17 Feb 2007 02:22:30 +0900 Subject: Using SSH to run remote command checks In-Reply-To: <9ea59a10702160904o11dd1fd9s7c8276a7cacb092a@mail.gmail.com> References: <9ea59a10702160904o11dd1fd9s7c8276a7cacb092a@mail.gmail.com> Message-ID: <45D5E856.8060903@wansecurity.com> Make sure that your SSHD allows the number of processes to be spawned that you need. I have: MaxStartups 100 in my /etc/ssh/sshd_config which allows me to use my ssh gateway to check up to 100 service concurrently with Nagios. (you may need an updated version of openssh. get it from ftp.openbsd.org/pub/OpenSSH/portable/) I prefer to stay away from NRPE on unix systems. Cheers, -Robert Smith Nagios Mail wrote: > I wanted to update this problem as it appears to have never been > resolved. The current version of check_by_ssh still returns an > "UKNOWN" status in nagios. I have ran the command manually from the > command line and echoed $?, and while it does return 0, nagios is > putting in an UNKNOWN status. Not only that but the status appears to > be flapping. > > The Critical and Warning status appear to work every time, but when an > OK status is returned from one of the check programs (check_load, > check_disk, check_process), check_by_ssh returns an UNKNOWN almost 80% > of the time. > > I've followed up with three different people on this list who have > reported the problem, and all of them just decided to move to NRPE. > > Has anyone gotten this plugin to work? I am assuming this is a code > problem with check_by_ssh > > > > On 12/22/05, *Demetri Mouratis* > wrote: > > On Thu, 22 Dec 2005, Mark.Law at thomson.com > wrote: > > > I tested the following command from the command line ~ > > > > /usr/bin/ssh -l nagios host1 chkAdminServer.pl > > > > and it returns OK with an exit code of 0. Great. > > > > When I put it into the following service definition, I get a Status > > UNKNOWN with STATUS INFORMATION (No Output) > > > > define service{ > > name check_adminserver > > service_description AdminServer > > use hg.prod.check_5min > > host host1,host2 > > contact_groups systemgrp > > check_command > > check_command_ssh!/path/to/perl/script/bin/chkAdminServer.pl! > > } > > > > The check command definition is really simple also ~ > > > > define command{ > > command_name check_command_ssh > > command_line /usr/bin/ssh -l nagios $HOSTADDRESS$ $ARG1$ > > } > If you are trying to ssh to another server and kick off the > command there > use check_by_ssh as follows: > > # check-remote-load > define command{ > command_name check-remote-load > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C > "$USER1$/check_load -w $ARG1$ -c $ARG2$" > } > > In your example, put the chkAdminServer.pl scripts in the nagios > plugins > directory on the target, e.g. /usr/lib/nagios/plugins then set the > $USER1$ > variable to the same. Then, su - nagios of your nagios box and > ssh target > /usr/lib/nagios/plugins/chkAdminServer.pl. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Fri Feb 16 18:41:02 2007 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 16 Feb 2007 08:41:02 -0900 Subject: Snmptt In-Reply-To: <45D57DA6.24B4.00A7.0@naps.edu> References: <45D57DA6.24B4.00A7.0@naps.edu> Message-ID: <5CB07719-2DC8-4CA0-A7F4-9C7E9431913B@frontierflying.com> A snipit from mine (some data x'd out of course): Fri Jan 5 13:24:12 2007: Unknown trap (.1.3.6.1.4.1.562.50.1.1.0.6) received from xxxx at: Value 0: xxxx Value 1: xx.x.x.xx Value 2: 0:0:00:09.99 Value 3: .1.3.6.1.4.1.562.50.1.1.0.6 Value 4: xx.xx.xx.xxx Value 5: public Value 6: Ent Value 0: .1.3.6.1.4.1.562.50.1.2.1.0=1695 Ent Value 1: .1.3.6.1.4.1.562.50.1.2.2.0=07 01 05 13 24 09 Ent Value 2: .1.3.6.1.4.1.562.50.1.2.3.0=3 Ent Value 3: .1.3.6.1.4.1.562.50.1.2.4.0=1 Ent Value 4: .1.3.6.1.4.1.562.50.1.2.5.0=xxxxxxxxxx Ent Value 5: .1.3.6.1.4.1.562.50.1.2.6.0=Frontier Flying - Frontier Fairbanks Switch Ent Value 6: .1.3.6.1.4.1.562.50.1.2.7.0=xxxxxxx Ent Value 7: .1.3.6.1.4.1.562.50.1.2.8.0=Telecom Billing System[GB] Ent Value 8: .1.3.6.1.4.1.562.50.1.2.9.0=xxx.xxx.xxx.xxx Ent Value 9: .1.3.6.1.4.1.562.50.1.2.10.0=2 Ent Value 10: .1.3.6.1.4.1.562.50.1.2.11.0=administrator Ent Value 11: .1.3.6.1.4.1.562.50.1.2.12.0=Collection task Done. Records: 156 - Errors: 0 - Warnings: 1 ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Feb 16, 2007, at 5:47 AM, Kevin DaSilva wrote: > Hi All... > > Can someone send me a snmpttunknown.log file. I would like to > compare a > good log file to mine. I'm not sure that snmptt is configured > correctly. > I seem to have all my traps logged as unknown. It seems that snmptt is > looking at the INTEGER and not the OID. > > I have nothing being logged into the /var/log/smptt.log file. > > Attached is an example of what I'm seeing.... > > Thanks... > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johndoe123 at gmail.com Fri Feb 16 18:44:57 2007 From: johndoe123 at gmail.com (ffwqe efwa) Date: Fri, 16 Feb 2007 10:44:57 -0700 Subject: NSClient/NC_Net for Win32 (2k3 X64)? Message-ID: <544f85b40702160944k40e291d2q85acdbb50d03137c@mail.gmail.com> All, I hope this is the right place to ask this. What server do you use for check_nt on your win32/x64 clients? Apparentely the usual suspects (nc_net/nsclient) only work on 32 bit versions (or at least I can only get them to). Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBilder at bacons.com Fri Feb 16 19:06:15 2007 From: JBilder at bacons.com (Jeffry Bilder) Date: Fri, 16 Feb 2007 12:06:15 -0600 Subject: serviceextinfo References: <45D57DA6.24B4.00A7.0@naps.edu> <5CB07719-2DC8-4CA0-A7F4-9C7E9431913B@frontierflying.com> Message-ID: I am trying to make use of the serviceextinfo.cfg file. In my nagios setup, I am using hostgroups to apply serivces to (from a recursive standpoint). Unfortuntely, it appears that serviceextinfo only appears to handle host_name. This obviously presents a problem when trying to make use of services that are applied to hostgroup_name. Is there currently a workaround for this problem? Thanks, Jeff ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at lctn.org Fri Feb 16 19:27:18 2007 From: admin at lctn.org (admin at lctn.org) Date: Fri, 16 Feb 2007 12:27:18 -0600 (CST) Subject: email notice problem In-Reply-To: <45D5E768.4000009@wansecurity.com> References: <1610.64.8.148.4.1171639046.squirrel@lctn.org> <45D5CD32.6030209@uksolutions.co.uk> <1944.64.8.148.4.1171640591.squirrel@lctn.org> <45D5D514.3010206@mailnetwork.co.uk> <2424.64.8.148.4.1171643175.squirrel@lctn.org> <45D5DEB4.2040406@epsiia.com> <45D5E768.4000009@wansecurity.com> Message-ID: <3995.64.8.148.4.1171650438.squirrel@lctn.org> I did get sendmail to work by using the -f flag in commands.cfg, and modifying some permissions, but mailx worked perfectly after the install, so I went with that. Thanks for the help! -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Feb 16 12:40:33 2007 From: eduardo.moura at telway.com.br (Eduardo Moura) Date: Fri, 16 Feb 2007 09:40:33 -0200 Subject: spending time with nagios to finetune In-Reply-To: <45D4E67F.7010803@citytower.com> References: <45D4E67F.7010803@citytower.com> Message-ID: <003f01c751bf$45401720$780ba8c0@tlwnbedu1> People, We run a 40 servers/450 services installation and spend 3 hours per month in fine tuning. We have average 30 notifications per day, and less than 10% are false posivites. The secret? Tuning the critical/warning thresholds very carefully. In ongoing operation you can learn how is the REAL critical/warning thresholds, then adjust you nagios to them. Best Regards Eduardo Moura Telway Tecnologia -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sjaak Nabuurs Sent: Thursday, February 15, 2007 9:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] spending time with nagios to finetune Hello nagios users. We run about 50 hosts with approx 400 services to check (webservice apache/mail/mysql/mysql_replica/ftp/load/procs/disks/mailq/temp/backups). Spending a lot of time to fine tune nagios, every day nearly 15-60 min , still we have 5 ~ 20 notifications a day. I have some questions, how you run nagios. How much time do you spend a day or week to run nagios ? How much notifications a day do you have ? Must be every notify a real allert or do you also have 80% notifications just for an annoying mobile telephone ring. Would be interesting to hear your idea how you run nagios. Nagios helped me a lot with uptime on my servers. No diskfull errors, no unknown downtime anymore and more happy customers. I'ts Better to spend time on nagios than fixing problems. Thanks in advance. Sjaak ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DaSilva at naps.edu Fri Feb 16 20:46:34 2007 From: DaSilva at naps.edu (Kevin DaSilva) Date: Fri, 16 Feb 2007 14:46:34 -0500 Subject: Snmptt In-Reply-To: <5CB07719-2DC8-4CA0-A7F4-9C7E9431913B@frontierflying.com> References: <45D57DA6.24B4.00A7.0@naps.edu> <5CB07719-2DC8-4CA0-A7F4-9C7E9431913B@frontierflying.com> Message-ID: <45D5C3C8.24B4.00A7.0@naps.edu> Thank you.... Some how my net-snmp or snmpt is translating the INTEGER instead of the OID. To your knowledge are there any parameters that need to setup? >>> Israel Brewster 2/16/2007 12:41 PM >>> A snipit from mine (some data x'd out of course): Fri Jan 5 13:24:12 2007: Unknown trap (.1.3.6.1.4.1.562.50.1.1.0.6) received from xxxx at: Value 0: xxxx Value 1: xx.x.x.xx Value 2: 0:0:00:09.99 Value 3: .1.3.6.1.4.1.562.50.1.1.0.6 Value 4: xx.xx.xx.xxx Value 5: public Value 6: Ent Value 0: .1.3.6.1.4.1.562.50.1.2.1.0=1695 Ent Value 1: .1.3.6.1.4.1.562.50.1.2.2.0=07 01 05 13 24 09 Ent Value 2: .1.3.6.1.4.1.562.50.1.2.3.0=3 Ent Value 3: .1.3.6.1.4.1.562.50.1.2.4.0=1 Ent Value 4: .1.3.6.1.4.1.562.50.1.2.5.0=xxxxxxxxxx Ent Value 5: .1.3.6.1.4.1.562.50.1.2.6.0=Frontier Flying - Frontier Fairbanks Switch Ent Value 6: .1.3.6.1.4.1.562.50.1.2.7.0=xxxxxxx Ent Value 7: .1.3.6.1.4.1.562.50.1.2.8.0=Telecom Billing System[GB] Ent Value 8: .1.3.6.1.4.1.562.50.1.2.9.0=xxx.xxx.xxx.xxx Ent Value 9: .1.3.6.1.4.1.562.50.1.2.10.0=2 Ent Value 10: .1.3.6.1.4.1.562.50.1.2.11.0=administrator Ent Value 11: .1.3.6.1.4.1.562.50.1.2.12.0=Collection task Done. Records: 156 - Errors: 0 - Warnings: 1 ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- On Feb 16, 2007, at 5:47 AM, Kevin DaSilva wrote: > Hi All... > > Can someone send me a snmpttunknown.log file. I would like to > compare a > good log file to mine. I'm not sure that snmptt is configured > correctly. > I seem to have all my traps logged as unknown. It seems that snmptt is > looking at the INTEGER and not the OID. > > I have nothing being logged into the /var/log/smptt.log file. > > Attached is an example of what I'm seeing.... > > Thanks... > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Feb 16 20:58:33 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 16 Feb 2007 11:58:33 -0800 Subject: Snmptt In-Reply-To: <45D5C3C8.24B4.00A7.0@naps.edu> References: <45D57DA6.24B4.00A7.0@naps.edu> <5CB07719-2DC8-4CA0-A7F4-9C7E9431913B@frontierflying.com> <45D5C3C8.24B4.00A7.0@naps.edu> Message-ID: <20070216195833.GU11333@pmorris.usa.hp.com> On Fri, 16 Feb 2007, Kevin DaSilva wrote: > Thank you.... > > Some how my net-snmp or snmpt is translating the INTEGER instead of the > OID. > > To your knowledge are there any parameters that need to setup? There are several config parameters pertaining to OID translation: Mine are set like this: # Set to 1 to enable the use of the Perl module from the UCD-SNMP / # NET-SNMP package. net_snmp_perl_enable = 1 # This sets the best_guess parameter used by the UCD-SNMP / NET-SNMP # Perl module for # translating symbolic nams to OIDs and vice versa. net_snmp_perl_best_guess = 2 # Configures how the OID of the received trap is handled when outputting # to a log file / # database. It does NOT apply to the $O variable. translate_log_trap_oid = 1 # Configures how OIDs contained in the VALUE of the variable bindings # are handled. translate_value_oids = 1 # Configures how the symbolic enterprise OID will be displayed for $E. translate_enterprise_oid_format = 1 # Configures how the symbolic trap OID will be displayed for $O. translate_trap_oid_format = 1 # Configures how the symbolic trap OID will be displayed for $v, $-n, # $+n, $-* and $+*. translate_varname_oid_format = 1 # Set to 0 to disable converting INTEGER values to enumeration tags as # defined in the # MIB files translate_integers = 1 # Allows you to set the MIBS environment variable used by SNMPTT mibs_environment = ALL ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at bortal.de Fri Feb 16 22:14:49 2007 From: ml at bortal.de (mario) Date: Fri, 16 Feb 2007 22:14:49 +0100 Subject: Mail throughput plugin In-Reply-To: References: Message-ID: <45D61EC9.3090000@bortal.de> Hello Marc, i am getting this error: "my" variable $i masks earlier declaration in same scope at /usr/lib/nagios/plugins/check_email_loop.pl line 193. syntax error at /usr/lib/nagios/plugins/check_email_loop.pl line 47, near "'3')" Execution of /usr/lib/nagios/plugins/check_email_loop.pl aborted due to compilation errors. Can you verify this? Thanks, Mario Marc Powell wrote: > >> -----Original Message----- >> From: mario [mailto:ml at bortal.de] >> Sent: Wednesday, February 07, 2007 8:43 AM >> To: Marc Powell >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Mail throughput plugin >> >> > > > >> The check_email_loop.pl.rej and the patched check_email_loop script is >> attached. >> >> > > No but it looks like there are other differences in the file than my > original other than changes my patch created. Attached is the full file > I have. > > -- > > marc > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 17 00:04:14 2007 From: marc at ena.com (Marc Powell) Date: Fri, 16 Feb 2007 17:04:14 -0600 Subject: spending time with nagios to finetune Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sjaak Nabuurs > Sent: Thursday, February 15, 2007 5:02 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] spending time with nagios to finetune > > Hello nagios users. > > We run about 50 hosts with approx 400 services to check (webservice > apache/mail/mysql/mysql_replica/ftp/load/procs/disks/mailq/temp/backups) . > Spending a lot of time to fine tune nagios, every day nearly 15-60 min , > still we have 5 ~ 20 notifications a day. That really sounds excessive. We monitor hundreds of hosts and thousands of routers and have only have a handful of alerts a week. Are you taking the time to correct the error conditions such that they don't happen again or happen only rarely? That's the biggest step you can take in reducing the number of alerts you receive. The second is to be sure that you're monitoring things that really are important. > I have some questions, how you run nagios. > How much time do you spend a day or week to run nagios ? Measured in minutes or less. I presume you mean tuning or other. I rarely have to touch the system at all. 95% of our config generation is automated out of our customer databases so there's little that I need to do there. There are a handful of special case host monitoring that we're doing that I have to modify every once in a while but it's very rare. > How much notifications a day do you have ? A handful a week, mostly due to Telco circuit issues that we have little control over (we monitor >5000 circuits). > Must be every notify a real allert or do you also have 80% notifications > just for an annoying mobile telephone ring. Not sure about this but it sounds like it would depend on the criticality of the service that you're monitoring. For our circuit notifications, we don't send email alerts if there is at least one circuit up at a multi-circuit site. Same with our load balanced servers. If they're all down or there's not redundancy at all, then that's usually alertable. > Nagios helped me a lot with uptime on my servers. > No diskfull errors, no unknown downtime anymore and more happy customers. > I'ts Better to spend time on nagios than fixing problems. Nagios can help a great deal in determining where you aren't being proactive enough in preventing problems. As you work through those cases you'll find that your systems are more reliable and you'll have fewer and fewer notifications. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Sat Feb 17 00:06:08 2007 From: sschwartz at gracenote.com (Steven Schwartz) Date: Fri, 16 Feb 2007 15:06:08 -0800 Subject: A question...cascading failures and failure to recover Message-ID: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> I've noticed an odd circumstance on two of my four nagios servers lately, and searching has found me no answers. Has anyone experienced symptoms similar to these: 1) On a given server, a plugin produces a "critical failure" on many (sometimes all) of the systems using that particular plugin. 2) Tests by hand of said plugin produce an "OK" result. 3) The system does not acknowledge the service having recovered until checks are rescheduled by force, and then execute OK. Does this ring bells with anyone? Thanks, Steven Schwartz Systems Administrator, Gracenote, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sat Feb 17 00:18:03 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 16 Feb 2007 15:18:03 -0800 Subject: A question...cascading failures and failure to recover In-Reply-To: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> References: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> Message-ID: <20070216231803.GY11333@pmorris.usa.hp.com> On Fri, 16 Feb 2007, Steven Schwartz wrote: > I've noticed an odd circumstance on two of my four nagios servers > lately, and searching has found me no answers. Has anyone experienced > symptoms similar to these: > > 1) On a given server, a plugin produces a "critical failure" on many > (sometimes all) of the systems using that particular plugin. > > 2) Tests by hand of said plugin produce an "OK" result. > > 3) The system does not acknowledge the service having recovered until > checks are rescheduled by force, and then execute OK. > > Does this ring bells with anyone? There are a lot of circumstances that could cause something like this, from a bad plugin, to issues with embedded perl, to network issues, to incorrect file permissions or environment. There's just not nearly enough info here to have an idea where to start looking, though. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Sat Feb 17 00:22:03 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Fri, 16 Feb 2007 17:22:03 -0600 Subject: A question...cascading failures and failure to recover In-Reply-To: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> References: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> Message-ID: <45D63C9B.9010502@epsiia.com> Steven Schwartz wrote: > 1) On a given server, a plugin produces a "critical failure" on many > (sometimes all) of the systems using that particular plugin. > > 2) Tests by hand of said plugin produce an "OK" result. > > 3) The system does not acknowledge the service having recovered until > checks are rescheduled by force, and then execute OK. > Hi, You'd have to say what the plugin is & what it's using to connect to the remote hosts (SSH, SNMP, etc). It could be you have some underlying connectivity issues on your network. - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Sat Feb 17 00:25:03 2007 From: sschwartz at gracenote.com (Steven Schwartz) Date: Fri, 16 Feb 2007 15:25:03 -0800 Subject: A question...cascading failures and failure to recover In-Reply-To: <20070216231803.GY11333@pmorris.usa.hp.com> References: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> <20070216231803.GY11333@pmorris.usa.hp.com> Message-ID: <119461A3B1C2A847BABA421E6EB62CEA10CD81@EMAIL1.gracenote.gracenote.com> >>n Fri, 16 Feb 2007, Steven Schwartz wrote: > >> I've noticed an odd circumstance on two of my four nagios servers >> lately, and searching has found me no answers. Has anyone experienced >> symptoms similar to these: >> >> 1) On a given server, a plugin produces a "critical failure" on many >> (sometimes all) of the systems using that particular plugin. >> >> 2) Tests by hand of said plugin produce an "OK" result. >> >> 3) The system does not acknowledge the service having recovered until >> checks are rescheduled by force, and then execute OK. >> >> Does this ring bells with anyone? >There are a lot of circumstances that could cause something like this, >from a bad plugin, to issues with embedded perl, to network issues, to >incorrect file permissions or environment. Ah. Hm. Embedded perl is definitely worth a look, as one of them (upon rechecking, the problem's happened with two plugins) is a perl script, though the other is simple, ugly Bourne shell. As to a bad plugin, would that I could ask for help there, but it's a homebrew plugin to monitor proprietary code, so there's not much help I can ask for there. >There's just not nearly enough info here to have an idea where to start >looking, though. Anything in particular I could help provide, then? -rwx------ 1 nagios nagios 401 Jan 11 15:46 s3test Thank you for the suggested places to look, regardless... Steven Schwartz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Feb 17 09:13:25 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 17 Feb 2007 09:13:25 +0100 (CET) Subject: A question...cascading failures and failure to recover In-Reply-To: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> References: <119461A3B1C2A847BABA421E6EB62CEA10CD7F@EMAIL1.gracenote.gracenote.com> Message-ID: On Fri, 16 Feb 2007, Steven Schwartz wrote: > I've noticed an odd circumstance on two of my four nagios servers > lately, and searching has found me no answers. Has anyone experienced > symptoms similar to these: > > 1) On a given server, a plugin produces a "critical failure" on many > (sometimes all) of the systems using that particular plugin. > > 2) Tests by hand of said plugin produce an "OK" result. > > 3) The system does not acknowledge the service having recovered until > checks are rescheduled by force, and then execute OK. Rea the threads on issues where people are staring at the OK prompt where they should heve been investigating the numerical result of the plugin. As that is what Nagios cares about. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chandler.lists at chapman.edu Sat Feb 17 09:57:24 2007 From: chandler.lists at chapman.edu (Jay Chandler) Date: Sat, 17 Feb 2007 00:57:24 -0800 Subject: What to Monitor Message-ID: <45D6C374.8030106@chapman.edu> I'm primarily responsible for mailservers at my site. So far I have monitors running on the host's responding to pings, to load average, and to the mail queue. Anything else anyone can suggest that I monitor? I've only got three or four mailservers, so I don't mind going a smidgen overboard on their monitoring... -- Jay Chandler Network Administrator, Chapman University 714.628.7249 / chandler at chapman.edu Today's Excuse: A star wars satellite accidently blew up the WAN. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Sat Feb 17 15:35:54 2007 From: barbereau at gmail.com (=?UTF-8?Q?S=C3=A9bastien_Barbereau?=) Date: Sat, 17 Feb 2007 14:35:54 +0000 Subject: What to Monitor In-Reply-To: <45D6C374.8030106@chapman.edu> References: <45D6C374.8030106@chapman.edu> Message-ID: <4e0e33ee0702170635j69de6b39h6e6623e9c1f62d6e@mail.gmail.com> tpc port state service answer mailqueueS (amount of mails per mail queue, size of mailqueueS) => depends on your smtp software disk space number of smtp processes number of AV/anti-spam and related processes number of open ports on the host log file DNS service behabiors (resolv working or cache OK) of course there are also all other system related services which may be running on the servers: snmpd, sshd, traffic on interface,... On 2/17/07, Jay Chandler wrote: > > I'm primarily responsible for mailservers at my site. > > So far I have monitors running on the host's responding to pings, to > load average, and to the mail queue. Anything else anyone can suggest > that I monitor? I've only got three or four mailservers, so I don't > mind going a smidgen overboard on their monitoring... > > -- > Jay Chandler > Network Administrator, Chapman University > 714.628.7249 / chandler at chapman.edu > Today's Excuse: A star wars satellite accidently blew up the WAN. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivera01 at sbcglobal.net Sun Feb 18 03:06:58 2007 From: rivera01 at sbcglobal.net (David Rivera) Date: Sat, 17 Feb 2007 18:06:58 -0800 (PST) Subject: checking for errors in messages file using Nagios In-Reply-To: <4e0e33ee0702170635j69de6b39h6e6623e9c1f62d6e@mail.gmail.com> References: <4e0e33ee0702170635j69de6b39h6e6623e9c1f62d6e@mail.gmail.com> Message-ID: <20070218020658.2468.qmail@web82113.mail.mud.yahoo.com> Using Nagios, How can i get it to check for errors such as CPU/Memory/drive errors that get logged in /var/adm/messages on Solaris and Linux boxes? Currently that is my only place of vulnerability for what we intend to use Nagios for, I need to be able to have Nagios alert me on errors that get logged in the /var/adm/messages file of possible system issues. Thanks David Money can't buy happiness, but neither can poverty. -Leo Rosten -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Sun Feb 18 04:28:42 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 17 Feb 2007 22:28:42 -0500 Subject: checking for errors in messages file using Nagios In-Reply-To: <20070218020658.2468.qmail@web82113.mail.mud.yahoo.com> References: <4e0e33ee0702170635j69de6b39h6e6623e9c1f62d6e@mail.gmail.com> <20070218020658.2468.qmail@web82113.mail.mud.yahoo.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of David Rivera > Sent: Saturday, February 17, 2007 6:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] checking for errors in messages file > using Nagios > > > Using Nagios, > > How can i get it to check for errors such as CPU/Memory/drive > errors that get logged in /var/adm/messages on Solaris and > Linux boxes? > > Currently that is my only place of vulnerability for what we > intend to use Nagios for, I need to be able to have Nagios > alert me on errors that get logged in the /var/adm/messages > file of possible system issues. If all you want is to be notified based on log entries, it's very possible Nagios isn't the right tool for you. However, there are several tools out there you can use to integrate log checking with Nagios. I've had really good results using SEC to submit passive checks to Nagios. http://www.estpak.ee/~risto/sec/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Feb 18 19:24:55 2007 From: marc at ena.com (Marc Powell) Date: Sun, 18 Feb 2007 12:24:55 -0600 Subject: checking for errors in messages file using Nagios Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David Rivera > Sent: Saturday, February 17, 2007 8:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] checking for errors in messages file using Nagios > > > Using Nagios, > > How can i get it to check for errors such as CPU/Memory/drive errors that > get logged in /var/adm/messages on Solaris and Linux boxes? There are a number of plugins available for checking for strings in log files, both included in the standard plugins (check_log) and at NagiosExchange (check_log2.pl). There are probably others as well. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Mon Feb 19 04:43:22 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 19 Feb 2007 16:43:22 +1300 Subject: What to Monitor In-Reply-To: <45D6C374.8030106@chapman.edu> References: <45D6C374.8030106@chapman.edu> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A289E8BC@UXCHANGE3.UoA.auckland.ac.nz> > So far I have monitors running on the host's responding to pings, to > load average, and to the mail queue. Anything else anyone > can suggest > that I monitor? I've only got three or four mailservers, so I don't > mind going a smidgen overboard on their monitoring... We also monitor - CPU, Memory, filesystems, load average, swap activity, mail queues (active and deferred), mail throughput in messages/min (passed, spam, virus) plus a detailed analysis of the virus types and spam rules, greylisting activity and database size, tcp ports for each mail input and relay stage, SMTPS SSL certificate expiry, active users, active connections, time taken for a test email to pass through the system, number of mail processes (postfix, amavis, gld), virus scanner daemons, mail cluster activity, performance, and failover. Plus most of this is also graphed where possible. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From umuta at sabanciuniv.edu Mon Feb 19 08:04:20 2007 From: umuta at sabanciuniv.edu (Umut Arus) Date: Mon, 19 Feb 2007 09:04:20 +0200 Subject: Hosts information problem when down Message-ID: <45D94BF4.8000000@sabanciuniv.edu> Hello, Nagios checks hosts using ping in my configuration. Today, However it didn't take mind and didn't send any alert although server was hang down. Host answer to ping. On the other hand, I already control the services. I want to examine the hosts if right method by ping control. Is there any suggestion to healthy control of the hosts? thanks. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Feb 19 15:52:54 2007 From: marc at ena.com (Marc Powell) Date: Mon, 19 Feb 2007 08:52:54 -0600 Subject: Mail throughput plugin Message-ID: > -----Original Message----- > From: mario [mailto:ml at bortal.de] > Sent: Friday, February 16, 2007 3:15 PM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Mail throughput plugin > > Hello Marc, > > i am getting this error: > "my" variable $i masks earlier declaration in same scope at > /usr/lib/nagios/plugins/check_email_loop.pl line 193. > syntax error at /usr/lib/nagios/plugins/check_email_loop.pl line 47, > near "'3')" > Execution of /usr/lib/nagios/plugins/check_email_loop.pl aborted due to > compilation errors. > > > Can you verify this? The version I sent does not have these errors -- $ perl -cw check_email_loop.pl check_email_loop.pl syntax OK Line 193 in the version I sent is even a comment. No possibility of a syntax error. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.duffy at tney.northy.nhs.uk Mon Feb 19 17:01:30 2007 From: mark.duffy at tney.northy.nhs.uk (Mark Duffy) Date: Mon, 19 Feb 2007 16:01:30 -0000 Subject: Check_nt & Microsoft Exchange 6.5 Message-ID: <97B21E709D62C643AF853C9543C488A14FFEB1@FLEX3.tney.northy.nhs.uk> Hello All, Has anyone any experience of checking mail queues with check NT and Microsoft Exchange 2003 (v6.5), I have managed to use some of the checks from nagios-exchange that were designed for exchange v5.5 but I am not sure how to check other queues e.g. "Local delivery" "Messages waiting to be routed" if anyone knows how to do this or how to find out the queue names in exchange that would be great. Regards, Mark Duffy IT Support Desk Analyst Tees, Esk And Wear Valleys NHS Trust Flatts Lane Centre Flatts Lane Normanby Middlesbrough TS6 0SZ Tel: 01642 283941 This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Mon Feb 19 17:56:54 2007 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 19 Feb 2007 16:56:54 +0000 Subject: FOSDEM talk about Nagios Plugins Message-ID: <1AD98F39-71F1-4D3E-9695-9B55A8790F9B@altinity.com> Hi! If any of you are going to FOSDEM in Brussels this coming weekend, please pop round and say hello! I will be in giving a 15 minute "Lightning Talk" about the Nagios Plugins, which will comprise a quick introduction to Nagios and the Plugins and a "how to write a plugin in 8 minutes" demonstration. More details here: http://fosdem.org/2007/schedule/events/59 Videos will be available after the show - I will follow up with links when they are released. Look forward to seeing some of you there! Ton http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Mon Feb 19 19:38:27 2007 From: snyper9311 at yahoo.com (abid dar) Date: Mon, 19 Feb 2007 10:38:27 -0800 (PST) Subject: Having trouble installing nagios-plugin-1.4.6 - fedora 6 Message-ID: <288593.97262.qm@web36805.mail.mud.yahoo.com> Fedora Core release 6 (Zod) Linux 2.6.18-1.2798.fc6xen #1 Trying to install nagios-plugin-1.4.6 error message im getting: check_mysql.c:165: error: ?MYSQL_FIELD? undeclared (first use in this function) check_mysql.c:165: error: ?fields? undeclared (first use in this function) make[2]: *** [check_mysql-check_mysql.o] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.6/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.6' make: *** [all] Error 2 tried: ./configure --prefix=/usr/local/nagios/ --with-mysql=/usr/bin same error. suggestions: ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Lane at CIBC.com Mon Feb 19 20:30:36 2007 From: Jim.Lane at CIBC.com (Lane, Jim) Date: Mon, 19 Feb 2007 14:30:36 -0500 Subject: Having trouble installing nagios-plugin-1.4.6 -fedora 6 In-Reply-To: <288593.97262.qm@web36805.mail.mud.yahoo.com> References: <288593.97262.qm@web36805.mail.mud.yahoo.com> Message-ID: <42C65DFAF1777047B7669BF53A8BE48D05421A9D@CBSCC-X3-MBVS02.ad.cibc.com> The parameter --with-mysql is supposed to point to the root directory of your MySQL installation. I doubt that /usr/bin is a valid value for this. On my systems it installs to /usr/local/mysql. I suggest you check with whoever installed MySQL to get the proper value for your shop. You should expect to see something like the following: # ls -l /usr/local/mysql total 16 drwxr-xr-x 2 root root 1536 Jan 17 14:46 bin drwxr-xr-x 3 root root 512 Jan 17 14:45 include drwxr-xr-x 2 root root 512 Jan 17 14:45 info drwxr-xr-x 3 root root 512 Jan 17 14:45 lib drwxr-xr-x 2 root root 512 Jan 17 14:46 libexec drwxr-xr-x 4 root root 512 Jan 17 14:46 man -rw-r--r-- 1 mysql mysql 4912 Jan 18 07:44 my.cnf drwxr-xr-x 7 root root 512 Jan 17 14:46 mysql-test drwxr-xr-x 3 root root 512 Jan 17 14:46 share drwxr-xr-x 5 root root 1024 Jan 17 14:46 sql-bench drwxr-xr-x 25 mysql mysql 1024 Feb 19 13:35 var in the MySQL root. HTH Jim Lane -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of abid dar Sent: February 19, 2007 1:38 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Having trouble installing nagios-plugin-1.4.6 -fedora 6 Fedora Core release 6 (Zod) Linux 2.6.18-1.2798.fc6xen #1 Trying to install nagios-plugin-1.4.6 error message im getting: check_mysql.c:165: error: ?MYSQL_FIELD? undeclared (first use in this function) check_mysql.c:165: error: ?fields? undeclared (first use in this function) make[2]: *** [check_mysql-check_mysql.o] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.6/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.6' make: *** [all] Error 2 tried: ./configure --prefix=/usr/local/nagios/ --with-mysql=/usr/bin same error. suggestions: ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Mon Feb 19 20:45:08 2007 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Mon, 19 Feb 2007 20:45:08 +0100 Subject: Having trouble installing nagios-plugin-1.4.6 - fedora 6 Message-ID: > Hi Did you install all mysql-devel / client depencies ? Do a ldconfig -v | grep mysql ????? Vi /etc/ld.so.conf and add your path to the Mysql-lib i.ex . /usr/lib/mysql then do a ldconfig this works for me regards /J?rg Fedora Core release 6 (Zod) Linux 2.6.18-1.2798.fc6xen #1 Trying to install nagios-plugin-1.4.6 error message im getting: check_mysql.c:165: error: ?MYSQL_FIELD? undeclared (first use in this function) check_mysql.c:165: error: ?fields? undeclared (first use in this function) make[2]: *** [check_mysql-check_mysql.o] Error 1 make[2]: Leaving directory `/root/nagios-plugins-1.4.6/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios-plugins-1.4.6' make: *** [all] Error 2 tried: ./configure --prefix=/usr/local/nagios/ --with-mysql=/usr/bin same error. suggestions: __________________________________________________________________________ __________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2007-02-18 16:35 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.2/692 - Release Date: 2007-02-18 16:35 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Mon Feb 19 23:22:36 2007 From: amoran at apple.com (Andrew Moran) Date: Mon, 19 Feb 2007 14:22:36 -0800 Subject: Understanding notification_interval and state changes on free space monitors Message-ID: I setup Nagios to watch a service. I thought I had told it to notify me every 16 hours. Over the weekend, a problem occurred and I was notified every 40 minutes or so. I can't help but think I must be missing a configuration somewhere. The service in question is monitoring free space on a filesystem. I want it to go into warning when there is less than 10% free and become critical when there is 0% free. From the event log, it seems like the state is going from CRITICAL to WARNING to CRITICAL, and every time it goes to CRITICAL, it sends me email.. but I can't figure out why it's going back into warning mode when the space free remained at 0%. Part of the event log: [02-17-2007 23:45:43] SERVICE ALERT: menc001;mc_vol001 Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 MB (0%): [02-17-2007 23:20:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: /Volumes/ mc_vol001 0 MB (0%): [02-17-2007 23:20:43] SERVICE ALERT: menc001;mc_vol001 Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/mc_vol001 0 MB (0%): [02-17-2007 23:15:43] SERVICE ALERT: menc001;mc_vol001 Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 MB (0%): [02-17-2007 23:05:49] Auto-save of retention data completed successfully. [02-17-2007 22:40:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: /Volumes/ mc_vol001 0 MB (0%): [02-17-2007 22:40:43] SERVICE ALERT: menc001;mc_vol001 Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/mc_vol001 0 MB (0%): [02-17-2007 22:05:49] Auto-save of retention data completed successfully. [02-17-2007 21:55:43] SERVICE ALERT: menc001;mc_vol001 Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 MB (0%): [02-17-2007 21:30:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: /Volumes/ mc_vol001 0 MB (0%): Relevant part of service definition: notification_options u,c,r notification_interval 960 notification_period 24x7 check_command check_nrpe!check_disk!10%! 0%!/Volumes/mc_vol001 } Ultimately I only want it to notify me when it's critical, not in warning, and I want the notification to only be sent every 16 hours (960 units, my unit is defined elsewhere as 60 seconds). Any help as to what I'm doing wrong would be appreciated. Thanks. --Andy -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Mon Feb 19 23:38:05 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Mon, 19 Feb 2007 16:38:05 -0600 Subject: Understanding notification_interval and state changes on free space monitors In-Reply-To: References: Message-ID: <45DA26CD.6070509@epsiia.com> Andrew Moran wrote: > > The service in question is monitoring free space on a filesystem. I > want it to go into warning when there is less than 10% free and become > critical when there is 0% free. From the event log, it seems like the > state is going from CRITICAL to WARNING to CRITICAL, and every time it > goes to CRITICAL, it sends me email.. but I can't figure out why it's > going back into warning mode when the space free remained at 0%. > Hi, What is the service output showing when it's in CRITICAL and what does it show when it's in WARNING? One or the other may actually be a connection refused or something similar. - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Mon Feb 19 23:43:03 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Mon, 19 Feb 2007 16:43:03 -0600 Subject: Understanding notification_interval and state changes on free space monitors In-Reply-To: <45DA26CD.6070509@epsiia.com> References: <45DA26CD.6070509@epsiia.com> Message-ID: <45DA27F7.3040909@epsiia.com> Josh Yost wrote: > Andrew Moran wrote: >> The service in question is monitoring free space on a filesystem. I >> want it to go into warning when there is less than 10% free and become >> critical when there is 0% free. From the event log, it seems like the >> state is going from CRITICAL to WARNING to CRITICAL, and every time it >> goes to CRITICAL, it sends me email.. but I can't figure out why it's >> going back into warning mode when the space free remained at 0%. >> > > Hi, > What is the service output showing when it's in CRITICAL and what does > it show when it's in WARNING? One or the other may actually be a > connection refused or something similar. > > - Josh o nvm, you included the log snip... What version of check_disk are you using? maybe it's a known issue for that version when it is handling 0% and 0 MB values (?) - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 20 00:46:06 2007 From: marc at ena.com (Marc Powell) Date: Mon, 19 Feb 2007 17:46:06 -0600 Subject: Understanding notification_interval and statechanges on free space monitors Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andrew Moran > Sent: Monday, February 19, 2007 4:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Understanding notification_interval and > statechanges on free space monitors > > > I setup Nagios to watch a service. I thought I had told it to notify me > every 16 hours. Over the weekend, a problem occurred and I was notified > every 40 minutes or so. I can't help but think I must be missing a > configuration somewhere. [chop] > Part of the event log: > > [02-17-2007 23:45:43] SERVICE ALERT: menc001;mc_vol001 > Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 MB > (0%): > [02-17-2007 23:20:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 > Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: > /Volumes/mc_vol001 0 MB (0%): > [02-17-2007 23:20:43] SERVICE ALERT: menc001;mc_vol001 > Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/mc_vol001 0 MB > (0%): > [02-17-2007 23:15:43] SERVICE ALERT: menc001;mc_vol001 > Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 MB > (0%): > [02-17-2007 23:05:49] Auto-save of retention data completed successfully. > [02-17-2007 22:40:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 > Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: > /Volumes/mc_vol001 0 MB (0%): > [02-17-2007 22:40:43] SERVICE ALERT: menc001;mc_vol001 > Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/mc_vol001 0 MB > (0%): > [02-17-2007 22:05:49] Auto-save of retention data completed successfully. > [02-17-2007 21:55:43] SERVICE ALERT: menc001;mc_vol001 > Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 MB > (0%): > [02-17-2007 21:30:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 > Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: > /Volumes/mc_vol001 0 MB (0%): Smells like multiple nagios daemons running. Do you have more than one started? Stop nagios, see if any remain, kill them, restart nagios. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Tue Feb 20 02:16:29 2007 From: stava at telcotec.se (Lars Stavholm) Date: Tue, 20 Feb 2007 02:16:29 +0100 Subject: Having trouble installing nagios-plugin-1.4.6 - fedora 6 In-Reply-To: <288593.97262.qm@web36805.mail.mud.yahoo.com> References: <288593.97262.qm@web36805.mail.mud.yahoo.com> Message-ID: <45DA4BED.8000001@telcotec.se> abid dar wrote: > Fedora Core release 6 (Zod) > Linux 2.6.18-1.2798.fc6xen #1 > > Trying to install nagios-plugin-1.4.6 > > error message im getting: > > check_mysql.c:165: error: ?MYSQL_FIELD? undeclared (first use in this function) > check_mysql.c:165: error: ?fields? undeclared (first use in this function) > make[2]: *** [check_mysql-check_mysql.o] Error 1 > make[2]: Leaving directory `/root/nagios-plugins-1.4.6/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/nagios-plugins-1.4.6' > make: *** [all] Error 2 > > tried: > ./configure --prefix=/usr/local/nagios/ --with-mysql=/usr/bin > > same error. > > suggestions: Have you got mysql-devel installed? /L ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Tue Feb 20 03:14:22 2007 From: amoran at apple.com (Andrew Moran) Date: Mon, 19 Feb 2007 18:14:22 -0800 Subject: Understanding notification_interval and state changes on free space monitors In-Reply-To: <45DA35A5.9040706@epsiia.com> References: <45DA35A5.9040706@epsiia.com> Message-ID: <42D0809B-918E-47E3-B2DC-AA2A0D17F32D@apple.com> Warning is set to 10% and Critical is set to 0%. I could understand why this would be an issue if they both were set to 0%, but they are not. In both warning and critical alerts, according to logs, the space is returning 0 megabytes and 0%.. Even if the megabytes were increasing a little, I'm basing it on percentage, and the 0% shouldn't change.. but in this case, they both looked like they weren't changing. This is with check_disk (nagios-plugins 1.4.2) 1.57 --Andy On Feb 19, 2007, at 3:41 PM, Josh Yost wrote: > after looking at the source, I would suggest putting your critical > value > at 1 or 2 or 5% and see if the service still flaps between warning and > critical. > It looks like it's possible that if your disk space is changing > between > almost 0 and 0, then it could flap (from what I can tell) if > critical is > also set to 0%. > > good luck, > - Josh > > > Andrew Moran wrote: >> >> I setup Nagios to watch a service. I thought I had told it to >> notify me >> every 16 hours. Over the weekend, a problem occurred and I was >> notified >> every 40 minutes or so. I can't help but think I must be missing a >> configuration somewhere. >> >> The service in question is monitoring free space on a filesystem. I >> want it to go into warning when there is less than 10% free and >> become >> critical when there is 0% free. From the event log, it seems >> like the >> state is going from CRITICAL to WARNING to CRITICAL, and every >> time it >> goes to CRITICAL, it sends me email.. but I can't figure out why it's >> going back into warning mode when the space free remained at 0%. >> >> Part of the event log: >> >> [02-17-2007 23:45:43] SERVICE ALERT: menc001;mc_vol001 >> Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 >> 0 MB >> (0%): >> [02-17-2007 23:20:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 >> Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: >> /Volumes/mc_vol001 0 MB (0%): >> [02-17-2007 23:20:43] SERVICE ALERT: menc001;mc_vol001 >> Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/ >> mc_vol001 0 >> MB (0%): >> [02-17-2007 23:15:43] SERVICE ALERT: menc001;mc_vol001 >> Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 >> 0 MB >> (0%): >> [02-17-2007 23:05:49] Auto-save of retention data completed >> successfully. >> [02-17-2007 22:40:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 >> Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: >> /Volumes/mc_vol001 0 MB (0%): >> [02-17-2007 22:40:43] SERVICE ALERT: menc001;mc_vol001 >> Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/ >> mc_vol001 0 >> MB (0%): >> [02-17-2007 22:05:49] Auto-save of retention data completed >> successfully. >> [02-17-2007 21:55:43] SERVICE ALERT: menc001;mc_vol001 >> Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 >> 0 MB >> (0%): >> [02-17-2007 21:30:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 >> Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: >> /Volumes/mc_vol001 0 MB (0%): >> >> >> Relevant part of service definition: >> >> notification_options u,c,r >> notification_interval 960 >> notification_period 24x7 >> check_command >> check_nrpe!check_disk!10%!0%!/Volumes/mc_vol001 >> } >> >> >> Ultimately I only want it to notify me when it's critical, not in >> warning, and I want the notification to only be sent every 16 >> hours (960 >> units, my unit is defined elsewhere as 60 seconds). Any >> help as >> to what I'm doing wrong would be appreciated. Thanks. >> >> --Andy >> >> >> --------------------------------------------------------------------- >> --- >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> >> >> --------------------------------------------------------------------- >> --- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Tue Feb 20 03:14:54 2007 From: amoran at apple.com (Andrew Moran) Date: Mon, 19 Feb 2007 18:14:54 -0800 Subject: Understanding notification_interval and statechanges on free space monitors In-Reply-To: References: Message-ID: <6FF6528B-FC5E-4399-BAF3-91C31CCA8435@apple.com> Nope, only one nagios daemon running. I checked that one as well. --Andy On Feb 19, 2007, at 3:46 PM, Marc Powell wrote: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users- >> bounces at lists.sourceforge.net] On Behalf Of Andrew Moran >> Sent: Monday, February 19, 2007 4:23 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Understanding notification_interval and >> statechanges on free space monitors >> >> >> I setup Nagios to watch a service. I thought I had told it to notify > me >> every 16 hours. Over the weekend, a problem occurred and I was > notified >> every 40 minutes or so. I can't help but think I must be missing a >> configuration somewhere. > > [chop] > >> Part of the event log: >> >> [02-17-2007 23:45:43] SERVICE ALERT: menc001;mc_vol001 >> Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 > MB >> (0%): >> [02-17-2007 23:20:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 >> Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: >> /Volumes/mc_vol001 0 MB (0%): >> [02-17-2007 23:20:43] SERVICE ALERT: menc001;mc_vol001 >> Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/ >> mc_vol001 0 > MB >> (0%): >> [02-17-2007 23:15:43] SERVICE ALERT: menc001;mc_vol001 >> Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 > MB >> (0%): >> [02-17-2007 23:05:49] Auto-save of retention data completed > successfully. >> [02-17-2007 22:40:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 >> Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: >> /Volumes/mc_vol001 0 MB (0%): >> [02-17-2007 22:40:43] SERVICE ALERT: menc001;mc_vol001 >> Space;CRITICAL;HARD;4;DISK CRITICAL - free space: /Volumes/ >> mc_vol001 0 > MB >> (0%): >> [02-17-2007 22:05:49] Auto-save of retention data completed > successfully. >> [02-17-2007 21:55:43] SERVICE ALERT: menc001;mc_vol001 >> Space;WARNING;HARD;4;DISK WARNING - free space: /Volumes/mc_vol001 0 > MB >> (0%): >> [02-17-2007 21:30:43] SERVICE NOTIFICATION: andy;menc001;mc_vol001 >> Space;CRITICAL;notify-by-email;DISK CRITICAL - free space: >> /Volumes/mc_vol001 0 MB (0%): > > Smells like multiple nagios daemons running. Do you have more than one > started? Stop nagios, see if any remain, kill them, restart nagios. > > -- > Marc > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Murray.Barton at woodside.com.au Tue Feb 20 03:15:36 2007 From: Murray.Barton at woodside.com.au (Barton, Murray M.) Date: Tue, 20 Feb 2007 11:15:36 +0900 Subject: nagios on solaris chewing CPU Message-ID: <0546E657DC8A36469164F9FDCA30CE25136AF8@permls05.wde.woodside.com.au> Hi, I am running Nagios v2.7 on Solaris 10 (installed from Blastwave) and it is causing a lot of kernel activity such that the machine has few cycles left for anything else. I know it is Nagios because if I stop Nagios then the kernel activity reduces to normal. Sample output from top is below and attached is our main nagios config file. I don't know if this is a bug or a configuration error or just a natural consequence of monitoring ~ 300 hosts. Any clues or suggestions would be appreciated. Cheers Murray load averages: 6.61, 4.20, 3.86 11:12:18 119 processes: 88 sleeping, 10 running, 20 zombie, 1 on cpu CPU states: 3.1% idle, 20.7% user, 76.2% kernel, 0.0% iowait, 0.0% swap Memory: 8192M real, 7175M free, 199M swap in use, 8367M swap free PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 7659 sarge 1 53 2 16M 15M sleep 0:11 8.98% perl 2736 nagios 3 53 0 12M 7352K run 0:05 0.67% nagios 8821 sarge 1 49 2 5320K 4008K run 0:00 0.52% ssh 8594 root 1 59 0 1872K 1520K cpu/0 0:00 0.16% top:2.8 118 daemon 6 59 0 5104K 3192K sleep 203:23 0.12% kcfd 1 root 1 59 0 2392K 1392K run 172:23 0.09% init 26137 root 27 59 0 9384K 8040K sleep 2:07 0.06% nscd 8838 nagios 1 53 0 12M 3936K run 0:00 0.05% nagios 8820 sarge 1 53 2 1264K 1128K sleep 0:00 0.04% sh 8841 nagios 1 53 0 5000K 2336K sleep 0:00 0.03% check_ping 8836 nagios 1 55 0 5000K 2336K sleep 0:00 0.03% check_ping 8818 nagios 1 59 0 5008K 2344K sleep 0:00 0.03% check_ping 8774 nagios 1 59 0 5008K 2344K sleep 0:00 0.03% check_ping 8830 nagios 1 59 0 5000K 2336K sleep 0:00 0.03% check_ping 8825 nagios 1 59 0 5000K 2336K run 0:00 0.02% check_ping NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments. -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.cfg Type: application/octet-stream Size: 29312 bytes Desc: nagios.cfg URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Tue Feb 20 03:28:18 2007 From: snyper9311 at yahoo.com (abid dar) Date: Mon, 19 Feb 2007 18:28:18 -0800 (PST) Subject: sample/default cfg files... Message-ID: <736739.80417.qm@web36814.mail.mud.yahoo.com> I got nagios installed and the plugin installed properly (thanks to those that helped.. I needed to install mysql-devel). However, I am having trouble trying to figure out why sample config are not there.. for example all see in my: /usr/local/nagios/etc/ cgi.cfg-sample commands.cfg-sample localhost.cfg-sample nagios.cfg-sample resource.cfg-sample I don't see some of the other files like: hosts.cfg services.cfg hostgroup.cfg or are these only in the previous version? TIA Fedora Core release 6 (Zod) Linux 2.6.18-1.2798.fc6xen #1 nagios 2.7 nagios-plugin-1.4.6 ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.blake at gmail.com Tue Feb 20 09:41:39 2007 From: rob.blake at gmail.com (Rob Blake) Date: Tue, 20 Feb 2007 08:41:39 +0000 Subject: sample/default cfg files... In-Reply-To: <736739.80417.qm@web36814.mail.mud.yahoo.com> References: <736739.80417.qm@web36814.mail.mud.yahoo.com> Message-ID: On 2/20/07, abid dar wrote: > > I got nagios installed and the plugin installed properly (thanks to those > that helped.. I needed to install mysql-devel). > > However, I am having trouble trying to figure out why sample config are > not there.. > > for example all see in my: /usr/local/nagios/etc/ > > cgi.cfg-sample > commands.cfg-sample > localhost.cfg-sample > nagios.cfg-sample > resource.cfg-sample > > I don't see some of the other files like: > hosts.cfg > services.cfg > hostgroup.cfg Because localhost.cfg is the basic example configuration in which are contained example host, service, contact definitions. In nagios.cfg-sampleyou'll notice that the other files you mentioned are commented out. You don't have to split your configuration of objects at all, but most people do it for the sake of clarity and understanding. So for example you could if you wanted to put all your hosts,services,timeperiods and contacts into one configuration file, it just wouldn't make pleasant reading as the size of your Nagios installation grows. Rob or are these only in the previous version? > > TIA > > Fedora Core release 6 (Zod) > Linux 2.6.18-1.2798.fc6xen #1 > nagios 2.7 > nagios-plugin-1.4.6 > > > > > > > > > > > ____________________________________________________________________________________ > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures list. > http://tv.yahoo.com/collections/265 > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean at zdata.co.za Tue Feb 20 13:57:46 2007 From: sean at zdata.co.za (Sean Thomas) Date: Tue, 20 Feb 2007 14:57:46 +0200 Subject: PING warning Message-ID: <002b01c754ee$b79a7090$fe01a8c0@db.mr.co.za> Hi guys I get the following warning from nagios: PING WARNING - Packet loss = 0%, RTA = 348.18 ms How do I set the the warning time threshold of the RTA to a higher number e.g 500ms so that we do not get so many PING warnings. I think the current(default) notification time is a 100ms. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CKoop at vrg.de Tue Feb 20 14:00:54 2007 From: CKoop at vrg.de (Carsten Koop) Date: Tue, 20 Feb 2007 14:00:54 +0100 Subject: PING warning In-Reply-To: <002b01c754ee$b79a7090$fe01a8c0@db.mr.co.za> References: <002b01c754ee$b79a7090$fe01a8c0@db.mr.co.za> Message-ID: Hi, ./check_ping -h THRESHOLD is ,%% where is the round trip average travel time (ms) which triggers a WARNING or CRITICAL state, and is the percentage of packet loss to trigger an alarm state. - best regards "Sean Thomas" Gesendet von: nagios-users-bounces at lists.sourceforge.net 20.02.2007 13:57 An Kopie Thema [Nagios-users] PING warning Hi guys I get the following warning from nagios: PING WARNING - Packet loss = 0%, RTA = 348.18 ms How do I set the the warning time threshold of the RTA to a higher number e.g 500ms so that we do not get so many PING warnings. I think the current(default) notification time is a 100ms. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From esavage at digitalrage.org Tue Feb 20 16:15:03 2007 From: esavage at digitalrage.org (Elijah Savage) Date: Tue, 20 Feb 2007 10:15:03 -0500 (EST) Subject: PING warning In-Reply-To: <002b01c754ee$b79a7090$fe01a8c0@db.mr.co.za> References: <002b01c754ee$b79a7090$fe01a8c0@db.mr.co.za> Message-ID: <27563430.1351171984503479.JavaMail.root@mail> Example check_ping!100.0,40%!200.0,60% This is 100ms, or 40% packet loss warning 200ms or 60% packet loss critical. ----- Original Message ----- From: Sean Thomas To: nagios-users at lists.sourceforge.net Sent: Tuesday, February 20, 2007 7:57:46 AM GMT-0500 Auto-Detected Subject: [Nagios-users] PING warning Hi guys I get the following warning from nagios: PING WARNING - Packet loss = 0%, RTA = 348.18 ms How do I set the the warning time threshold of the RTA to a higher number e.g 500ms so that we do not get so many PING warnings. I think the current(default) notification time is a 100ms. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mdar-E+QESPr5TdxBDgjK7y7TUQ at public.gmane.org Tue Feb 20 16:07:48 2007 From: mdar-E+QESPr5TdxBDgjK7y7TUQ at public.gmane.org (Manolis Daramas) Date: Tue, 20 Feb 2007 17:07:48 +0200 Subject: [Fwd: Re: About Nagios check_disk feature] Message-ID: <45DB0EC4.6090803@eurodyn.com> Dear Support, Could you please give me a hint or any help on the below issue? Why is this happening? Regards, Manolis Daramas System Engineer European Dynamics 209,Kifisias Av.& Arkadiou Str. 151 24 Maroussi, Athens Tel:+30.210.80.94500 Fax:+30.210.80.94.508 Manolis Daramas wrote: > Hi Ethan, > Thanks for your help in my previous email. > Now I have upgraded Nagios to the latest version (2.7) with all the > required plugins and correct that problem on my machine with Solaris 9 > but on one filesystem. > The other filesystem still is not checked and nagios says that the > path doesn't exist !!!! > The one filesystem is /export/ed-files and the second one is > /export/home. The /export/home says that doesn't exist. > The first one has the partition /dev/dsk/c5t0d1s6 and the second one > has /dev/dsk/c5t0d0s6. Any ideas why is this happening? > > Thanks in advance, > Manolis. > > Ethan Galstad wrote: >> Hi Manolis - >> >> Make sure you are running the latest stable version of Nagios (2.7) >> and the plugins. Many bug fixes get made with each release and your >> problem may be fixes in the newest release of the plugins. If not, >> please send an email message to either the nagios-users or >> nagiosplug-help mailing list. Hope that helps. Take care and best >> of luck. >> >> Manolis Daramas wrote: >>> I have version 2.0b3 and I tried to use this feature of check_disk >>> command to check the disk usage of a file system and it doesn't work >>> properly.The system I want to check is a Solaris 9 ufs file system.I >>> have used this option on another machine with Solaris 8 and it works >>> without any problems.Could be this an issue with Solaris version? Is >>> there any newer version that corrects this problem and if there is >>> could I download it and install it without losing my current >>> configuration? >> >> > -- Ethan Galstad, Nagios Developer --- Email: nagios-hvcSvQUnuUQdnm+yROfE0A at public.gmane.org Website: http://www.nagios.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagiosplug-help mailing list Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Feb 20 17:02:38 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 20 Feb 2007 16:02:38 -0000 Subject: Check_nt & Microsoft Exchange 6.5 In-Reply-To: <97B21E709D62C643AF853C9543C488A14FFEB1@FLEX3.tney.northy.nhs.uk> References: <97B21E709D62C643AF853C9543C488A14FFEB1@FLEX3.tney.northy.nhs.uk> Message-ID: -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 Visit us on stand: 734 http://www.businesscontinuityexpo.co.uk/foundation_it -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Duffy > Has anyone any experience of checking mail queues with check NT > and Microsoft Exchange 2003 (v6.5), I have managed to use some > of the checks from nagios-exchange that were designed for exchange > v5.5 but I am not sure how to check other queues e.g. "Local > delivery" "Messages waiting to be routed" if anyone knows how to > do this or how to find out the queue names in exchange that would > be great. You can download a Word document from the Microsoft site on troubleshooting Exchange 2003 performance issues that includes Suggested queue counters to monitor - http://www.microsoft.com/downloads/details.aspx?familyid=8679F6BD-7FF0-4 1F5-BDD0-C09019409FC0&displaylang=en. Based on that document, I've set up the following commands. I'm not really sure how well they're working (they always return 0 on the quiet Exchange box I'm using them on so far) so I'd be interested to hear how you get on. Phil #################### # MS Exchange checks #################### define command{ command_name check_nt_msexc_smtp_loq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Local Queue Length","SMTP Local queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_smtp_req command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Remote Queue Length","SMTP Remote queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_smtp_caq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Categorizer Queue Length","SMTP Categorizer queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_ismail_sendq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Send Queue Size","IS Mailbox send queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_ismail_recq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Receive Queue Size","IS Mailbox receive queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_ispub_sendq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Public(_Total)\\Send Queue Size","IS Public send queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ define command{ command_name check_nt_msexc_ispub_recq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Public(_Total)\\Receive Queue Size","IS Public receive queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Tue Feb 20 18:00:46 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Tue, 20 Feb 2007 17:00:46 -0000 Subject: Check_nt & Microsoft Exchange 6.5 In-Reply-To: <97B21E709D62C643AF853C9543C488A14FFEB1@FLEX3.tney.northy.nhs.uk> References: <97B21E709D62C643AF853C9543C488A14FFEB1@FLEX3.tney.northy.nhs.uk> Message-ID: Outlook and our disclaimer software mangled this the first time, hopefully this might make the content a bit more obvious. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Duffy > Has anyone any experience of checking mail queues with check NT and > Microsoft Exchange 2003 (v6.5), I have managed to use some of the > checks from nagios-exchange that were designed for exchange > v5.5 but I am not sure how to check other queues e.g. "Local delivery" > "Messages waiting to be routed" if anyone knows how to do this or how > to find out the queue names in exchange that would be great. You can download a Word document from the Microsoft site on troubleshooting Exchange 2003 performance issues that includes Suggested queue counters to monitor - http://www.microsoft.com/downloads/details.aspx?familyid=8679F6BD-7FF0-4 1F5-BDD0-C09019409FC0&displaylang=en. Based on that document, I've set up the following commands. I'm not really sure how well they're working (they always return 0 on the quiet Exchange box I'm using them on so far) so I'd be interested to hear how you get on. #################### # MS Exchange checks #################### define command{ command_name check_nt_msexc_smtp_loq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Local Queue Length","SMTP Local queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_smtp_req command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Remote Queue Length","SMTP Remote queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_smtp_caq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SMTP Server(_Total)\\Categorizer Queue Length","SMTP Categorizer queue length %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_ismail_sendq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Send Queue Size","IS Mailbox send queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_ismail_recq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Mailbox(_Total)\\Receive Queue Size","IS Mailbox receive queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } define command{ command_name check_nt_msexc_ispub_sendq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Public(_Total)\\Send Queue Size","IS Public send queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ define command{ command_name check_nt_msexc_ispub_recq command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\MSExchangeIS Public(_Total)\\Receive Queue Size","IS Public receive queue size %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Feb 20 18:46:05 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 20 Feb 2007 12:46:05 -0500 Subject: Getting a no response error when checking via snmp plugin check_hd Message-ID: <9C63A4713C4E3342B90428CE44806A7302679C1B@PHSXMB5.partners.org> Hi there - I am trying to monitor the disk space usage on several HP-UX 10.20 systems using the check_hd plugin. The command syntax I am using is the following: ./check_hd -C public 80% 90% /dev/vg00/lvol8 The output I am getting is: Critcal: no response Am I using the incorrect syntax, or is there something else I should check? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom 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 information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Wed Feb 21 00:31:45 2007 From: dschlecht at doit.nv.gov (David G Schlecht) Date: Tue, 20 Feb 2007 23:31:45 +0000 (UTC) Subject: HostGroup not visible to notification recipients Message-ID: All, I've encountered a strange issue and hope that someone can tell me if this is a bug or a configuration issue. I have multiple hosts (h1, h2, h3) in a hostGroup. Two of the hosts (h1, h2) are configured with notifications to two different contactGroups (c1, c2). The third host, h3, only notifies one group, c2. All members of c2 can see all the hosts in the host group when viewing the HostGroup Summary. Group c1 cannot see the hostGroup, but can see the individual hosts they get notifications from(h1 and h2). Clicking on the hostGroup link in the host's cgi-bin/extinfo.cgi page produces a page with the message: * 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. Any ideas? -Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Wed Feb 21 00:37:36 2007 From: dschlecht at doit.nv.gov (David G Schlecht) Date: Tue, 20 Feb 2007 23:37:36 +0000 (UTC) Subject: HostGroup not visible to notification recipients References: Message-ID: David G Schlecht doit.nv.gov> writes: > > All, > > I've encountered a strange issue and hope that someone can tell me if this is Oops, version info: Nagios v2.7 running on SLES9.3, 64-bit. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Feb 21 01:49:23 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 20 Feb 2007 19:49:23 -0500 Subject: Getting a no response error when checking via snmpplugin check_hd In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679C1B@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679C1B@PHSXMB5.partners.org> Message-ID: > I am trying to monitor the disk space usage on several HP-UX > 10.20 systems using the check_hd plugin. The command syntax I > am using is the following: > > ./check_hd -C public 80% 90% /dev/vg00/lvol8 > > The output I am getting is: > > Critcal: no response I'm not familiar with that plugin, but have you verified that the HP-UX box is allowing the Nagios machine to poll it over SNMP? Does an snmpwalk from the Nagios machine work, for example? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pipe.garrido at gmail.com Wed Feb 21 03:03:31 2007 From: pipe.garrido at gmail.com (Felipe Garrido) Date: Tue, 20 Feb 2007 23:03:31 -0300 Subject: how old is Nagios ? Message-ID: <7514450b0702201803ica4c69h5ee78818bc67083d@mail.gmail.com> Anyone know how old is Nagios ? I know what Netsait was its old name, so how old is Netsaint? I want to know some of Nagios's history Can anyone help me? Thanks Atte -- Felipe Garrido ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Wed Feb 21 03:32:23 2007 From: snyper9311 at yahoo.com (abid dar) Date: Tue, 20 Feb 2007 18:32:23 -0800 (PST) Subject: htaccess authorization error.. Message-ID: <848138.22445.qm@web36808.mail.mud.yahoo.com> So I am getting the infamous cgi access 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." -- my httpd.conf file-- ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user --my .htaccess file that is the sbin folder AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user --htpasswd.users in etc folder nagiosadmin:xxxx james:xxxx -- When I first go to nagios page http://localhost/nagios/ I get prompted for a username and password and then it lets me in the site but when I click on any links it get the authorization error. the one thing that works is when I turn authentication off I dont have a problem.. --in cgi.cfg when set to 0 it works but when set to 1 it doesnt. use_authentication=0 this has got to be a simple problem with .htpasswd or .htaccess right? when I created the files I followed the documentation and the fact it lets me initially but not into the sub links I get that error.. any thoughts? ____________________________________________________________________________________ TV dinner still cooling? Check out "Tonight's Picks" on Yahoo! TV. http://tv.yahoo.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Wed Feb 21 03:51:37 2007 From: patrickm at garlic.com (patrickm) Date: Tue, 20 Feb 2007 18:51:37 -0800 Subject: Sending a txt message as acknowledgement for event Message-ID: <2289639d1f23312372acd4ee06d63816@imap.garlic.com> Hello, Is it possible to reply to a txt message that is sent from the nagios server as acknowledgement when an event occurs, like an unreachable server or other events? Thanks in advance. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chaim at intercomp.co.il Wed Feb 21 04:15:02 2007 From: chaim at intercomp.co.il (Chaim Keren Tzion) Date: Wed, 21 Feb 2007 05:15:02 +0200 Subject: vicq with nagios Message-ID: <200702210515.02522.chaim@intercomp.co.il> Hi, I am having trouble getting vicq working with nagios. I have set up the following command definition: define command{ command_name notify-by-sms command_line /usr/bin/printf "sms $CONTACTPAGER$/$NOTIFICATIONTYPE$: $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$" | /usr/local/bin/vicq -b -o -c /var/log/nagios/.vicq/config } But I don't receive and sms's. If I log in as the nagios user and execute the command manually it works perfectly. If I send the printf to a file with '>' like this: /usr/bin/printf "sms $CONTACTPAGER$/$NOTIFICATIONTYPE$: $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$" > /var/log/nagios/output I see the proper message in the 'output' file so I know the notify-by-sms command it being executed, but the vicq command does not work from within nagios. I've even tried to put: /usr/local/bin/vicq -b -o -c /var/log/nagios/.vicq/config inside of an executable file and pipe to the file. Again, no-go, works manually as nagios user but not from the command definition. Any ideas? TIA, Chaim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Wed Feb 21 05:23:08 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Tue, 20 Feb 2007 23:23:08 -0500 Subject: PING warning In-Reply-To: <002b01c754ee$b79a7090$fe01a8c0@db.mr.co.za> References: <002b01c754ee$b79a7090$fe01a8c0@db.mr.co.za> Message-ID: <7abcf48e0702202023t518f5dffne94ae31602cfbbfa@mail.gmail.com> Have you tried going into the service.cfg file and change the PING latency to 500ms if you want On 2/20/07, Sean Thomas wrote: > > Hi guys > > I get the following warning from nagios: > > PING WARNING - Packet loss = 0%, RTA = 348.18 ms > > How do I set the the warning time threshold of the RTA to a higher number > e.g 500ms so that we do not get so many PING warnings. I think the > current(default) notification time is a 100ms. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Wed Feb 21 05:28:05 2007 From: nagios at nagios.org (Ethan Galstad) Date: Tue, 20 Feb 2007 22:28:05 -0600 Subject: how old is Nagios ? In-Reply-To: <7514450b0702201803ica4c69h5ee78818bc67083d@mail.gmail.com> References: <7514450b0702201803ica4c69h5ee78818bc67083d@mail.gmail.com> Message-ID: <45DBCA55.4010704@nagios.org> Felipe Garrido wrote: > Anyone know how old is Nagios ? > > I know what Netsait was its old name, so how old is Netsaint? > > I want to know some of Nagios's history > > Can anyone help me? > > Thanks > > Atte > -- > Felipe Garrido > Just over 8 years old now. I wrote the first lines of code in January 1999. :-) Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Wed Feb 21 11:11:47 2007 From: az at whoever.org (Az) Date: Wed, 21 Feb 2007 20:11:47 +1000 Subject: Sending a txt message as acknowledgement for event In-Reply-To: <2289639d1f23312372acd4ee06d63816@imap.garlic.com> References: <2289639d1f23312372acd4ee06d63816@imap.garlic.com> Message-ID: <45DC1AE3.9040008@whoever.org> patrickm wrote: > Is it possible to reply to a txt message that is sent from the nagios server as acknowledgement when an event occurs, like an unreachable server or other events? The short answer is, yes. The long answer is, it depends on how you sent the SMS in the first place. If you are using some cheapy internet-based solution, then I doubt they have any return path feature. If you are sending via GSM modems, then yes. We do this now and have been for 2 years. If you have a direct link into a carriers' SMSC, then it will depend on their solution. We are looking to move this way in the near future, and our carrier has a return path solution. The guts of the solution is just code that parses the SMS back and hands it off to Nagios using the external command features. In our case, we reply/forward the entire SMS as-is back to sending device, which can easily parse the SMS given we know the exact format it left in anyhow. Plus, the same system handles other inbound and outbound SMSs with ease. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Wed Feb 21 12:04:22 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Wed, 21 Feb 2007 11:04:22 -0000 Subject: FW: Reports using NDOutils? In-Reply-To: <1171551459.3248.13.camel@localhost> References: <1171551459.3248.13.camel@localhost> Message-ID: > -----Original Message----- > From: nagios-users On Behalf Of Marcel Mitsuto Fucatu Sugano > Sent: 15 February 2007 14:58 > > On Thu, 2007-02-15 at 10:17 +0000, Wheeler, JF (Jonathan) wrote: > > -----Original Message----- > > From: nagios-users On Behalf Of Marcel Mitsuto Fucatu Sugano > > Sent: 14 February 2007 19:27 (big snip) > > >> 2) Is it crazy to think I can keep *all* the NDO data > forever? (~500 hosts / 6000+ srvcs) > > > > > > Well, considering that only state changes matters, it isn't that crazy. > > > > The only place where I have had to do anything is with the logentries > > table which (in our case) has written more records than is allowed by > > MySQL and sometimes generates MySQL errors. Deleting old entries solves > > the problem (I have a script that deletes entries more than 6 weeks > > old). > > Deleting old entries didn't wacks historical state change data? I do not see a need to keep the log data for more than six weeks in the SQL tables; these are separate from the log files on the Nagios server. Note that there is no cleanup of the Nagios logs (as far as I am aware), so these need to be cleared out every so often as well. I have a separate script which compresses all log files except the last six and only keeps 190 files (about 6 months of data) in the log archives directory. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.duffy at tney.northy.nhs.uk Wed Feb 21 12:11:27 2007 From: mark.duffy at tney.northy.nhs.uk (Mark Duffy) Date: Wed, 21 Feb 2007 11:11:27 -0000 Subject: Check_nt & Microsoft Exchange 6.5 Message-ID: <97B21E709D62C643AF853C9543C488A14FFEBC@FLEX3.tney.northy.nhs.uk> Firstly, thanks for the reply: > Based on that document, I've set up the following commands. I'm not > really sure how well they're working (they always return 0 on the quiet > Exchange box I'm using them on so far) so I'd be interested to hear how > you get on. It seems no matter what queue you enter to check you always get a value of 0 returned, check a queue that doesn't exist and you still get a 0, you can also pause the queues in system manager and still get values of 0 returned for the queues Regards, Mark This email may contain confidential information and may be read, copied and used only by the intended recipient. The information in this email transmission may not be legally revealed and is intended only for the use of the individual(s) named above. If you are not the intended recipient you are hereby notified that any use, dissemination, distribution or copying of this email message or its information is strictly prohibited. If you have received this email in error please notify the sender by reply. Delete this message from your email system(s) and do not disclose its contents to any person. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Feb 21 14:04:01 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 21 Feb 2007 13:04:01 +0000 Subject: NRPE unable to read output Message-ID: <45DC4341.1090604@googlemail.com> Hi, I'm using NRPE to execute checks on remote hosts and am have problems with one plugin on just one machine. I have the plugin in the configuration of nrpe and execute /usr/nagios/libexec/check_nrpe -H hostname -c check_plugin NRPE: Unable to read output The definition of the command call in nrpe.cfg is as follows: command[check_plugin]=sudo /etc/nagios/check_plugin and I have the following line in /etc/sudoers: nagios ALL=(ALL) NOPASSWD: /etc/nagios/check_plugin NRPE is running as the nagios user. When logged in as root I can do su - nagios sudo /etc/nagios/check_plugin OK: test passed so I don't understand why it is saying no output. I tried changing the nrpe.cfg to have > /tmp/output.log 2>&1 at the end of it but the file /tmp/output.log was not created so I assume that there really was no output when run from the check_nrpe command. This works on all my other servers (most of which are Gentoo) and this one is RHEL4. SELinux is disabled. I can execute all other nrpe checks correctly on this server including another one which also uses sudo. The difference in Distro is the only thing I can think of but it even works from the command line. I am using nrpe 2.6. I have racked my brains but can't think of anything else. Any ideas on this? -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Lane at CIBC.com Wed Feb 21 14:29:42 2007 From: Jim.Lane at CIBC.com (Lane, Jim) Date: Wed, 21 Feb 2007 08:29:42 -0500 Subject: NRPE unable to read output In-Reply-To: <45DC4341.1090604@googlemail.com> References: <45DC4341.1090604@googlemail.com> Message-ID: <42C65DFAF1777047B7669BF53A8BE48D05421AAB@CBSCC-X3-MBVS02.ad.cibc.com> Hari: I think your problem is with the sudo in the line command[check_plugin]=sudo /etc/nagios/check_plugin Try it as command[check_plugin]=/etc/nagios/check_plugin and see how you get on. I run NRPE plugins as above on my systems and they work fine. HTH Jim Lane -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: February 21, 2007 8:04 AM To: Nagios Users mailinglist Subject: [Nagios-users] NRPE unable to read output Hi, I'm using NRPE to execute checks on remote hosts and am have problems with one plugin on just one machine. I have the plugin in the configuration of nrpe and execute /usr/nagios/libexec/check_nrpe -H hostname -c check_plugin NRPE: Unable to read output The definition of the command call in nrpe.cfg is as follows: command[check_plugin]=sudo /etc/nagios/check_plugin and I have the following line in /etc/sudoers: nagios ALL=(ALL) NOPASSWD: /etc/nagios/check_plugin NRPE is running as the nagios user. When logged in as root I can do su - nagios sudo /etc/nagios/check_plugin OK: test passed so I don't understand why it is saying no output. I tried changing the nrpe.cfg to have > /tmp/output.log 2>&1 at the end of it but the file /tmp/output.log was not created so I assume that there really was no output when run from the check_nrpe command. This works on all my other servers (most of which are Gentoo) and this one is RHEL4. SELinux is disabled. I can execute all other nrpe checks correctly on this server including another one which also uses sudo. The difference in Distro is the only thing I can think of but it even works from the command line. I am using nrpe 2.6. I have racked my brains but can't think of anything else. Any ideas on this? -h -- Hari Sekhon ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Feb 21 14:49:01 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 21 Feb 2007 13:49:01 +0000 Subject: NRPE unable to read output In-Reply-To: <42C65DFAF1777047B7669BF53A8BE48D05421AAB@CBSCC-X3-MBVS02.ad.cibc.com> References: <42C65DFAF1777047B7669BF53A8BE48D05421AAB@CBSCC-X3-MBVS02.ad.cibc.com> Message-ID: <45DC4DCD.1040101@googlemail.com> I know that nrpe works, I run over 100 checks via nrpe, and on this host all other nrpe checks work. I don't know if it's really the sudo in the line because I have another line which says command[check_another_plugin]=sudo /etc/nagios/another_plugin and this works fine when called via nrpe as such check_nrpe -H hostname -c check_another_plugin OK: test ok If sudo was the problem, I would expect both checks to fail, but the other one works fine. Also, I need to run the check with sudo because this check will not work without root privs and my nrpe runs under the nagios user. -h Hari Sekhon Lane, Jim wrote: > Hari: I think your problem is with the sudo in the line > > command[check_plugin]=sudo /etc/nagios/check_plugin > > Try it as > > command[check_plugin]=/etc/nagios/check_plugin > > and see how you get on. I run NRPE plugins as above on my systems and > they work fine. > > HTH > > Jim Lane > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari > Sekhon > Sent: February 21, 2007 8:04 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] NRPE unable to read output > > Hi, > I'm using NRPE to execute checks on remote hosts and am have problems > > with one plugin on just one machine. I have the plugin in the > configuration of nrpe and execute > > /usr/nagios/libexec/check_nrpe -H hostname -c check_plugin > NRPE: Unable to read output > > The definition of the command call in nrpe.cfg is as follows: > > command[check_plugin]=sudo /etc/nagios/check_plugin > > and I have the following line in /etc/sudoers: > > nagios ALL=(ALL) NOPASSWD: /etc/nagios/check_plugin > > NRPE is running as the nagios user. When logged in as root I can do > > su - nagios > sudo /etc/nagios/check_plugin > OK: test passed > > so I don't understand why it is saying no output. > > I tried changing the nrpe.cfg to have > /tmp/output.log 2>&1 at the end > of it but the file /tmp/output.log was not created so I assume that > there really was no output when run from the check_nrpe command. > This works on all my other servers (most of which are Gentoo) and this > one is RHEL4. SELinux is disabled. I can execute all other nrpe checks > correctly on this server including another one which also uses sudo. > The difference in Distro is the only thing I can think of but it even > works from the command line. I am using nrpe 2.6. > > I have racked my brains but can't think of anything else. > > Any ideas on this? > > -h > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Feb 21 15:32:46 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 21 Feb 2007 09:32:46 -0500 Subject: Getting a no response error when checking via snmpplugin check_hd In-Reply-To: References: Message-ID: <9C63A4713C4E3342B90428CE44806A7302679C1F@PHSXMB5.partners.org> Hi there -- I ran the snmpwalk command from the nagios machine, and it did timeout. My next step will be to check the HP-UX box, and see if it does allow the polling to occur. -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Tuesday, February 20, 2007 7:49 PM To: Kaplan, Andrew H.; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Getting a no response error when checking via snmpplugin check_hd > I am trying to monitor the disk space usage on several HP-UX > 10.20 systems using the check_hd plugin. The command syntax I > am using is the following: > > ./check_hd -C public 80% 90% /dev/vg00/lvol8 > > The output I am getting is: > > Critcal: no response I'm not familiar with that plugin, but have you verified that the HP-UX box is allowing the Nagios machine to poll it over SNMP? Does an snmpwalk from the Nagios machine work, for example? The information transmitted in this electronic communication is intended only for the person or entity to whom 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 information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 21 16:05:09 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 21 Feb 2007 15:05:09 +0000 Subject: NRPE unable to read output In-Reply-To: <45DC4DCD.1040101@googlemail.com> References: <42C65DFAF1777047B7669BF53A8BE48D05421AAB@CBSCC-X3-MBVS02.ad.cibc.com> <45DC4DCD.1040101@googlemail.com> Message-ID: <45DC5FA5.1000201@mailnetwork.co.uk> I had this problem, and had to put the full path to sudo (/usr/bin/sudo) in nrpe's config. HTH Andy. Hari Sekhon wrote: > I know that nrpe works, I run over 100 checks via nrpe, and on this host > all other nrpe checks work. > > I don't know if it's really the sudo in the line because I have another > line which says > > command[check_another_plugin]=sudo /etc/nagios/another_plugin > > and this works fine when called via nrpe as such > > check_nrpe -H hostname -c check_another_plugin > OK: test ok > > If sudo was the problem, I would expect both checks to fail, but the > other one works fine. > > Also, I need to run the check with sudo because this check will not work > without root privs and my > nrpe runs under the nagios user. > > -h > > Hari Sekhon > > > > Lane, Jim wrote: > >> Hari: I think your problem is with the sudo in the line >> >> command[check_plugin]=sudo /etc/nagios/check_plugin >> >> Try it as >> >> command[check_plugin]=/etc/nagios/check_plugin >> >> and see how you get on. I run NRPE plugins as above on my systems and >> they work fine. >> >> HTH >> >> Jim Lane >> >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari >> Sekhon >> Sent: February 21, 2007 8:04 AM >> To: Nagios Users mailinglist >> Subject: [Nagios-users] NRPE unable to read output >> >> Hi, >> I'm using NRPE to execute checks on remote hosts and am have problems >> >> with one plugin on just one machine. I have the plugin in the >> configuration of nrpe and execute >> >> /usr/nagios/libexec/check_nrpe -H hostname -c check_plugin >> NRPE: Unable to read output >> >> The definition of the command call in nrpe.cfg is as follows: >> >> command[check_plugin]=sudo /etc/nagios/check_plugin >> >> and I have the following line in /etc/sudoers: >> >> nagios ALL=(ALL) NOPASSWD: /etc/nagios/check_plugin >> >> NRPE is running as the nagios user. When logged in as root I can do >> >> su - nagios >> sudo /etc/nagios/check_plugin >> OK: test passed >> >> so I don't understand why it is saying no output. >> >> I tried changing the nrpe.cfg to have > /tmp/output.log 2>&1 at the end >> of it but the file /tmp/output.log was not created so I assume that >> there really was no output when run from the check_nrpe command. >> This works on all my other servers (most of which are Gentoo) and this >> one is RHEL4. SELinux is disabled. I can execute all other nrpe checks >> correctly on this server including another one which also uses sudo. >> The difference in Distro is the only thing I can think of but it even >> works from the command line. I am using nrpe 2.6. >> >> I have racked my brains but can't think of anything else. >> >> Any ideas on this? >> >> -h >> >> >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45dc4dfa18514730279235! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Feb 21 16:42:28 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 21 Feb 2007 15:42:28 +0000 Subject: NRPE unable to read output In-Reply-To: <45DC5FA5.1000201@mailnetwork.co.uk> References: <42C65DFAF1777047B7669BF53A8BE48D05421AAB@CBSCC-X3-MBVS02.ad.cibc.com> <45DC4DCD.1040101@googlemail.com> <45DC5FA5.1000201@mailnetwork.co.uk> Message-ID: <45DC6864.80304@googlemail.com> Thanks for the reply, I just tried that but unfortunately it still gave the same result. I have another sudo /etc/nagios/plugin and that works. Also, su-ing to nagios and then running the command by hand works. so I'm still stuck.... Hari Sekhon Andy Shellam (Mailing Lists) wrote: > I had this problem, and had to put the full path to sudo > (/usr/bin/sudo) in nrpe's config. > > HTH > > Andy. > > Hari Sekhon wrote: >> I know that nrpe works, I run over 100 checks via nrpe, and on this host >> all other nrpe checks work. >> >> I don't know if it's really the sudo in the line because I have another >> line which says >> >> command[check_another_plugin]=sudo /etc/nagios/another_plugin >> >> and this works fine when called via nrpe as such >> >> check_nrpe -H hostname -c check_another_plugin >> OK: test ok >> >> If sudo was the problem, I would expect both checks to fail, but the >> other one works fine. >> >> Also, I need to run the check with sudo because this check will not work >> without root privs and my >> nrpe runs under the nagios user. >> >> -h >> >> Hari Sekhon >> >> >> >> Lane, Jim wrote: >> >>> Hari: I think your problem is with the sudo in the line >>> >>> command[check_plugin]=sudo /etc/nagios/check_plugin >>> >>> Try it as >>> >>> command[check_plugin]=/etc/nagios/check_plugin >>> >>> and see how you get on. I run NRPE plugins as above on my systems and >>> they work fine. >>> >>> HTH >>> >>> Jim Lane >>> >>> -----Original Message----- >>> From: nagios-users-bounces at lists.sourceforge.net >>> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari >>> Sekhon >>> Sent: February 21, 2007 8:04 AM >>> To: Nagios Users mailinglist >>> Subject: [Nagios-users] NRPE unable to read output >>> >>> Hi, >>> I'm using NRPE to execute checks on remote hosts and am have problems >>> >>> with one plugin on just one machine. I have the plugin in the >>> configuration of nrpe and execute >>> >>> /usr/nagios/libexec/check_nrpe -H hostname -c check_plugin >>> NRPE: Unable to read output >>> >>> The definition of the command call in nrpe.cfg is as follows: >>> >>> command[check_plugin]=sudo /etc/nagios/check_plugin >>> >>> and I have the following line in /etc/sudoers: >>> >>> nagios ALL=(ALL) NOPASSWD: /etc/nagios/check_plugin >>> >>> NRPE is running as the nagios user. When logged in as root I can do >>> >>> su - nagios >>> sudo /etc/nagios/check_plugin >>> OK: test passed >>> >>> so I don't understand why it is saying no output. >>> >>> I tried changing the nrpe.cfg to have > /tmp/output.log 2>&1 at the end >>> of it but the file /tmp/output.log was not created so I assume that >>> there really was no output when run from the check_nrpe command. >>> This works on all my other servers (most of which are Gentoo) and this >>> one is RHEL4. SELinux is disabled. I can execute all other nrpe checks >>> correctly on this server including another one which also uses sudo. >>> The difference in Distro is the only thing I can think of but it even >>> works from the command line. I am using nrpe 2.6. >>> >>> I have racked my brains but can't think of anything else. >>> >>> Any ideas on this? >>> >>> -h >>> >>> >>> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> !DSPAM:37,45dc4dfa18514730279235! >> >> >> > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 21 16:52:49 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 21 Feb 2007 15:52:49 +0000 Subject: NRPE unable to read output In-Reply-To: <45DC6864.80304@googlemail.com> References: <42C65DFAF1777047B7669BF53A8BE48D05421AAB@CBSCC-X3-MBVS02.ad.cibc.com> <45DC4DCD.1040101@googlemail.com> <45DC5FA5.1000201@mailnetwork.co.uk> <45DC6864.80304@googlemail.com> Message-ID: <45DC6AD1.8080707@mailnetwork.co.uk> Another stab in the dark... the NRPE agent isn't inside a BSD jail is it? My Nagios host refuses to read NRPE's output in a machine that's jailed :( Andy. Hari Sekhon wrote: > Thanks for the reply, I just tried that but unfortunately it still > gave the same result. > > I have another sudo /etc/nagios/plugin and that works. Also, su-ing to > nagios and then running the command by hand works. > > so I'm still stuck.... > > Hari Sekhon > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Feb 21 17:45:28 2007 From: marc at ena.com (Marc Powell) Date: Wed, 21 Feb 2007 10:45:28 -0600 Subject: htaccess authorization error.. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Tuesday, February 20, 2007 8:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] htaccess authorization error.. > > So I am getting the infamous cgi access error: > > "It appears as though you do not have permission to view information for > any of the services you requested.. > > > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > --my .htaccess file that is the sbin folder > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user This would be redundant. You've enabled it as part of your config above. Not harmful though as you've told Apache to completely ignore .htaccess in that directory with the 'AllowOverride None' directive above. > When I first go to nagios page > > http://localhost/nagios/ > > I get prompted for a username and password and then it lets me in the site > but when I click on any links it get the authorization error. That's good that you get prompted and then allowed in. Who does nagios show you Logged in as? Is it what you expect? > this has got to be a simple problem with .htpasswd or .htaccess right? So far, it sounds like the answer is no. > when I created the files I followed the documentation and the fact it lets > me initially but not into the sub links I get that error.. > > any thoughts? Is the username you are logged in as listed as a contact for any hosts or services? It must be or you must grant global permissions via the authorized_for_* directives in cgi.cfg. Nagios simply looks at the REMOTE_USER environment variable set by Apache after you log in and matches that against defined contacts{} to determine what to show. If there is no match then the behavior you're seeing is the result. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Feb 21 17:54:17 2007 From: marc at ena.com (Marc Powell) Date: Wed, 21 Feb 2007 10:54:17 -0600 Subject: HostGroup not visible to notification recipients Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David G Schlecht > Sent: Tuesday, February 20, 2007 5:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] HostGroup not visible to notification recipients > > All, > > I've encountered a strange issue and hope that someone can tell me if this > is a > bug or a configuration issue. > > I have multiple hosts (h1, h2, h3) in a hostGroup. Two of the hosts (h1, > h2) are > configured with notifications to two different contactGroups (c1, c2). The > third > host, h3, only notifies one group, c2. > > All members of c2 can see all the hosts in the host group when viewing the > HostGroup Summary. Group c1 cannot see the hostGroup, but can see the > individual > hosts they get notifications from(h1 and h2). Clicking on the hostGroup > link in > the host's cgi-bin/extinfo.cgi page produces a page with the message: > * 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. > > > Any ideas? C1 isn't authorized to see all hosts in the hostgroup object so none are displayed. I've hit up against this a couple times in the past. It's understandable, but not necessarily desirable. I haven't delved too deeply into it but my thoughts are that the view permission logic is object based. Either you have permission to view all elements of that object or you don't. For most objects that's just fine but for hostgroups and servicegroups it would be more desirable for those sub-elements that you do have permission for to be displayed and ignore those elements that you don't. Probably a feature request. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Wed Feb 21 18:08:14 2007 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Wed, 21 Feb 2007 12:08:14 -0500 Subject: two sets of host groups Message-ID: <7f62d2420702210908w16f9ca26h911ca4856f96c052@mail.gmail.com> Is it possible to have hosts in two sets of groups? Currently I've divided hosts by hostgroup names associated with their physical location. But it would be quite useful to have hostgroups based on operating systems. Anyone have a way to accomplish this allow "multiple views"? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Feb 21 18:18:42 2007 From: marc at ena.com (Marc Powell) Date: Wed, 21 Feb 2007 11:18:42 -0600 Subject: two sets of host groups Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of dave stern - e- > mail.pluribus.unum > Sent: Wednesday, February 21, 2007 11:08 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] two sets of host groups > > Is it possible to have hosts in two sets of groups? Currently I've > divided hosts by hostgroup names associated That's a pretty straightforward TAFO or RTFM question but yes, a host can be in any number of hostgroups. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host - "hostgroups: This directive is used to identify the short name(s) of the hostgroup(s) that the host belongs to. Multiple hostgroups should are seperated by commas. This directive may be used as an alternative to (or in addition to) using the members directive in hostgroup definitions." You can also specify the host in each hostgroup{}'s members directive. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Wed Feb 21 18:34:46 2007 From: patrickm at garlic.com (patrickm) Date: Wed, 21 Feb 2007 9:34:46 -0800 Subject: Sending a txt message as acknowledgement for event In-Reply-To: <45DC1AE3.9040008@whoever.org> References: <45DC1AE3.9040008@whoever.org> Message-ID: <495edb004ee92190356f0a6744629199@imap.garlic.com> Thanks for the response. To send txt messages, we have Verizon, so we send to 1234567890 at vtext.com. I hit reply on my phone and a few seconds later I received a bounceback from the mail server where Nagios is..so I think we might be in business. What would I have to do from here? From the looks of your e-mail, it sounds like I need to code something very detailed... Thanks for the help! Patrick On Wed, 21 Feb 2007 20:11:47 +1000, Az wrote: > patrickm wrote: >> Is it possible to reply to a txt message that is sent from the nagios > server as acknowledgement when an event occurs, like an unreachable server > or other events? > The short answer is, yes. > > The long answer is, it depends on how you sent the SMS in the first > place. If you are using some cheapy internet-based solution, then I > doubt they have any return path feature. If you are sending via GSM > modems, then yes. We do this now and have been for 2 years. If you have > a direct link into a carriers' SMSC, then it will depend on their > solution. We are looking to move this way in the near future, and our > carrier has a return path solution. > > The guts of the solution is just code that parses the SMS back and hands > it off to Nagios using the external command features. In our case, we > reply/forward the entire SMS as-is back to sending device, which can > easily parse the SMS given we know the exact format it left in anyhow. > Plus, the same system handles other inbound and outbound SMSs with ease. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosmail at gmail.com Wed Feb 21 20:09:42 2007 From: nagiosmail at gmail.com (Nagios Mail) Date: Wed, 21 Feb 2007 13:09:42 -0600 Subject: Sending a txt message as acknowledgement for event In-Reply-To: <495edb004ee92190356f0a6744629199@imap.garlic.com> References: <45DC1AE3.9040008@whoever.org> <495edb004ee92190356f0a6744629199@imap.garlic.com> Message-ID: <9ea59a10702211109k343731cdr6ea1f28a129dc500@mail.gmail.com> Patrick ~ I just set this up myself, so I'll share some of the details on how I got it working. First off you'll need a way for the email's to reach the nagios inbox. In our example I setup fetchmail on our CentOS box to check Exchange every 15 seconds for mail using POP3. once you have that configured and mail is going into the inbox on your linux machine for the nagios account, you'll need to configure procmail. Now if your on a redhat system (or flavor) procmail is setup by default. (Otherwise you may need to install/configure) So you'll need to setup a .procmailrc file in the nagios users home directory (or place a procmailrc file in /etc). Procmail should be setup to kick off a script (that you'll need to write) to process the incoming mail and if a problem is acknowledged, place an acknowledgment in the nagios.cmd file. Like I said, the first process in fixing this puzzle is getting mail to the nagios server from an SMS device. Once there it should be pretty straight forward. Let me know if this makes sense. Josh On 2/21/07, patrickm wrote: > > Thanks for the response. To send txt messages, we have Verizon, so we > send to 1234567890 at vtext.com. I hit reply on my phone and a few seconds > later I received a bounceback from the mail server where Nagios is..so I > think we might be in business. > > What would I have to do from here? From the looks of your e-mail, it > sounds like I need to code something very detailed... > > Thanks for the help! > > Patrick > > > > On Wed, 21 Feb 2007 20:11:47 +1000, Az wrote: > > patrickm wrote: > >> Is it possible to reply to a txt message that is sent from the nagios > > server as acknowledgement when an event occurs, like an unreachable > server > > or other events? > > The short answer is, yes. > > > > The long answer is, it depends on how you sent the SMS in the first > > place. If you are using some cheapy internet-based solution, then I > > doubt they have any return path feature. If you are sending via GSM > > modems, then yes. We do this now and have been for 2 years. If you have > > a direct link into a carriers' SMSC, then it will depend on their > > solution. We are looking to move this way in the near future, and our > > carrier has a return path solution. > > > > The guts of the solution is just code that parses the SMS back and hands > > it off to Nagios using the external command features. In our case, we > > reply/forward the entire SMS as-is back to sending device, which can > > easily parse the SMS given we know the exact format it left in anyhow. > > Plus, the same system handles other inbound and outbound SMSs with ease. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Wed Feb 21 23:18:45 2007 From: sschwartz at gracenote.com (Steven Schwartz) Date: Wed, 21 Feb 2007 14:18:45 -0800 Subject: Problems with passing on service check information Message-ID: <119461A3B1C2A847BABA421E6EB62CEA10CD98@EMAIL1.gracenote.gracenote.com> I am trying to follow the instructions to use a centralized server in the Nagios documentation, with one major change - instead of reporting all errors to a central server and having it do the notifications, I want the individual servers to do their own notification, and also send copies of service check results to a central, read-only server, at the moment called bigboard. Does anyone know what happens if you try and use send_nsca to communicate to a machine running two separate nagios instances? Steven Schwartz CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to Gracenote, Inc. may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message (and all attachments) to anyone else. In such case, you should destroy this message (and all attached documents) and are asked to notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Wed Feb 21 23:48:41 2007 From: amoran at apple.com (Andy Moran) Date: Wed, 21 Feb 2007 14:48:41 -0800 Subject: Contact definitions and multiple email addresses? Message-ID: <673BD706-854D-4BA4-A3A0-A3CCB14CAC93@apple.com> Can a contact definition contain a list of email addresses, and if so, will Nagios email them all? e.g. define contact{ contact_name jdoe alias John Doe 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-by-email host_notification_commands host-notify-by-email email jdoe at gmail.com, jdoe at yahoo.com } The documentation isn't clear whether the email line can contain more than on address for a contact. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 22 00:22:56 2007 From: marc at ena.com (Marc Powell) Date: Wed, 21 Feb 2007 17:22:56 -0600 Subject: Problems with passing on service check information Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Steven Schwartz > Sent: Wednesday, February 21, 2007 4:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with passing on service check information > > Does anyone know what happens if you try and use send_nsca to communicate > to a machine running two separate nagios instances? Works great. Just have two different NSCA instances running on different ports. Each will point to it's respective nagios.cmd file -- $ tail -10 libexec/submit_check_result ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca 172.27.0.100 -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca 172.27.0.100 -p 5669 -c /usr/local/nagios/etc/send_nsca.cfg ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 22 00:49:51 2007 From: marc at ena.com (Marc Powell) Date: Wed, 21 Feb 2007 17:49:51 -0600 Subject: Contact definitions and multiple email addresses? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andy Moran > Sent: Wednesday, February 21, 2007 4:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Contact definitions and multiple email addresses? > > > Can a contact definition contain a list of email addresses, and if so, > will Nagios email them all? > Nagios doesn't care. As far as it's concerned, it's just a string of text. It'll happily pass them on to your notification program as one string. The real question is, can your notification program handle them appropriately? The default notification program, /bin/mail will not, at least not as a comma separated list. To use /bin/mail you'd either need to set your notification command to a script that parsed the multiple recipients and added the appropriate number of -c arguments to /bin/mail, or possibly, untested, use something like the following for your contact definition -- define contact{ ... email -c address1 at foo.bar -c address2 at foo.bar addressTo at foo.bar } -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Thu Feb 22 02:04:32 2007 From: amoran at apple.com (Andy Moran) Date: Wed, 21 Feb 2007 17:04:32 -0800 Subject: Contact definitions and multiple email addresses? In-Reply-To: References: Message-ID: Oh yech. I'll pass on that. how about this one: Is it possible to have a contact receive critical messages for all services but warning messages ONLY for a particular service? For example: All services are set to notify on warning, critical, unknown, and recovery.. Admins want to be only notified when any service goes critical.. but they are also interested when a certain volume check_disk goes into warning. The only way I can figure out how to do that is to create a separate contact definition for each admin (like jdoe2), put them in a group, and say that group also wants warnings, and put that group in the check_disk service definition instead of the normal admin group. I'm hoping I'm missing something obvious. --Andy On Feb 21, 2007, at 3:49 PM, Marc Powell wrote: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users- >> bounces at lists.sourceforge.net] On Behalf Of Andy Moran >> Sent: Wednesday, February 21, 2007 4:49 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Contact definitions and multiple email > addresses? >> >> >> Can a contact definition contain a list of email addresses, and if >> so, >> will Nagios email them all? >> > > Nagios doesn't care. As far as it's concerned, it's just a string of > text. It'll happily pass them on to your notification program as one > string. The real question is, can your notification program handle > them > appropriately? The default notification program, /bin/mail will > not, at > least not as a comma separated list. To use /bin/mail you'd either > need > to set your notification command to a script that parsed the multiple > recipients and added the appropriate number of -c arguments to > /bin/mail, or possibly, untested, use something like the following for > your contact definition -- > > define contact{ > ... > email -c address1 at foo.bar -c address2 at foo.bar > addressTo at foo.bar > } > > > -- > Marc > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Thu Feb 22 02:27:38 2007 From: patrickm at garlic.com (patrickm) Date: Wed, 21 Feb 2007 17:27:38 -0800 Subject: Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP Message-ID: <1a9167913e4e78c6815252697ad8000a@imap.garlic.com> Hello, I've been scouring Google all day long and I can't seem to find anything regarding Nagios being able to reboot switches, routers, or power strips via SNMP. We have some HP Procurve Switches, Some Cisco 7200 Routers, and some APC Power strips, all being monitored via SNMP already and via Nagios, but it would be great if we could reboot these devices (or sections of the power strip by outlet) using SNMP write permissions. Is this possible? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevorwarren at gmail.com Thu Feb 22 04:30:38 2007 From: trevorwarren at gmail.com (Trevor Warren) Date: Thu, 22 Feb 2007 09:00:38 +0530 Subject: Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP In-Reply-To: <1a9167913e4e78c6815252697ad8000a@imap.garlic.com> References: <1a9167913e4e78c6815252697ad8000a@imap.garlic.com> Message-ID: <559e3cb60702211930ucf38d67xf36be4269382a4dd@mail.gmail.com> Ofcourse it is....while the consequence sound a little scary too. Think about it.....ur intention is to have nagios trigger an request if a condition is met. > The intention can be satisfied over SNMP > With the trigger being called when a plugin check is performed Nagios per say may not be equipped with the capability to perform a whole lot of business process checks towards concluding whether the applications really down. It will be able to ping for resources using standard/custom plugins and verify the availability/lack of it using its existing framework. Hence...while you due to lack of accessibility to a switch for some reason your plugin may decide based on your coded business rules that its unreachable and send an snmp request to reset the device. In turn what you have actually done is...during a moment of large n/w traffic not been able to reach the switch and as a result sent a request to reset the switch which i would recieve and probable reset it once the instantaenous peak is done with. Am unsure if i have been able to relate to you in the right manner. But since nagios doesnt have a rule engine it might be best to let nagios do what it does best and have it integrate with a rule engine which takes care of all of your other misc requests over snmp. Hope this helped. Thanks and Regards Trevor On 2/22/07, patrickm wrote: > > Hello, > > I've been scouring Google all day long and I can't seem to find anything > regarding Nagios being able to reboot switches, routers, or power strips via > SNMP. We have some HP Procurve Switches, Some Cisco 7200 Routers, and some > APC Power strips, all being monitored via SNMP already and via Nagios, but > it would be great if we could reboot these devices (or sections of the power > strip by outlet) using SNMP write permissions. > > Is this possible? > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ___________________________________ ( >- / Scaling FreeSoftware & OpenSource \ -< ) /~\ / In the Enterprise \ /~\ | \) \ | www.fsf.org | www.opensource.org | / (/ | |_|_ \____________________________________/ _|_| An eye for an eye will soon turn the world blind - MKG "You cannot see me, yet I am the light you see by. You cannot hear me, yet I speak through your voice. You cannot feel me, yet I am the power at work in your hands. I am at work, though you do not understand my ways. I am not strange visions. I am not mysteries. Only in absolute stillness, beyond self, can you know me as I am, and then but as a feeling and a faith. Yet I am here. Yet I hear. Yet I answer. -anon " -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu Feb 22 14:02:11 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 22 Feb 2007 13:02:11 -0000 Subject: Check_nt & Microsoft Exchange 6.5 In-Reply-To: <97B21E709D62C643AF853C9543C488A14FFEBC@FLEX3.tney.northy.nhs.uk> References: <97B21E709D62C643AF853C9543C488A14FFEBC@FLEX3.tney.northy.nhs.uk> Message-ID: Mark Duffy wrote: > Firstly, thanks for the reply: > >> Based on that document, I've set up the following commands. I'm not >> really sure how well they're working (they always return 0 on the >> quiet Exchange box I'm using them on so far) so I'd be interested to >> hear how you get on. > > It seems no matter what queue you enter to check you always get a > value of 0 returned, check a queue that doesn't exist and you still > get a 0, you can also pause the queues in system manager and still > get values of 0 returned for the queues The queues you see in Exchange System Manager don't seem to be exactly represented in the Windows performance counters so you can't directly monitor the queues as seen in the Exchange Queue Viewer, which is a shame since every internal Exchange metric seems to be exposed except the ones that Exchange itself displays to you. But I've just done some testing and found the opposite to your experience. If I freeze an SMTP Connector queue in System Manager, the Nagios check "Exchange SMTP remote queues" (\\SMTP Server(_Total)\\Remote Queue Length) goes up in sync with the number of messages held in the queue. If I freeze the Local Delivery queue in System Manager, the Nagios check "Exchange SMTP local queues" (\\SMTP Server(_Total)\\Local Queue Length) goes up in sync with the number of messages held in the queue. Phil -------------------------------------------------------- Phil Costelloe Technical Consultant philc at foundation-it.com http://www.foundation-it.com Foundation IT Foundation Court Old Street Oare Hermitage Berkshire RG18 9SE Switch: +44 (0) 1635 203700 Helpdesk: +44 (0) 800 0121099 DDI: +44 (0) 1635 203719 Fax: +44 (0) 8700 543537 Mobile: +44 (0) 7884 236299 Visit us on stand: 734 http://www.businesscontinuityexpo.co.uk/foundation_it -------------------------------------------------------- This message contains confidential information and is intended only for nagios-users at lists.sourceforge.net. If you are not nagios-users at lists.sourceforge.net you should not disseminate, distribute or copy this e-mail. Please notify Foundation IT immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Foundation IT therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at subs.krikkit.nl Thu Feb 22 15:30:47 2007 From: nagios-users at subs.krikkit.nl (Rejo Zenger) Date: Thu, 22 Feb 2007 15:30:47 +0100 Subject: notification_interval in serviceescalation ignored In-Reply-To: <20070214143629.GB19306@zaphod.krikkit.nl> References: <20070214143629.GB19306@zaphod.krikkit.nl> Message-ID: <20070222143047.GA21800@zaphod.krikkit.nl> Hi there, I am still strugling with the following problem. I do not expect this to be a bug, but until now I have not been able to get it working the way I want it. Anybody with a good suggestion? >The problem in short: the escalations are working like a charm, but the >notification interval of the escalation seems to be ignored. In more >detail, the configuration is as follows: > > | define serviceescalation { > | first_notification 1 > | last_notification 0 > | notification_interval 900 > | contact_groups cg-all-sane > | service_description $service > | host_name $host > | escalation_options r,w,u,c > | } > > | define serviceescalation { > | first_notification 12 > | last_notification 0 > | notification_interval 3600 > | escalation_period twentyfourseven > | contact_groups cg-storingsdienst-escalatie > | service_description $service > | host_name $host > | escalation_options r,c > | } > > | define serviceescalation { > | first_notification 4 > | last_notification 0 > | notification_interval 1800 > | escalation_period twentyfourseven > | contact_groups cg-storingsdienst > | service_description $service > | host_name $host > | escalation_options r,w,u,c > | } > > | interval_length=1 > > | define service { > | name s > | register 0 > | max_check_attempts 6 > | normal_check_interval 120 > | retry_check_interval 20 > | check_period twentyfourseven > | notification_interval 300 > | notification_period twentyfourseven > | notifications_enabled 1 > | register 0 > | notification_options w,u,c,r,f > | contact_groups cg-all-insane > >I believe this would, in case of a long lasting problem, result in: > - a notification to all contacts in cg-all-sane every 15 minutes, starting > immediatelly when there is a problem > - a notification to all contacts in cg-storingsdienst every 30 minutes if > problem has not been resovled or acknowledged within 20 minutes > - a notification to all contacts in cg-storingsdienst-escalatie every 60 > minutes if problem has not been resovled or acknowledged within 1 hour > >There are no overlaps in contacts between the various contactgroups (I have >created separate e-mailaddresses to be notified, to avoid problems). > >Testing this setup resulted in the following notifications: > > 07:50:44 cg-all-sane > 08:07:32 cg-all-sane > 08:24:32 cg-all-sane > 08:41:24 cg-all-sane, cg-storingsdienst > 08:58:19 cg-all-sane, cg-storingsdienst > 09:15:10 cg-all-sane, cg-storingsdienst > 09:32:16 cg-all-sane, cg-storingsdienst > 09:49:25 cg-all-sane, cg-storingsdienst > 10:06:31 cg-all-sane, cg-storingsdienst > 10:23:38 cg-all-sane, cg-storingsdienst > 10:40:38 cg-all-sane, cg-storingsdienst > 10:57:40 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie > 11:14:46 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie > 11:29:49 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie > 11:46:58 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie > >After this the problem was resolved. I am happy with the escalation, but the >thing that does not work is the notification interval. It seems the setting >is being ignored. What is it I am doing wrong here? Any help is appreciated. -- Rejo Zenger https://rejo.zenger.nl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Feb 22 16:30:18 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 22 Feb 2007 15:30:18 +0000 Subject: NRPE unable to read output In-Reply-To: <45DC6AD1.8080707@mailnetwork.co.uk> References: <42C65DFAF1777047B7669BF53A8BE48D05421AAB@CBSCC-X3-MBVS02.ad.cibc.com> <45DC4DCD.1040101@googlemail.com> <45DC5FA5.1000201@mailnetwork.co.uk> <45DC6864.80304@googlemail.com> <45DC6AD1.8080707@mailnetwork.co.uk> Message-ID: <45DDB70A.7020409@googlemail.com> no the server is RHEL4 (unfortunately, ) There is no jailing going on. All my nagios plugins, both normal and using sudo work via the nrpe on the remote server. My only thought is that the plugin itself does not have a tty and that perhaps this is causing this specific plugin to fail Hari Sekhon Andy Shellam (Mailing Lists) wrote: > Another stab in the dark... the NRPE agent isn't inside a BSD jail is > it? My Nagios host refuses to read NRPE's output in a machine that's > jailed :( > > Andy. > > > Hari Sekhon wrote: >> Thanks for the reply, I just tried that but unfortunately it still >> gave the same result. >> >> I have another sudo /etc/nagios/plugin and that works. Also, su-ing >> to nagios and then running the command by hand works. >> >> so I'm still stuck.... >> >> Hari Sekhon >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhall at HealthVision.com Thu Feb 22 17:11:16 2007 From: rhall at HealthVision.com (Rusty Hall) Date: Thu, 22 Feb 2007 10:11:16 -0600 Subject: SQL Counter File Message-ID: Has anyone tried accessing the performance counter files for SQL Server 2000 Enterprise on a Windows 2003 server. I am trying to access SQL Server counter files, but im running into issues with the following counters SQLServer:SQL Statistics Batch Requests/sec, I can access OS related counter files on this server. No luck with any of the SQL Server Ones. I have added a few command that im trying to work with: ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:SQL Statistics\\Batch Requests/sec","Batch Request per sec is %.f%%" ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:General Statistics\\User Connections","User Connections %.f%%" The result I get from the command is -1, which I know is wrong. I have nagios 2.5 on Redhat running with NC_NET for windows servers. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Feb 22 17:03:23 2007 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 22 Feb 2007 11:03:23 -0500 Subject: TCP/IP Port that NSClient 2.x uses Message-ID: <9C63A4713C4E3342B90428CE44806A7302679C28@PHSXMB5.partners.org> Hi there - I have a Windows server running NSClient 2.1 on it. I recently activated a firewall on the server and I need to allow an exception for the nsclient in order for our Nagios 2.6 server to monitor the remote system. Does anyone know what is the port number(s) that nsclient uses? Thanks. The information transmitted in this electronic communication is intended only for the person or entity to whom 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 information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhall at healthvision.com Thu Feb 22 17:26:53 2007 From: rhall at healthvision.com (Rusty Hall) Date: Thu, 22 Feb 2007 17:26:53 +0100 (CET) Subject: monitoring sql counter files Message-ID: <20070222162653.9C80C4F4045@desire.netways.de> Has anyone tried accessing the performance counter files for SQL Server 2000 Enterprise on a Windows 2003 server. I am trying to access SQL Server counter files, but im running into issues with the following counters SQLServer:SQL Statistics Batch Requests/sec, I can access OS related counter files on this server. No luck with any of the SQL Server Ones. I have added a few command that im trying to work with: ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:SQL Statistics\\Batch Requests/sec","Batch Request per sec is %.f%%" ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:General Statistics\\User Connections","User Connections %.f%%" The result I get from the command is -1, which I know is wrong. I have nagios 2.5 on Redhat running with NC_NET for windows servers. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Thu Feb 22 17:35:05 2007 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs) Date: Thu, 22 Feb 2007 17:35:05 +0100 Subject: notification_interval in serviceescalation ignored In-Reply-To: <20070222143047.GA21800@zaphod.krikkit.nl> References: <20070214143629.GB19306@zaphod.krikkit.nl> <20070222143047.GA21800@zaphod.krikkit.nl> Message-ID: <45DDC639.2050909@vsm-hosting.nl> Hello Rejo Looks like an performance issue, long timeouts on plugins. Can you track the check_execution_time and the check_latency when you have an escalation. Any sugestion on performance : parralizing check's. Monitor how much nagios processes on good and bad times are running. Sjaak Rejo Zenger wrote: >Hi there, > >I am still strugling with the following problem. I do not expect this to >be a bug, but until now I have not been able to get it working the way I >want it. Anybody with a good suggestion? > > > > >>The problem in short: the escalations are working like a charm, but the >>notification interval of the escalation seems to be ignored. In more >>detail, the configuration is as follows: >> >>| define serviceescalation { >>| first_notification 1 >>| last_notification 0 >>| notification_interval 900 >>| contact_groups cg-all-sane >>| service_description $service >>| host_name $host >>| escalation_options r,w,u,c >>| } >> >>| define serviceescalation { >>| first_notification 12 >>| last_notification 0 >>| notification_interval 3600 >>| escalation_period twentyfourseven >>| contact_groups cg-storingsdienst-escalatie >>| service_description $service >>| host_name $host >>| escalation_options r,c >>| } >> >>| define serviceescalation { >>| first_notification 4 >>| last_notification 0 >>| notification_interval 1800 >>| escalation_period twentyfourseven >>| contact_groups cg-storingsdienst >>| service_description $service >>| host_name $host >>| escalation_options r,w,u,c >>| } >> >>| interval_length=1 >> >>| define service { >>| name s >>| register 0 >>| max_check_attempts 6 >>| normal_check_interval 120 >>| retry_check_interval 20 >>| check_period twentyfourseven >>| notification_interval 300 >>| notification_period twentyfourseven >>| notifications_enabled 1 >>| register 0 >>| notification_options w,u,c,r,f >>| contact_groups cg-all-insane >> >>I believe this would, in case of a long lasting problem, result in: >>- a notification to all contacts in cg-all-sane every 15 minutes, starting >> immediatelly when there is a problem >>- a notification to all contacts in cg-storingsdienst every 30 minutes if >> problem has not been resovled or acknowledged within 20 minutes >>- a notification to all contacts in cg-storingsdienst-escalatie every 60 >> minutes if problem has not been resovled or acknowledged within 1 hour >> >>There are no overlaps in contacts between the various contactgroups (I have >>created separate e-mailaddresses to be notified, to avoid problems). >> >>Testing this setup resulted in the following notifications: >> >> 07:50:44 cg-all-sane >> 08:07:32 cg-all-sane >> 08:24:32 cg-all-sane >> 08:41:24 cg-all-sane, cg-storingsdienst >> 08:58:19 cg-all-sane, cg-storingsdienst >> 09:15:10 cg-all-sane, cg-storingsdienst >> 09:32:16 cg-all-sane, cg-storingsdienst >> 09:49:25 cg-all-sane, cg-storingsdienst >> 10:06:31 cg-all-sane, cg-storingsdienst >> 10:23:38 cg-all-sane, cg-storingsdienst >> 10:40:38 cg-all-sane, cg-storingsdienst >> 10:57:40 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie >> 11:14:46 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie >> 11:29:49 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie >> 11:46:58 cg-all-sane, cg-storingsdienst, cg-storingsdienst-escalatie >> >>After this the problem was resolved. I am happy with the escalation, but the >>thing that does not work is the notification interval. It seems the setting >>is being ignored. What is it I am doing wrong here? >> >> > >Any help is appreciated. > > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys-and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.441 / Virus Database: 268.18.3/696 - Release Date: 21-2-2007 15:19 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrickm at garlic.com Thu Feb 22 18:03:59 2007 From: patrickm at garlic.com (patrickm) Date: Thu, 22 Feb 2007 9:03:59 -0800 Subject: =?utf-8?q?How_to_check_disk_space=2C_processes=2C_?= =?utf-8?q?etc=2E_on_remote_host=3F?= Message-ID: Hello, I saw on the Nagios Exchange that there is a NRPE plugin, but requires the nrpe to be installed on each remote host. Is there a way to check this stuff via SNMP? I'm still a little new to SNMP, but I'm learning as I read more. Can I configure the SNMP daemon on each server (we have linux and AIX machines) to display these results so SNMP can pick it up? What do you folks suggest? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Josh.Yost at epsiia.com Thu Feb 22 18:19:55 2007 From: Josh.Yost at epsiia.com (Josh Yost) Date: Thu, 22 Feb 2007 11:19:55 -0600 Subject: How to check disk space, processes, etc. on remote host? In-Reply-To: References: Message-ID: <45DDD0BB.1000609@epsiia.com> patrickm wrote: > Hello, > > I saw on the Nagios Exchange that there is a NRPE plugin, but requires the nrpe to be installed on each remote host. Is there a way to check this stuff via SNMP? I'm still a little new to SNMP, but I'm learning as I read more. Can I configure the SNMP daemon on each server (we have linux and AIX machines) to display these results so SNMP can pick it up? > > What do you folks suggest? > > Hi, You could ask the omniscient google =) (http://www.google.com/search?q=nagios+SNMP+plugin) The following link has several very useful, SNMP-based Nagios plugins - it also comes up first on the above Google search: http://www.manubulon.com/nagios/ good luck, - Josh ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Feb 22 18:24:53 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 22 Feb 2007 10:24:53 -0700 Subject: How to check disk space, processes, etc. on remote host? In-Reply-To: <45DDD0BB.1000609@epsiia.com> References: <45DDD0BB.1000609@epsiia.com> Message-ID: <1172165093.7454.14.camel@sidhqmis4grdv91> nagiosexchange.org is also just filthy with SNMP-based system checks. On Thu, 2007-02-22 at 11:19 -0600, Josh Yost wrote: > patrickm wrote: > > Hello, > > > > I saw on the Nagios Exchange that there is a NRPE plugin, but requires the nrpe to be installed on each remote host. Is there a way to check this stuff via SNMP? I'm still a little new to SNMP, but I'm learning as I read more. Can I configure the SNMP daemon on each server (we have linux and AIX machines) to display these results so SNMP can pick it up? > > > > What do you folks suggest? > > > > > > Hi, > You could ask the omniscient google =) > (http://www.google.com/search?q=nagios+SNMP+plugin) > > The following link has several very useful, SNMP-based Nagios plugins - > it also comes up first on the above Google search: > > http://www.manubulon.com/nagios/ > > good luck, > - Josh > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Thu Feb 22 18:40:58 2007 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Thu, 22 Feb 2007 17:40:58 -0000 Subject: $SERVICEOUTPUT$ problem Message-ID: Hi, I a facing an issue with the $SERVICEOUTPUT$ variable. The problem only occurs when I try to send a SMS Notification and when the $SERVICEOUTPUT$ variable has data such as "(No output ...) or (Service check timeout)". The problem here is with the char "(" because when my SMS script received a message which contains "(" it fails. Can I alter these messages ? or is there any other alternative ? thanks, sg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Thu Feb 22 19:11:05 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 22 Feb 2007 18:11:05 -0000 Subject: monitoring sql counter files In-Reply-To: <20070222162653.9C80C4F4045@desire.netways.de> References: <20070222162653.9C80C4F4045@desire.netways.de> Message-ID: Rusty Hall wrote: > Has anyone tried accessing the performance counter files for SQL > Server 2000 Enterprise on a Windows 2003 server. I am trying to > access SQL Server counter files, but im running into issues with the > following counters SQLServer:SQL Statistics Batch Requests/sec, I can > access OS related counter files on this server. No luck with any of > the SQL Server Ones. I have added a few command that im trying to > work with: > > ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:SQL > Statistics\\Batch Requests/sec","Batch Request per sec is %.f%%" > ./check_nc_net -H $HOSTADDRESS$ -v COUNTER -l "\\SQLServer:General > Statistics\\User Connections","User Connections %.f%%" > > The result I get from the command is -1, which I know is wrong. I > have nagios 2.5 on Redhat running with NC_NET for windows servers. I monitor both of those (amongst many others) and get sensible results back (SQL Server 2000 Standard on Windows Server 2003). The counter definitions look the same, but I use check_nt/NSCLient which may or may not matter. Can you query those counters on the server itself? I have seen SQL Servers where the SQL performance counters would dip in and out of existence in a worrying way. #SQLServer: SQL Statistics: Batch Requests/Sec - all activity including transactions define command{ command_name check_nt_mssql_batchreqs command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SQLServer:SQL Statistics\\Batch Requests/sec","Batch requests per second %.2f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } #Active connections - users connected define command{ command_name check_nt_mssql_userconns command_line $USER1$/check_nt -H $HOSTADDRESS$ -p $ARG1$ -v COUNTER -l "\\SQLServer:General Statistics\\User Connections","User connections %.0f" -w $ARG2$ -c $ARG3$ -s $ARG4$ } -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 22 20:19:48 2007 From: marc at ena.com (Marc Powell) Date: Thu, 22 Feb 2007 13:19:48 -0600 Subject: $SERVICEOUTPUT$ problem Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Thursday, February 22, 2007 11:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] $SERVICEOUTPUT$ problem > > The problem here is with the char "(" because when my SMS script received > a message which contains "(" it fails. > > Can I alter these messages ? or is there any other alternative ? http://nagios.sourceforge.net/docs/2_0/configmain.html#illegal_macro_out put_chars or make your notification command something that munges the output you're sending before calling your pager program. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 22 20:27:30 2007 From: marc at ena.com (Marc Powell) Date: Thu, 22 Feb 2007 13:27:30 -0600 Subject: TCP/IP Port that NSClient 2.x uses Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. > Sent: Thursday, February 22, 2007 10:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] TCP/IP Port that NSClient 2.x uses > > Hi there - > > > > I have a Windows server running NSClient 2.1 on it. I recently activated a > firewall on the server and I need to allow an exception for the nsclient > > in order for our Nagios 2.6 server to monitor the remote system. Does > anyone know what is the port number(s) that nsclient uses? Thanks. >From the nsclient documentation -- "Configuration There are two parameters you can change: the port (default: 1248) and the password (default: 'None'). These two settings are store in the registry and can only be changed using 'regedit'. Open the following key and change the values if needed : HKEY_LOCAL_MACHINE\SOFTWARE\NSClient\Parms" You could also use netstat -ab on your Windows machine to see what port it's listening on. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 22 20:34:27 2007 From: marc at ena.com (Marc Powell) Date: Thu, 22 Feb 2007 13:34:27 -0600 Subject: Using Nagios to restart a Power Strip, Switch, Router, etc. via SNMP Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of patrickm > Sent: Wednesday, February 21, 2007 7:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Using Nagios to restart a Power Strip, Switch, > Router,etc. via SNMP > > Hello, > > I've been scouring Google all day long and I can't seem to find anything > regarding Nagios being able to reboot switches, routers, or power strips > via SNMP. We have some HP Procurve Switches, Some Cisco 7200 Routers, and > some APC Power strips, all being monitored via SNMP already and via > Nagios, but it would be great if we could reboot these devices (or > sections of the power strip by outlet) using SNMP write permissions. > > Is this possible? Yes, if you can do it from the command line or via script then nagios can do it as well. Seems like it would be pretty straightforward to do with perl and Net::SNMP. Nagios doesn't include any 'restart' capability by default because the number of variables is too significant. Nagios _does_ provide an Event Handler interface to allow you to build that functionality to suit. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Feb 22 20:40:08 2007 From: marc at ena.com (Marc Powell) Date: Thu, 22 Feb 2007 13:40:08 -0600 Subject: Contact definitions and multiple email addresses? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andy Moran > Sent: Wednesday, February 21, 2007 7:05 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Contact definitions and multiple email > addresses? > > how about this one: > > Is it possible to have a contact receive critical messages for all > services but warning messages ONLY for a particular service? It would require a new contact. The base assumption is that if a contact is set to receive warnings, they receive warnings for all hosts and services they are contacts for. There is no exception capability like what you're looking for related to contact notifications. > For example: > > All services are set to notify on warning, critical, unknown, and > recovery.. Admins want to be only notified when any service goes > critical.. but they are also interested when a certain volume > check_disk goes into warning. > > The only way I can figure out how to do that is to create a separate > contact definition for each admin (like jdoe2), put them in a group, > and say that group also wants warnings, and put that group in the > check_disk service definition instead of the normal admin group. > > I'm hoping I'm missing something obvious. Nope. That's the usual solution. The other option is to build that logic into your notification script. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Thu Feb 22 20:43:08 2007 From: amoran at apple.com (Andy Moran) Date: Thu, 22 Feb 2007 11:43:08 -0800 Subject: Contact definitions and multiple email addresses? In-Reply-To: References: Message-ID: Thanks for your help. You rock. :) --Andy On Feb 22, 2007, at 11:40 AM, Marc Powell wrote: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- >> users- >> bounces at lists.sourceforge.net] On Behalf Of Andy Moran >> Sent: Wednesday, February 21, 2007 7:05 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Contact definitions and multiple email >> addresses? >> > > >> how about this one: >> >> Is it possible to have a contact receive critical messages for all >> services but warning messages ONLY for a particular service? > > It would require a new contact. The base assumption is that if a > contact > is set to receive warnings, they receive warnings for all hosts and > services they are contacts for. There is no exception capability like > what you're looking for related to contact notifications. > >> For example: >> >> All services are set to notify on warning, critical, unknown, and >> recovery.. Admins want to be only notified when any service goes >> critical.. but they are also interested when a certain volume >> check_disk goes into warning. >> >> The only way I can figure out how to do that is to create a separate >> contact definition for each admin (like jdoe2), put them in a group, >> and say that group also wants warnings, and put that group in the >> check_disk service definition instead of the normal admin group. >> >> I'm hoping I'm missing something obvious. > > Nope. That's the usual solution. The other option is to build that > logic > into your notification script. > > -- > Marc > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at subs.krikkit.nl Thu Feb 22 22:00:21 2007 From: nagios-users at subs.krikkit.nl (Rejo Zenger) Date: Thu, 22 Feb 2007 22:00:21 +0100 Subject: notification_interval in serviceescalation ignored In-Reply-To: <45DDC639.2050909@vsm-hosting.nl> References: <20070214143629.GB19306@zaphod.krikkit.nl> <20070222143047.GA21800@zaphod.krikkit.nl> <45DDC639.2050909@vsm-hosting.nl> Message-ID: <20070222210021.GB28525@zaphod.krikkit.nl> ++ 22/02/07 17:35 +0100 - Sjaak Nabuurs: >Looks like an performance issue, long timeouts on plugins. >Can you track the check_execution_time and the check_latency when you >have an escalation. Generally, these seem to be allright. At any given time the service check latency is about 3 to 10 seconds on average, the service check execution time is on average less then 1 second. I don't believe these are too high (375+ hosts, 1775+ services). However after posting the previous post, I re-read the documentation for the n'th time and I came across this particular line: | In any case where there are multiple valid escalation definitions | for a particular notification, Nagios will choose the smallest | notification interval. And I believe this is exactly my problem. So, I rewrote the config and I am now awaiting a live example (and if that takes too long, I will create a long-lasting critical :)). -- Rejo Zenger https://rejo.zenger.nl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nick.twaddell at gmail.com Thu Feb 22 22:49:03 2007 From: nick.twaddell at gmail.com (Nick Twaddell) Date: Thu, 22 Feb 2007 13:49:03 -0800 Subject: NRPE services for OS X servers Message-ID: Hello, Is there an NRPE client available for OS X servers? I would like to monitor disk space and CPU usage on a few OS X servers. Thanks Nick ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Thu Feb 22 23:11:58 2007 From: btmanmeh at verizon.net (Max H.) Date: Thu, 22 Feb 2007 17:11:58 -0500 Subject: NRPE services for OS X servers In-Reply-To: References: Message-ID: <45DE152E.4030600@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nick Twaddell wrote: > Hello, > > Is there an NRPE client available for OS X servers? I would like to > monitor disk space and CPU usage on a few OS X servers. > Did you think about checking disk and CPU across SNMP? You'd just need Perl installed to run the scripts from here. I'm not a Mac OS X person, but I don't see why they wouldn't run. I run several of these under Linux, but the author says they work on Linux/Unix. Just a suggestion. Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFF3hUuHoeeepPau2ERAhrWAJ96VNwCK61GGO6nPWTYExwKhGCRyACdGTP7 ZP9SYXZXulNxHjhD0ZolHUQ= =kSwl -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Thu Feb 22 23:23:37 2007 From: amoran at apple.com (Andy Moran) Date: Thu, 22 Feb 2007 14:23:37 -0800 Subject: NRPE services for OS X servers In-Reply-To: References: Message-ID: macports (formerly darwinports) provides nagios and nrpe for OS X. http://www.macports.org/ You don't have to install macports on your servers.. you can install it on a local mac, then do a "port install nrpe". This will install it into /opt/local . You can then tar up that and distribute it as you wish, or make a pkg out of it as well. Good luck. --Andy On Feb 22, 2007, at 1:49 PM, Nick Twaddell wrote: > Hello, > > Is there an NRPE client available for OS X servers? I would like to > monitor disk space and CPU usage on a few OS X servers. > > Thanks > > Nick > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Feb 23 00:29:50 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 22 Feb 2007 18:29:50 -0500 Subject: NSClient/NC_Net for Win32 (2k3 X64)? In-Reply-To: <544f85b40702160944k40e291d2q85acdbb50d03137c@mail.gmail.com> References: <544f85b40702160944k40e291d2q85acdbb50d03137c@mail.gmail.com> Message-ID: NC_NEt should work on any Windows system that has Dot Net 2.0 installed. Contact me via nc_net at montitech.com if there is a issue. or post to the NC_NEt forum on sourceforge http://sourceforge.net/projects/nc-net Good luck, tony On 2/16/07, ffwqe efwa wrote: > > All, > > I hope this is the right place to ask this. What server do you use for > check_nt on your win32/x64 clients? Apparentely the usual suspects > (nc_net/nsclient) only work on 32 bit versions (or at least I can only get > them to). > > Thanks! > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chaim at intercomp.co.il Fri Feb 23 01:45:22 2007 From: chaim at intercomp.co.il (Chaim Keren Tzion) Date: Fri, 23 Feb 2007 02:45:22 +0200 Subject: Notifications by SMS Message-ID: <200702230245.22922.chaim@intercomp.co.il> What are the recommended ways to have Nagios send SMS notifications via the net? (Non modem solutions please.) Free and non-free. TIA ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 23 02:00:29 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 23 Feb 2007 01:00:29 +0000 Subject: Notifications by SMS In-Reply-To: <200702230245.22922.chaim@intercomp.co.il> References: <200702230245.22922.chaim@intercomp.co.il> Message-ID: <45DE3CAD.7010409@mailnetwork.co.uk> There are plenty of email-to-SMS providers out there. www.textanywhere.net www.aql.com To name 2 that spring to mind (UK-based.) They all use pretty much the same approach - send an e-mail to @.tld, and it'll relay the first 160 characters (or whatever the network allows) of the e-mail to the mobile device number. I've used both AQL and TextAnywhere, TA has a slightly quicker response time than AQL on sent messages, and they invoice us on a monthly basis rather than having to pre-pay (like AQL, where we often ran into the problem of running out of credit, then messages don't get relayed.) I'm sure there are some free providers that may do this too, but the paid ones often implement better solutions (like TA has a HTTP and SOAP protocol so you can POST a HTTP request in the correct format to generate a text message rather than using e-mail.) HTH, Andy. Chaim Keren Tzion wrote: > What are the recommended ways to have Nagios send SMS notifications via the > net? (Non modem solutions please.) Free and non-free. > > TIA > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45de396b925171512379562! > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Fri Feb 23 09:26:38 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 23 Feb 2007 03:26:38 -0500 Subject: Notifications by SMS In-Reply-To: <200702230245.22922.chaim@intercomp.co.il> References: <200702230245.22922.chaim@intercomp.co.il> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Chaim Keren Tzion > Sent: Thursday, February 22, 2007 4:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifications by SMS > > What are the recommended ways to have Nagios send SMS > notifications via the net? (Non modem solutions please.) Free > and non-free. It depends on your provider. In my case, I send e-mails to an address set up at my phone company. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Fri Feb 23 10:19:14 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Fri, 23 Feb 2007 09:19:14 -0000 Subject: monitoring sql counter files In-Reply-To: References: <20070222162653.9C80C4F4045@desire.netways.de> Message-ID: Phil Costelloe wrote: > Rusty Hall wrote: >> Has anyone tried accessing the performance counter files for SQL >> Server 2000 Enterprise on a Windows 2003 server. [snip] > I monitor both of those (amongst many others) and get sensible > results back (SQL Server 2000 Standard on Windows Server 2003). Come to think of it, I upgraded that box so it's running SQL 2000 Enterprise the same as yours. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From traxplayer at gmail.com Fri Feb 23 11:22:10 2007 From: traxplayer at gmail.com (=?ISO-8859-1?Q?Martin_M=F8ller_Pedersen?=) Date: Fri, 23 Feb 2007 11:22:10 +0100 Subject: check_log problems Message-ID: Hi, I am trying to use check_log on a solaris box but without luck. Any advise from this group ? % ./check_log -F /home/oracle/admin/cdocs/bdump/alert_cdocs.log -O /tmp/alert_cdocs.log -q ORA-00600 Log check data initialized... % ./check_log -F /home/oracle/admin/cdocs/bdump/alert_cdocs.log -O /tmp/alert_cdocs.log -q ORA-00600 ./check_log[191]: 0403-057 Syntax error at line 206 : ``' is not matched. % ./check_log --version check_log (nagios-plugins 1.4.5) 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. Thank Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steven_jones at ncsu.edu Fri Feb 23 13:13:18 2007 From: steven_jones at ncsu.edu (Steven C. Jones) Date: Fri, 23 Feb 2007 07:13:18 -0500 Subject: Notifications by SMS In-Reply-To: References: Message-ID: <20070223071318000.00000001504@magoh> That's basically what we do (sending messages via areacode+phonenumber @ provider.net or com,etc). We've done it via pager and cell phone (SMS) and it's worked fine for us. Sometimes depending on the load of errors, you may receive garbage in the text from Nagios, so be prepared - then again we are still running nagios v. 1.4. _____________________ Steven C. Jones - ITECS (919) 513-4824 'Most people seek after what they do not possess and are enslaved by the very things they want to acquire.' - Anwar Sadat -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick Sent: Friday, February 23, 2007 3:27 AM To: Chaim Keren Tzion; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notifications by SMS > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Chaim Keren Tzion > Sent: Thursday, February 22, 2007 4:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifications by SMS > > What are the recommended ways to have Nagios send SMS > notifications via the net? (Non modem solutions please.) Free > and non-free. It depends on your provider. In my case, I send e-mails to an address set up at my phone company. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deballing at vassar.edu Fri Feb 23 13:28:52 2007 From: deballing at vassar.edu (Derek J. Balling) Date: Fri, 23 Feb 2007 07:28:52 -0500 Subject: Notifications by SMS In-Reply-To: <200702230245.22922.chaim@intercomp.co.il> References: <200702230245.22922.chaim@intercomp.co.il> Message-ID: <45DEDE04.10803@vassar.edu> Chaim Keren Tzion wrote: > What are the recommended ways to have Nagios send SMS notifications via the > net? (Non modem solutions please.) Free and non-free. Via which "net"? Do you consider a GSM-Terminal solution to be a "modem solution"? (I wouldn't FYI, but there's similarities, sure). We installed a Siemens TC65T in our data center and attached it to our Nagios server. So our Nagios server has a GSM telephone number associated with it, and it can happily issue SMS messages directly OTA to our GSM phones. Like I said, it's not a "modem", but there are similarities. But also a lot less error-prone (you'll never get notified a couple hundred times after you bring up the mail server, that "the mail system is down", for example). Also, since it's OTA, it's not like you have to bring POTS service to the box. Contrarily, though, depending on your situation, getting a GSM signal in the colo may not be the easiest thing in the world. Cheers, D -- Derek J. Balling Manager of Systems Administration Vassar College 124 Raymond Ave Box 0406 - Computer Center 217 Poughkeepsie, NY 12604 W: (845) 437-7231 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3249 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Fri Feb 23 13:57:42 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 23 Feb 2007 07:57:42 -0500 Subject: Notifications by SMS In-Reply-To: <20070223071318000.00000001504@magoh> References: <20070223071318000.00000001504@magoh> Message-ID: <7F477BD26F545A4C8E4779754A38EFB3B1E0AC@PEPWMV00043.corp.pep.pvt> We do this as well (e-mail to phonenumber at provider) to receive alerts. What's not so good about this is that most phone companies limit the length of an SMS message. The provider includes a lot of the e-mail header in the SMS message which eats up a good chunk of that length. We find that regularly we get the subject, but little or none of the body of the alert message. It would be nice to be able to get just the alert without all the e-mail header crap. That's what makes the notion of a service that translates the e-mail message more intelligently and sends it via SMS an intriguing idea to us. Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Steven C. Jones Sent: Friday, February 23, 2007 7:13 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notifications by SMS That's basically what we do (sending messages via areacode+phonenumber @ provider.net or com,etc). We've done it via pager and cell phone (SMS) and it's worked fine for us. Sometimes depending on the load of errors, you may receive garbage in the text from Nagios, so be prepared - then again we are still running nagios v. 1.4. _____________________ Steven C. Jones - ITECS (919) 513-4824 'Most people seek after what they do not possess and are enslaved by the very things they want to acquire.' - Anwar Sadat -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Morris, Patrick Sent: Friday, February 23, 2007 3:27 AM To: Chaim Keren Tzion; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notifications by SMS > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Chaim Keren Tzion > Sent: Thursday, February 22, 2007 4:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Notifications by SMS > > What are the recommended ways to have Nagios send SMS > notifications via the net? (Non modem solutions please.) Free > and non-free. It depends on your provider. In my case, I send e-mails to an address set up at my phone company. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Feb 23 14:07:43 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 23 Feb 2007 13:07:43 +0000 Subject: Notifications by SMS In-Reply-To: <7F477BD26F545A4C8E4779754A38EFB3B1E0AC@PEPWMV00043.corp.pep.pvt> References: <7F477BD26F545A4C8E4779754A38EFB3B1E0AC@PEPWMV00043.corp.pep.pvt> Message-ID: <45DEE71F.9040704@mailnetwork.co.uk> I think this could spark an interesting discussion! Both AQL and Text Anywhere (providers I've used in the past) take only the subject and the body (up to the 160-character limit) as the text message body. Taking the entire e-mail including headers seems bad practice for the obvious reasons of message length restrictions! TextAnywhere also do some other interesting things, based upon which TA domain you send your e-mail to: - Take the first 11 characters of the e-mail subject as the originator ID (instead of your mobile number) and the first 160 characters of the body as the text message - Take the first 160 characters of the e-mail body as the text message, setting the originator ID to your account's default mobile number - Take the entire e-mail body and send as many SMSes as needed to send the complete message (up to 3 messages will get linked as 1 by your handset) If you use the HTTP gateway there are a lot more options you can do, including getting a delivery report back when the message has been delivered to the handset (obviously custom programming on your side is needed.) Andy. Frost, Mark {PBG} wrote: > We do this as well (e-mail to phonenumber at provider) to receive alerts. > What's not so good about this is that most phone companies limit the > length of an SMS message. The provider includes a lot of the e-mail > header in the SMS message which eats up a good chunk of that length. We > find that regularly we get the subject, but little or none of the body > of the alert message. > > It would be nice to be able to get just the alert without all the e-mail > header crap. That's what makes the notion of a service that translates > the e-mail message more intelligently and sends it via SMS an intriguing > idea to us. > > Mark > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Feb 23 14:16:58 2007 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 23 Feb 2007 14:16:58 +0100 Subject: Windows Printer Status Message-ID: <1172236618.12970.35.camel@localhost.localdomain> Hi list! Does anybody know a plugin to check the printer status within an windows print server? I would like to get an alert if a printer's queue goes offline and not only if the printer itself goes offline. Thank you, Gerd ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Fri Feb 23 14:45:40 2007 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Fri, 23 Feb 2007 13:45:40 -0000 Subject: $SERVICEOUTPUT$ problem In-Reply-To: References: Message-ID: Is there any way I can eliminate/ reduce Alerts such as "Service check timed out" ? thanks -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: quinta-feira, 22 de Fevereiro de 2007 19:20 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] $SERVICEOUTPUT$ problem > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Sandeep Narasimha Murthy > Sent: Thursday, February 22, 2007 11:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] $SERVICEOUTPUT$ problem > > The problem here is with the char "(" because when my SMS script received > a message which contains "(" it fails. > > Can I alter these messages ? or is there any other alternative ? http://nagios.sourceforge.net/docs/2_0/configmain.html#illegal_macro_out put_chars or make your notification command something that munges the output you're sending before calling your pager program. -- Marc ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chaim at intercomp.co.il Fri Feb 23 14:48:28 2007 From: chaim at intercomp.co.il (Chaim Keren Tzion) Date: Fri, 23 Feb 2007 15:48:28 +0200 Subject: Notifications by SMS In-Reply-To: <45DEE71F.9040704@mailnetwork.co.uk> References: <7F477BD26F545A4C8E4779754A38EFB3B1E0AC@PEPWMV00043.corp.pep.pvt> <45DEE71F.9040704@mailnetwork.co.uk> Message-ID: <200702231548.28955.chaim@intercomp.co.il> On Friday 23 February 2007 15:07, Andy Shellam (Mailing Lists) wrote: > I think this could spark an interesting discussion! I'm going to pipe in and add what I mentioned in a previous post "vicq with nagios". Vicq allows sending SMS's or ICQ messages via ICQ, free of charge. I just have had trouble getting it to work with Nagios. If we can troubleshoot this it would be a great free solution which can possibly be expanded for two way sending (responding) since ICQ obviously supports this. Does Nagios have limitations of what type of commands it can run as notifications? > Both AQL and Text Anywhere (providers I've used in the past) take only > the subject and the body (up to the 160-character limit) as the text > message body. > Taking the entire e-mail including headers seems bad practice for the > obvious reasons of message length restrictions! > > TextAnywhere also do some other interesting things, based upon which TA > domain you send your e-mail to: > > - Take the first 11 characters of the e-mail subject as the originator > ID (instead of your mobile number) and the first 160 characters of the > body as the text message > - Take the first 160 characters of the e-mail body as the text message, > setting the originator ID to your account's default mobile number > - Take the entire e-mail body and send as many SMSes as needed to send > the complete message (up to 3 messages will get linked as 1 by your > handset) > > If you use the HTTP gateway there are a lot more options you can do, > including getting a delivery report back when the message has been > delivered to the handset (obviously custom programming on your side is > needed.) > > Andy. > > Frost, Mark {PBG} wrote: > > We do this as well (e-mail to phonenumber at provider) to receive alerts. > > What's not so good about this is that most phone companies limit the > > length of an SMS message. The provider includes a lot of the e-mail > > header in the SMS message which eats up a good chunk of that length. We > > find that regularly we get the subject, but little or none of the body > > of the alert message. > > > > It would be nice to be able to get just the alert without all the e-mail > > header crap. That's what makes the notion of a service that translates > > the e-mail message more intelligently and sends it via SMS an intriguing > > idea to us. > > > > Mark > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Chaim Keren Tzion chaim at intercomp.co.il +972-(0)54-465-2983 +972-(0)2-53-53-363 ICQ: 2076934 AIM: lifelionzionray MSN: chaim at intercomp.co.il Yahoo: chakatz Skype: lionslife ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Fri Feb 23 15:04:41 2007 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Fri, 23 Feb 2007 14:04:41 -0000 Subject: $SERVICEOUTPUT$ problem In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users On Behalf Of Sandeep Narasimha Murthy > Sent: 23 February 2007 13:46 > > Is there any way I can eliminate/ reduce Alerts such as "Service check > timed out" ? Increase the timeout on call_nrpe from (default) 10 seconds. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 23 15:52:28 2007 From: marc at ena.com (Marc Powell) Date: Fri, 23 Feb 2007 08:52:28 -0600 Subject: $SERVICEOUTPUT$ problem Message-ID: > -----Original Message----- > From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt] > Sent: Friday, February 23, 2007 7:46 AM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] $SERVICEOUTPUT$ problem > > > Is there any way I can eliminate/ reduce Alerts such as "Service check > timed out" ? New topic -- new thread please. Two good options come to mind - Figure out why the checks are taking so long and fix it or, if it's not a problem, increase the timeout for the plugin such that it has sufficient time to run. A not-so-good option is to build logic into your notification script to not send those alerts. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skeplin at one.net Fri Feb 23 19:58:47 2007 From: skeplin at one.net (Sean Keplinger) Date: Fri, 23 Feb 2007 13:58:47 -0500 (EST) Subject: Notification Options Message-ID: We just implemented Nagios with over 500 hosts tracked. So far so good, but one of the requests I've had is to have seperate notifications for test and production servers. Since the notifications are tied to the contacts, I've been making a seperate contact for paging. Has anyone come up with a better solution? I'd like to have a "notification level" tied to each host/service. Thanks, Sean -- Sean Keplinger / Visit my Hiking/Backpacking and Projects skeplin AT gmail DOT com / blog at: http://spookyworld.dnsalias.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 23 20:27:57 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 23 Feb 2007 19:27:57 +0000 Subject: Notification Options In-Reply-To: References: Message-ID: <765d77c80702231127j68b52891hdafd55718c8468d9@mail.gmail.com> There are lots of options. One thing I do is to have a separate template for each class of host or service. The template will specify the contact_groups option, for example: template for GOLD hosts has contact_groups me,engineers,on-call template for SILVER hosts has contact_groups me,engineers template for BRONZE hosts has contact_groups engineers (I don't care about bronze hosts) tempate for ROUTERS has contact_groups comms_guys,comms_pager I agree with you, it often makes sense to define a separate contact for paging, not least because it will probably want alerts in a different timeperiod to ordinary users. hth, Jim p.s. sorry Sean, you'll get this twice 'cos I forgot to reply to the list at first. On 23/02/07, Sean Keplinger wrote: > > We just implemented Nagios with over 500 hosts tracked. So far so good, > but one of the requests I've had is to have seperate notifications for > test and production servers. Since the notifications are tied to the > contacts, I've been making a seperate contact for paging. > > Has anyone come up with a better solution? I'd like to have a > "notification level" tied to each host/service. > > > Thanks, > Sean ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Fri Feb 23 20:39:05 2007 From: amoran at apple.com (Andy Moran) Date: Fri, 23 Feb 2007 11:39:05 -0800 Subject: Vacation notification rant Message-ID: Okay completely off topic, but I've noticed the few times I've emailed this list that I'll get 4 or 5 "Away from email" messages.. often in different languages. If you are using an auto-responder that is too stupid to honor the "Precedence: List" mail header, then perhaps you shouldn't be allowed to sign up to mailing lists. :P --Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2415 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skeplin at one.net Fri Feb 23 20:39:52 2007 From: skeplin at one.net (Sean Keplinger) Date: Fri, 23 Feb 2007 14:39:52 -0500 (EST) Subject: Notification Options In-Reply-To: <765d77c80702231127j68b52891hdafd55718c8468d9@mail.gmail.com> References: <765d77c80702231127j68b52891hdafd55718c8468d9@mail.gmail.com> Message-ID: Does the contact_groups section support inheritance or is that a version 3.0 feature? The problem with using a template (at least for us) is that we have a lot of machines that have very specialized contact groups. Like 1-2 people for this host, 1 person for that host, etc. For that, I build a small contact group in to each host that requires it (e.g. cg_hostname) and then enter the people in there. I'm not too fond of doing that, so if I could have the contact_groups in the template *merge* with the contact_group in the host/service that would be great. Or perhaps even allow individual contacts on hosts and services? Thanks for the suggestion. Sean On Fri, 23 Feb 2007, Jim Avery wrote: > There are lots of options. One thing I do is to have a separate > template for each class of host or service. The template will specify > the contact_groups option, for example: > > template for GOLD hosts has > contact_groups me,engineers,on-call > > template for SILVER hosts has > contact_groups me,engineers > > template for BRONZE hosts has > contact_groups engineers (I don't care about bronze hosts) > > tempate for ROUTERS has > contact_groups comms_guys,comms_pager > > > I agree with you, it often makes sense to define a separate contact > for paging, not least because it will probably want alerts in a > different timeperiod to ordinary users. > > hth, Jim > > p.s. sorry Sean, you'll get this twice 'cos I forgot to reply to the > list at first. > -- Sean Keplinger / Visit my Hiking/Backpacking and Projects skeplin AT gmail DOT com / blog at: http://spookyworld.dnsalias.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deballing at vassar.edu Fri Feb 23 20:42:29 2007 From: deballing at vassar.edu (Derek J. Balling) Date: Fri, 23 Feb 2007 14:42:29 -0500 Subject: Vacation notification rant In-Reply-To: References: Message-ID: <45DF43A5.6070306@vassar.edu> Andy Moran wrote: > If you are using an auto-responder that is too stupid to honor the > "Precedence: List" mail header, then perhaps you shouldn't be allowed to > sign up to mailing lists. Hell, I'll even make it easier. "Precedence: list" is a relatively modern invention compared to simply checking "Am I a recipient in the To or CC field"? FWIW, on the lists I maintain for myself and others, that's an instant-ban offense. Not sure that's right for *here* but I certainly wouldn't complain if it happened.... D -- Derek J. Balling Manager of Systems Administration Vassar College 124 Raymond Ave Box 0406 - Computer Center 217 Poughkeepsie, NY 12604 W: (845) 437-7231 C: (845) 249-9731 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3249 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 23 21:20:46 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 23 Feb 2007 20:20:46 +0000 Subject: Notification Options In-Reply-To: References: <765d77c80702231127j68b52891hdafd55718c8468d9@mail.gmail.com> Message-ID: <765d77c80702231220y1638ba78u6d41a7ab31109f5d@mail.gmail.com> > Does the contact_groups section support inheritance or is that a version > 3.0 feature? I don't think so, no. I don't know much about what's coming-up in version 3.0. > The problem with using a template (at least for us) is that we have a lot > of machines that have very specialized contact groups. Like 1-2 people for > this host, 1 person for that host, etc. For that, I build a small contact > group in to each host that requires it (e.g. cg_hostname) and then enter > the people in there. That's probably not a bad way of doing it. As people change responsibilities, it makes it easy to move people from one group to another. Another option would be just to have a contact_group for each person and specify multiple contact_groups for each host/service as required. > I'm not too fond of doing that, so if I could have the contact_groups in > the template *merge* with the contact_group in the host/service that would > be great. Or perhaps even allow individual contacts on hosts and services? I'm with you there; it would be nice if you could specify individual contacts rather than contact_groups in the host and service definitions. For most of us, though, having to specify contact_groups encourages a more sensible configuration. You can use the template to set a default set of contact_groups, which are then overridden if you specify the contact_group directive in the host or service definition. I don't know if that would help you a great deal though. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat Feb 24 11:58:32 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 24 Feb 2007 10:58:32 +0000 Subject: Notifications by SMS In-Reply-To: <200702231548.28955.chaim@intercomp.co.il> References: <7F477BD26F545A4C8E4779754A38EFB3B1E0AC@PEPWMV00043.corp.pep.pvt> <45DEE71F.9040704@mailnetwork.co.uk> <200702231548.28955.chaim@intercomp.co.il> Message-ID: <765d77c80702240258k4791457fw2ab02ace191f3b2@mail.gmail.com> I use http://www.intellisms.co.uk/ . Their options for formatting the mail for translation to SMS are many and varied. It can split long emails in to multiple SMSs (you specify what the max number is you will allow). SMS replys are fired back by email to the originator (in my case I spoof it back to my own email). You can use their web admin pages to see what texts have been sent to whom. They take either pre-pay or contract payment. With pre-pay, you can specify a list of emails which will get notified when credit drops to a certain number of texts (which you specify). You can put an endofmessage code in the email so the SMS won't include all the legal and marketing junk the corporate email system appends to every email. The feature I really like is you can set up a contact group within the intellisms system, and move contacts in and out of that group using the web interface. That's handy for me as I can administer the on-call rota that way without bothering to connect to the corporate network. The downside of using any of these email-SMS methods is that they won't notify you when your SMTP gateway is down. Ideally I would set up an alternative using POTS or whatever so I could escalate via another route entirely. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Sat Feb 24 14:21:32 2007 From: chiel at gmx.net (chiel) Date: Sat, 24 Feb 2007 14:21:32 +0100 Subject: Service checks in hosts.cfg? Message-ID: <001001c75816$b3e17310$0800000a@michiel> Hello, I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config (.cfg) files. I understand that you create a service (let say Ping) and put all your hosts (or hostgroups) in there that you want to check with ping. But is it also possible to define these checks in the hosts.cfg file?? So I would become something like this: define host{ host_name server1 alias Linux server 1 address 10.0.0.1 contact_groups network_team checks check_ping, check_load, check_snmp <--- This line } This would make more sense to me, because if you got over a 100 hosts to check, and you don't want to do it with a hostgroup, then all these host most be in the services.cfg on one line (do I got this right?). Please comment on this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Feb 24 15:06:05 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 24 Feb 2007 15:06:05 +0100 (CET) Subject: Service checks in hosts.cfg? In-Reply-To: <001001c75816$b3e17310$0800000a@michiel> References: <001001c75816$b3e17310$0800000a@michiel> Message-ID: On Sat, 24 Feb 2007, chiel wrote: > I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config (.cfg) files. > I understand that you create a service (let say Ping) and put all your hosts (or hostgroups) in there that you want to check with ping. First off. Print the manual in full or whatever allows you to read it cover to cover. But go over the full manual at least once from cover to cover. > But is it also possible to define these checks in the hosts.cfg file?? > So I would become something like this: > > define host{ > host_name server1 > alias Linux server 1 > address 10.0.0.1 > contact_groups network_team > checks check_ping, check_load, check_snmp <--- This line > } This is rather completely wrong. I think you need to reverse your way of thinking. Think of hosts as machines. You can add a check on the machine but it is just to see if the hardware is there. For this most people use the default check but in some cases you need to deviate. That is where the checks on a host end. You care about service provided. You only check the host to make sure they remain active because you need them to run the service. In this regard you can think of CPU and memory usages as services on which other services rely. (If your CPU is 0% idle your MySQL service is likely to be running poorly.) So you need to add a 100 hosts if you have a 100 machines. But read the part on templates very very carefully as it will save a lot of time and work. Then you define service which may run on some hosts, mosts hosts or all hosts. So define a service named POSTFIX for example and use the check_smtp check to test it. If in doubt go over the manual a few times and study the mailinglist archives. For example my 4 backup DNS servers: # 4 backup servers: define hostgroup { hostgroup_name mydyndns-org alias mydyndns.org servers members ns2.mydyndns.org members ns3.mydyndns.org members ns4.mydyndns.org members ns5.mydyndns.org } # Template for these hosts define host { name mydyndns-template register 0 check_command check-host-alive max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 } # The 4 machines: define host{ use mydyndns-template host_name ns2.mydyndns.org alias DNS server 2 address 204.13.249.82 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns3.mydyndns.org alias DNS server 3 address 204.13.250.82 # address 63.209.15.211 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns4.mydyndns.org alias DNS server 4 address 213.155.150.206 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns5.mydyndns.org alias DNS server 5 address 63.208.196.93 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } # Now group the services on the 4 hosts: define servicegroup { servicegroup_name mydyndns-org alias mydyndns.org servers members ns2.mydyndns.org, * members ns3.mydyndns.org, * members ns4.mydyndns.org, * members ns5.mydyndns.org, * } # Service template: define service { name mydyndns-template register 0 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 } # Add services to these hosts: define service{ use mydyndns-template host_name ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org service_description DNS check_command check_dig!1!5!www.vanderkooij.org contact_groups mydyndns-org } define service{ use mydyndns-template host_name ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org service_description PING check_command check_ping!300,20%!1000,60% contact_groups mydyndns-org } ...... Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MCG at mpsistemas.es Sat Feb 24 15:07:25 2007 From: MCG at mpsistemas.es (MANUEL CANSECO GARCIA) Date: Sat, 24 Feb 2007 15:07:25 +0100 Subject: Service checks in hosts.cfg? Message-ID: **** Mensaje Automatico *** Este usuario no se encuentra operativo, para cualquier asunto le ruego se pongan en contacto con Leandro Gayango lgg at mpsistemas.es *************************************************************************************** >>> nagios-users 02/24/07 15:06 >>> On Sat, 24 Feb 2007, chiel wrote: > I have been working with Nagios for a couple of days now and I'm just beginning to understand the principle of the config (.cfg) files. > I understand that you create a service (let say Ping) and put all your hosts (or hostgroups) in there that you want to check with ping. First off. Print the manual in full or whatever allows you to read it cover to cover. But go over the full manual at least once from cover to cover. > But is it also possible to define these checks in the hosts.cfg file?? > So I would become something like this: > > define host{ > host_name server1 > alias Linux server 1 > address 10.0.0.1 > contact_groups network_team > checks check_ping, check_load, check_snmp <--- This line > } This is rather completely wrong. I think you need to reverse your way of thinking. Think of hosts as machines. You can add a check on the machine but it is just to see if the hardware is there. For this most people use the default check but in some cases you need to deviate. That is where the checks on a host end. You care about service provided. You only check the host to make sure they remain active because you need them to run the service. In this regard you can think of CPU and memory usages as services on which other services rely. (If your CPU is 0% idle your MySQL service is likely to be running poorly.) So you need to add a 100 hosts if you have a 100 machines. But read the part on templates very very carefully as it will save a lot of time and work. Then you define service which may run on some hosts, mosts hosts or all hosts. So define a service named POSTFIX for example and use the check_smtp check to test it. If in doubt go over the manual a few times and study the mailinglist archives. For example my 4 backup DNS servers: # 4 backup servers: define hostgroup { hostgroup_name mydyndns-org alias mydyndns.org servers members ns2.mydyndns.org members ns3.mydyndns.org members ns4.mydyndns.org members ns5.mydyndns.org } # Template for these hosts define host { name mydyndns-template register 0 check_command check-host-alive max_check_attempts 3 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 } # The 4 machines: define host{ use mydyndns-template host_name ns2.mydyndns.org alias DNS server 2 address 204.13.249.82 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns3.mydyndns.org alias DNS server 3 address 204.13.250.82 # address 63.209.15.211 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns4.mydyndns.org alias DNS server 4 address 213.155.150.206 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } define host{ use mydyndns-template host_name ns5.mydyndns.org alias DNS server 5 address 63.208.196.93 parents transip-switch hostgroups mydyndns-org contact_groups mydyndns-org } # Now group the services on the 4 hosts: define servicegroup { servicegroup_name mydyndns-org alias mydyndns.org servers members ns2.mydyndns.org, * members ns3.mydyndns.org, * members ns4.mydyndns.org, * members ns5.mydyndns.org, * } # Service template: define service { name mydyndns-template register 0 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 retain_status_information 1 retain_nonstatus_information 1 notification_interval 60 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 } # Add services to these hosts: define service{ use mydyndns-template host_name ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org service_description DNS check_command check_dig!1!5!www.vanderkooij.org contact_groups mydyndns-org } define service{ use mydyndns-template host_name ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org service_description PING check_command check_ping!300,20%!1000,60% contact_groups mydyndns-org } ...... Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Sat Feb 24 15:29:24 2007 From: chiel at gmx.net (chiel) Date: Sat, 24 Feb 2007 15:29:24 +0100 Subject: Service checks in hosts.cfg? References: Message-ID: <002601c75820$2e9a4b50$0800000a@michiel> Hi Hugo, Thank you for your comments. I understand this way. But what I'm trying to say is that ----- Original Message ----- From: "MANUEL CANSECO GARCIA" To: Sent: Saturday, February 24, 2007 3:07 PM Subject: Re: [Nagios-users] Service checks in hosts.cfg? > **** Mensaje Automatico *** > Este usuario no se encuentra operativo, para cualquier asunto le ruego > se pongan en contacto con Leandro Gayango lgg at mpsistemas.es > > *************************************************************************************** > >>>> nagios-users 02/24/07 15:06 >>> > > On Sat, 24 Feb 2007, chiel wrote: > >> I have been working with Nagios for a couple of days now and I'm just > beginning to understand the principle of the config (.cfg) files. >> I understand that you create a service (let say Ping) and put all your > hosts (or hostgroups) in there that you want to check with ping. > > First off. Print the manual in full or whatever allows you to read it > cover to cover. But go over the full manual at least once from cover to > cover. > >> But is it also possible to define these checks in the hosts.cfg file?? >> So I would become something like this: >> >> define host{ >> host_name server1 >> alias Linux server 1 >> address 10.0.0.1 >> contact_groups network_team >> checks check_ping, check_load, check_snmp <--- This > line >> } > > This is rather completely wrong. I think you need to reverse your way of > > thinking. > > Think of hosts as machines. You can add a check on the machine but it is > > just to see if the hardware is there. For this most people use the > default > check but in some cases you need to deviate. That is where the checks on > a > host end. > > You care about service provided. You only check the host to make sure > they > remain active because you need them to run the service. In this regard > you > can think of CPU and memory usages as services on which other services > rely. (If your CPU is 0% idle your MySQL service is likely to be running > > poorly.) > > So you need to add a 100 hosts if you have a 100 machines. But read the > part on templates very very carefully as it will save a lot of time and > work. > > Then you define service which may run on some hosts, mosts hosts or all > hosts. > > So define a service named POSTFIX for example and use the check_smtp > check > to test it. > > If in doubt go over the manual a few times and study the mailinglist > archives. > > For example my 4 backup DNS servers: > > # 4 backup servers: > define hostgroup { > hostgroup_name mydyndns-org > alias mydyndns.org servers > members ns2.mydyndns.org > members ns3.mydyndns.org > members ns4.mydyndns.org > members ns5.mydyndns.org > } > > # Template for these hosts > define host { > name mydyndns-template > register 0 > check_command check-host-alive > max_check_attempts 3 > active_checks_enabled 1 > passive_checks_enabled 0 > check_period 24x7 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > } > > # The 4 machines: > define host{ > use mydyndns-template > host_name ns2.mydyndns.org > alias DNS server 2 > address 204.13.249.82 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns3.mydyndns.org > alias DNS server 3 > address 204.13.250.82 > # address 63.209.15.211 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns4.mydyndns.org > alias DNS server 4 > address 213.155.150.206 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns5.mydyndns.org > alias DNS server 5 > address 63.208.196.93 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > # Now group the services on the 4 hosts: > define servicegroup { > servicegroup_name mydyndns-org > alias mydyndns.org servers > members ns2.mydyndns.org, * > members ns3.mydyndns.org, * > members ns4.mydyndns.org, * > members ns5.mydyndns.org, * > } > > # Service template: > define service { > name mydyndns-template > register 0 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > } > > # Add services to these hosts: > define service{ > use mydyndns-template > host_name > ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org > service_description DNS > check_command > check_dig!1!5!www.vanderkooij.org > contact_groups mydyndns-org > } > > define service{ > use mydyndns-template > host_name > ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org > service_description PING > check_command check_ping!300,20%!1000,60% > contact_groups mydyndns-org > } > > ...... > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Feb 24 15:33:45 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 24 Feb 2007 09:33:45 -0500 Subject: Service checks in hosts.cfg? In-Reply-To: <001001c75816$b3e17310$0800000a@michiel> References: <001001c75816$b3e17310$0800000a@michiel> Message-ID: <45E04CC9.6000906@aei.ca> On 24/02/07 08:21 AM, chiel wrote: > Hello, > > I have been working with Nagios for a couple of days now and I'm just > beginning to understand the principle of the config (.cfg) files. > I understand that you create a service (let say Ping) and put all your > hosts (or hostgroups) in there that you want to check with ping. > > But is it also possible to define these checks in the hosts.cfg file?? > So I would become something like this: > > define host{ > host_name server1 > alias Linux server 1 > address 10.0.0.1 > contact_groups network_team > checks check_ping, check_load, check_snmp <--- This line > } > > > This would make more sense to me, because if you got over a 100 hosts to > check, and you don't want to do it with a hostgroup, then all these host > most be in the services.cfg on one line (do I got this right?). Well, first keep in mind that any object configuration file is only a configuration file. The name is irrelevant. If you're building a huge host you should use cfg_dir so that you can config files simple by dropinf one in cfg_dir on one of its subdirectory. The best way to achieve your result is using templates. So let's say you have, among hostgroups, web1 web2 and web3 that all needs HTTP checks. You can create a template (I'm not looking at the doc so syntax may be wrong...): define service{ name web_service hostgroup_name web1 web2 web3 [optionally other options] use generic_service # ^^^ Only if you have a generic_service template with default options. register 0 } Then to define the HTTP check all you have to do is: define service { service_description HTTP Check host_name check_command check_http!args use web_service } If you build everything over whell-organized templates your config will be much smaller. Here's the comparisos of number of lines between objects config lines and the fully parsed objects cache on one of my hosts: # find /path/to/nagios/cfg -name \*.cfg|xargs cat|egrep -v '^.*?#' \ |egrep -v '^[[:space:]]*$'|wc -l 1755 # cat /path/to/var/objects.cache|egrep -v '^.*?#' \ |egrep -v '^[[:space:]]*$'|wc -l 29970 Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Sat Feb 24 15:40:36 2007 From: chiel at gmx.net (chiel) Date: Sat, 24 Feb 2007 15:40:36 +0100 Subject: Service checks in hosts.cfg? References: <001001c75816$b3e17310$0800000a@michiel> Message-ID: <003101c75821$bf002010$0800000a@michiel> Hi Hugo, Thank you for your comments. I understand this way nagios must be configured. define service{ use mydyndns-template host_name ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org service_description PING check_command check_ping!300,20%!1000,60% contact_groups mydyndns-org } In the above example you define all your hosts that you want to check with ping on one line. Let say I want to check over a 100 hosts with this services, must they al go on 1 line (?!). I can't put the hostgroup here because not al the hosts in that hostgroup respond to ping. (Of course I split up the config files as much as I can with creating cfg_dir's) Michiel ----- Original Message ----- From: "Hugo van der Kooij" To: "Nagios Users mailinglist" Sent: Saturday, February 24, 2007 3:06 PM Subject: Re: [Nagios-users] Service checks in hosts.cfg? > On Sat, 24 Feb 2007, chiel wrote: > >> I have been working with Nagios for a couple of days now and I'm just >> beginning to understand the principle of the config (.cfg) files. >> I understand that you create a service (let say Ping) and put all your >> hosts (or hostgroups) in there that you want to check with ping. > > First off. Print the manual in full or whatever allows you to read it > cover to cover. But go over the full manual at least once from cover to > cover. > >> But is it also possible to define these checks in the hosts.cfg file?? >> So I would become something like this: >> >> define host{ >> host_name server1 >> alias Linux server 1 >> address 10.0.0.1 >> contact_groups network_team >> checks check_ping, check_load, check_snmp <--- This line >> } > > This is rather completely wrong. I think you need to reverse your way of > thinking. > > Think of hosts as machines. You can add a check on the machine but it is > just to see if the hardware is there. For this most people use the default > check but in some cases you need to deviate. That is where the checks on a > host end. > > You care about service provided. You only check the host to make sure they > remain active because you need them to run the service. In this regard you > can think of CPU and memory usages as services on which other services > rely. (If your CPU is 0% idle your MySQL service is likely to be running > poorly.) > > So you need to add a 100 hosts if you have a 100 machines. But read the > part on templates very very carefully as it will save a lot of time and > work. > > Then you define service which may run on some hosts, mosts hosts or all > hosts. > > So define a service named POSTFIX for example and use the check_smtp check > to test it. > > If in doubt go over the manual a few times and study the mailinglist > archives. > > For example my 4 backup DNS servers: > > # 4 backup servers: > define hostgroup { > hostgroup_name mydyndns-org > alias mydyndns.org servers > members ns2.mydyndns.org > members ns3.mydyndns.org > members ns4.mydyndns.org > members ns5.mydyndns.org > } > > # Template for these hosts > define host { > name mydyndns-template > register 0 > check_command check-host-alive > max_check_attempts 3 > active_checks_enabled 1 > passive_checks_enabled 0 > check_period 24x7 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > } > > # The 4 machines: > define host{ > use mydyndns-template > host_name ns2.mydyndns.org > alias DNS server 2 > address 204.13.249.82 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns3.mydyndns.org > alias DNS server 3 > address 204.13.250.82 > # address 63.209.15.211 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns4.mydyndns.org > alias DNS server 4 > address 213.155.150.206 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > define host{ > use mydyndns-template > host_name ns5.mydyndns.org > alias DNS server 5 > address 63.208.196.93 > parents transip-switch > hostgroups mydyndns-org > contact_groups mydyndns-org > } > > # Now group the services on the 4 hosts: > define servicegroup { > servicegroup_name mydyndns-org > alias mydyndns.org servers > members ns2.mydyndns.org, * > members ns3.mydyndns.org, * > members ns4.mydyndns.org, * > members ns5.mydyndns.org, * > } > > # Service template: > define service { > name mydyndns-template > register 0 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > retain_status_information 1 > retain_nonstatus_information 1 > notification_interval 60 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > } > > # Add services to these hosts: > define service{ > use mydyndns-template > host_name > ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org > service_description DNS > check_command check_dig!1!5!www.vanderkooij.org > contact_groups mydyndns-org > } > > define service{ > use mydyndns-template > host_name > ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org > service_description PING > check_command check_ping!300,20%!1000,60% > contact_groups mydyndns-org > } > > ...... > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Feb 24 15:49:51 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 24 Feb 2007 15:49:51 +0100 (CET) Subject: Service checks in hosts.cfg? In-Reply-To: <003101c75821$bf002010$0800000a@michiel> References: <001001c75816$b3e17310$0800000a@michiel> <003101c75821$bf002010$0800000a@michiel> Message-ID: On Sat, 24 Feb 2007, chiel wrote: > Thank you for your comments. I understand this way nagios must be > configured. > > define service{ > use mydyndns-template > host_name > ns2.mydyndns.org,ns3.mydyndns.org,ns4.mydyndns.org,ns5.mydyndns.org > service_description PING > check_command check_ping!300,20%!1000,60% > contact_groups mydyndns-org > } > > > In the above example you define all your hosts that you want to check with > ping on one line. Let say I want to check over a 100 hosts with this > services, must they al go on 1 line (?!). > I can't put the hostgroup here because not al the hosts in that hostgroup > respond to ping. > (Of course I split up the config files as much as I can with creating > cfg_dir's) Can't recall if you can have multiple host_name lines. I have not needed it yet. But it will take you only minutes to find out. Won't it? Please, don't top post: A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Sat Feb 24 16:20:08 2007 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Sat, 24 Feb 2007 10:20:08 -0500 Subject: Notifications by SMS In-Reply-To: <765d77c80702240258k4791457fw2ab02ace191f3b2@mail.gmail.com> References: <765d77c80702240258k4791457fw2ab02ace191f3b2@mail.gmail.com> Message-ID: <7F477BD26F545A4C8E4779754A38EFB3B4E4B0@PEPWMV00043.corp.pep.pvt> It seems that most folks who talk about these services (and the ones that are "good") seem to be referring to services for UK users. Is this something that's just more widely used in the UK and Europe that the US? Anyone recommend any good services for this stuff that would work for US customers? Thanks Mark -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jim Avery Sent: Saturday, February 24, 2007 5:59 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Notifications by SMS I use http://www.intellisms.co.uk/ . Their options for formatting the mail for translation to SMS are many and varied. It can split long emails in to multiple SMSs (you specify what the max number is you will allow). SMS replys are fired back by email to the originator (in my case I spoof it back to my own email). You can use their web admin pages to see what texts have been sent to whom. They take either pre-pay or contract payment. With pre-pay, you can specify a list of emails which will get notified when credit drops to a certain number of texts (which you specify). You can put an endofmessage code in the email so the SMS won't include all the legal and marketing junk the corporate email system appends to every email. The feature I really like is you can set up a contact group within the intellisms system, and move contacts in and out of that group using the web interface. That's handy for me as I can administer the on-call rota that way without bothering to connect to the corporate network. The downside of using any of these email-SMS methods is that they won't notify you when your SMTP gateway is down. Ideally I would set up an alternative using POTS or whatever so I could escalate via another route entirely. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE V _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrea.gabellini at telecomitalia.sm Sat Feb 24 18:29:17 2007 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Sat, 24 Feb 2007 18:29:17 +0100 Subject: Monitoring Cisco 3750 stack In-Reply-To: <2D0245E43DEC724F81592D697F05689904C433D2@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689904C433D2@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <45E075ED.4070603@telecomitalia.sm> Hi, I would like to monitor the status of a stack of Cisco Catalyst 3750. Do someone know the SNMP OIDs to query? Or can someone share info or scripts? Thanks, Andrea -- --------------------------------------- Computer analyst to programmer: "You start coding. I'll go find out what they want." --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Repubblic of San Marino http://www.omniway.sm http://www.telecomitalia.sm ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat Feb 24 20:02:46 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 24 Feb 2007 20:02:46 +0100 (CET) Subject: Monitoring Cisco 3750 stack In-Reply-To: <45E075ED.4070603@telecomitalia.sm> References: <2D0245E43DEC724F81592D697F05689904C433D2@SIDHQEXCHMB1.Cabelas.Corp> <45E075ED.4070603@telecomitalia.sm> Message-ID: On Sat, 24 Feb 2007, Andrea Gabellini wrote: > I would like to monitor the status of a stack of Cisco Catalyst 3750. > > Do someone know the SNMP OIDs to query? Or can someone share info or scripts? I guess a snmpwalk against the device will let it spill it's guts and you pick whatever you want to know about it. So the basic question is. What do you want to know about it? For example: You can gather the amount of non-unicast packets for a port if you like to. But is it usefull to you? Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlo.piccini at katamail.com Sun Feb 25 00:49:22 2007 From: carlo.piccini at katamail.com (Carlo Piccini) Date: Sun, 25 Feb 2007 00:49:22 +0100 Subject: PHP parse error in NLG Message-ID: <000001c7586e$68f03cd0$0501a8c0@retesesa.it> Hello, just installed NLG 1.0.2, but stuck with a blank page on hitting URL. In apache error log I have: [client 192.168.1.5] PHP Parse error: parse error, unexpected T_STRING in /usr/share/nagios/client/s3_client.php on line 327 Any advice for me? Nagios 2.0 Thank you, Carlo Piccini -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chaim at intercomp.co.il Sun Feb 25 00:51:37 2007 From: chaim at intercomp.co.il (Chaim Keren Tzion) Date: Sun, 25 Feb 2007 01:51:37 +0200 Subject: Notifications by SMS In-Reply-To: <45DEDE04.10803@vassar.edu> References: <200702230245.22922.chaim@intercomp.co.il> <45DEDE04.10803@vassar.edu> Message-ID: <200702250151.37189.chaim@intercomp.co.il> On Friday 23 February 2007 14:28, Derek J. Balling wrote: > Chaim Keren Tzion wrote: > > What are the recommended ways to have Nagios send SMS notifications via > > the net? (Non modem solutions please.) Free and non-free. > > Via which "net"? Do you consider a GSM-Terminal solution to be a "modem > solution"? (I wouldn't FYI, but there's similarities, sure). What I mean by "net" is Internet. My servers are in a collocation center and I can't get a GSM modem or serially connected GSM-Terminal device in there. > We installed a Siemens TC65T in our data center and attached it to our > Nagios server. So our Nagios server has a GSM telephone number > associated with it, and it can happily issue SMS messages directly OTA > to our GSM phones. > > Like I said, it's not a "modem", but there are similarities. But also a > lot less error-prone (you'll never get notified a couple hundred times > after you bring up the mail server, that "the mail system is down", for > example). Also, since it's OTA, it's not like you have to bring POTS > service to the box. Contrarily, though, depending on your situation, > getting a GSM signal in the colo may not be the easiest thing in the world. > > Cheers, > D ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chaim at intercomp.co.il Sun Feb 25 01:00:17 2007 From: chaim at intercomp.co.il (Chaim Keren Tzion) Date: Sun, 25 Feb 2007 02:00:17 +0200 Subject: Notifications by SMS In-Reply-To: References: <200702230245.22922.chaim@intercomp.co.il> Message-ID: <200702250200.17217.chaim@intercomp.co.il> On Friday 23 February 2007 14:35, Martin M?ller Pedersen wrote: > On 23/02/07, Chaim Keren Tzion wrote: > > What are the recommended ways to have Nagios send SMS notifications via > > the net? (Non modem solutions please.) Free and non-free. > > > > TIA > > But then you will not get any notification if your network has problems ! > A GSM-modem is a good solution. I agree but I can't get one into my data center. The upside is that the servers are monitored 24x7 by the collocation staff for the type of things that having a GSM-modem would be most essential for, like network outages. I just need the SMS's for performance monitoring so I can be alerted to problems while they are happening which helps with debugging etc. > > Regards > Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Feb 25 12:51:21 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Sun, 25 Feb 2007 11:51:21 +0000 Subject: PHP parse error in NLG In-Reply-To: <000001c7586e$68f03cd0$0501a8c0@retesesa.it> References: <000001c7586e$68f03cd0$0501a8c0@retesesa.it> Message-ID: <45E17839.2050304@mailnetwork.co.uk> Hi Carlo, What version of PHP are you running? Line 327 in the code is a comparison of two classes, using the "instanceof" operator, which was introduced in PHP 5 (http://uk2.php.net/manual/en/language.operators.type.php). It sounds like you have PHP 4, which is not supported by NLG. Andy. Carlo Piccini wrote: > > Hello, > > > > just installed NLG 1.0.2, but stuck with a blank page on hitting URL. > > In apache error log I have: > > > > [client 192.168.1.5] PHP Parse error: parse error, unexpected > T_STRING in /usr/share/nagios/client/s3_client.php on line 327 > > > > Any advice for me? > > Nagios 2.0 > > > > Thank you, > > Carlo Piccini > > !DSPAM:37,45e0cf26925177317654902! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45e0cf26925177317654902! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45e0cf26925177317654902! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Mon Feb 26 03:45:01 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Mon, 26 Feb 2007 13:45:01 +1100 Subject: Notifications by SMS Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A01DA5DF6@mail01.ccia.local> Wfiw, we use the email to sms service provided by http://www.messagemedia.com.au/ (Australia) It works ok, we use an alternate smtp server which isn't ours. I'm not overly happy with using smtp-sms, there a lot that can go wrong, much out of my control. Message Media does provide APIs which from a very brief look will contact the sms service via HTTP. In my mind HTTP (via PHP) is potentially more attractive than using SMTP. Still, if there's still pleanty of ways this can fail too. I'm not sure if it's because the SMTP server we use is part of a cluster (it is), or load balancing of sms servers, but if there is a lot of messages they don't arrive in order. I'm considering having a GSM phone attached to the nagios servers, or a pci card like this http://www.amplified.com.au/GSM_Modem.aspx I would if I could be sure linux was supported and I could craft a wrapper. Matthew Joyce 02 9382 0051 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Jim Avery > Sent: Saturday, 24 February 2007 9:59 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Notifications by SMS > > I use http://www.intellisms.co.uk/ . > > Their options for formatting the mail for translation to SMS > are many and varied. It can split long emails in to multiple > SMSs (you specify what the max number is you will allow). > SMS replys are fired back by email to the originator (in my > case I spoof it back to my own email). > You can use their web admin pages to see what texts have been > sent to whom. They take either pre-pay or contract payment. > With pre-pay, you can specify a list of emails which will get > notified when credit drops to a certain number of texts > (which you specify). You can put an endofmessage code in the > email so the SMS won't include all the legal and marketing > junk the corporate email system appends to every email. > > The feature I really like is you can set up a contact group > within the intellisms system, and move contacts in and out of > that group using the web interface. That's handy for me as I > can administer the on-call rota that way without bothering to > connect to the corporate network. > > The downside of using any of these email-SMS methods is that > they won't notify you when your SMTP gateway is down. > Ideally I would set up an alternative using POTS or whatever > so I could escalate via another route entirely. > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Feb 26 05:02:14 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Sun, 25 Feb 2007 23:02:14 -0500 Subject: Disk space how ?? Message-ID: <7abcf48e0702252002oce342cdjca7f58f477fba45@mail.gmail.com> Hi i got nagios 2.4 I want to monitor disk space available on 30 servers i have does any one have a code so i can define the command in check_commands.cfg, i tried the bellow code and changing the host_name to whatever server but gives me the disk space of my localhost still dont know why cause its the same format isnt it unless i am suppose to create another define command as general service, but ping service works which is wiered. also for any future addtionall services do i have to define them globaly in the checkcommands.cfg? OR IS THERE ANOTHER FILE THAT I USE TO DEFINE A SERVICE thanks define service{ use generic-service ; Name of service template to use *host_name localhost* service_description Root Partition is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups gmaster notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_local_disk!20%!10%!/ } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Feb 26 08:16:54 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 26 Feb 2007 02:16:54 -0500 Subject: Disk space how ?? In-Reply-To: <7abcf48e0702252002oce342cdjca7f58f477fba45@mail.gmail.com> References: <7abcf48e0702252002oce342cdjca7f58f477fba45@mail.gmail.com> Message-ID: > i tried the bellow code and changing the host_name to > whatever server but gives me the disk space of my localhost > still dont know why cause its the same format isnt it unless > i am suppose to create another define command as general > service, but ping service works which is wiered. check_local_disk will (as the name implies) only check the local disk. If you want to check remote disks, you can use something like nrpe, or a plugin that will query the remote machine directly, such as nagios-statd or check_snmp. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tommy.Mestdagh at geosolutions.be Mon Feb 26 11:30:11 2007 From: Tommy.Mestdagh at geosolutions.be (Mestdagh Tommy) Date: Mon, 26 Feb 2007 11:30:11 +0100 Subject: useful oracle checks Message-ID: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be> Hi, I need to monitor an oracle database ( on debian ). I played with the "check_oracle --tns 127.0.0.1" over ssh And thats returns green ok ! So far so good. But what other checks are useful to do or even better like the --login option or do need to check them all ... i'm not home at oracle stuff. regards Tommy Usage: check_oracle --tns check_oracle --db check_oracle --login check_oracle --cache check_oracle --tablespace check_oracle --oranames check_oracle --help check_oracle --version Check Oracle status --tns SID/IP Address Check remote TNS server --db SID Check local database (search /bin/ps for PMON process) and check filesystem for sgadefORACLE_SID.dbf --login SID Attempt a dummy login and alert if not ORA-01017: invalid username/password --cache Check local database for library and buffer cache hit ratios ---> Requires Oracle user/password and SID specified. ---> Requires select on v_ and v_ --tablespace Check local database for tablespace capacity in ORACLE_SID ---> Requires Oracle user/password specified. ---> Requires select on dba_data_files and dba_free_space --oranames Hostname Check remote Oracle Names server -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Feb 26 11:55:10 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 26 Feb 2007 10:55:10 +0000 Subject: useful oracle checks In-Reply-To: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be> References: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be> Message-ID: <45E2BC8E.7090502@googlemail.com> I just "check_oracle --login dbname"since this tells me if the server is reachable, if the login prompt is given correctly and if there are any problems, they are raised with the ORA-xxxx error message so at all time I know what the exact condition or error of the database is. -h Hari Sekhon Mestdagh Tommy wrote: > Hi, > > I need to monitor an oracle database ( on debian ). I played with the > "check_oracle --tns 127.0.0.1" over ssh > And thats returns green ok ! So far so good. > > But what other checks are useful to do or even better like the --login > option or do need to check them all > ... i'm not home at oracle stuff. > > regards > Tommy > > Usage: > check_oracle --tns > check_oracle --db > check_oracle --login > check_oracle --cache > check_oracle --tablespace > > check_oracle --oranames > check_oracle --help > check_oracle --version > Check Oracle status > --tns SID/IP Address > Check remote TNS server > --db SID > Check local database (search /bin/ps for PMON process) and check > filesystem for sgadefORACLE_SID.dbf > --login SID > Attempt a dummy login and alert if not ORA-01017: invalid > username/password > --cache > Check local database for library and buffer cache hit ratios > ---> Requires Oracle user/password and SID specified. > ---> Requires select on v_ and v_ > --tablespace > Check local database for tablespace capacity in ORACLE_SID > ---> Requires Oracle user/password specified. > ---> Requires select on dba_data_files and dba_free_space > --oranames Hostname > Check remote Oracle Names server > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From taieb.riahi at topnet.tn Mon Feb 26 12:09:49 2007 From: taieb.riahi at topnet.tn (Riahi Taieb) Date: Mon, 26 Feb 2007 12:09:49 +0100 Subject: Export Nagios Data Message-ID: <45E2BFFD.3020802@topnet.tn> Hello, I have Nagios running on a machine and I would like to upgrade it it to a newer version on another machine. Now, we are running Nagios 1.3, and we intend to replace it with a 2.7 one which is hosted on a new server. Is there a way to export the database ( Nagios with mysql ) through the upgrade process, so we can find all of our previous reports ? Thx Riahi Taieb -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hunter at userfriendly.net Mon Feb 26 13:57:49 2007 From: hunter at userfriendly.net (Michael Weiner) Date: Mon, 26 Feb 2007 07:57:49 -0500 Subject: cgi.cfg Message-ID: Dear list readers - I am somewhat new to nagios, but i have had a pretty good experience in building, installing, and configuring nagios to this point. I have built 2.7 on a Fedora Core 6 box - patched to the latest revs of all rpms. I am experiencing two issues, which i am having trouble getting around. The first issue, and probably the most concerning is that whenever i define the cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails complaining about the first unremarked line in the file - so, i remark that one out, and rerun the check and again it complains about the next unremarked line - this continues until the entire file is remarked out. Now i have checked and i dont define any of the items in the cgi.cfg anywhere else, and i dont define that file more than once. I am really confused why it keeps failing, and why i cannot define things like the authentication in the file (using the sample cgi.cfg to start with). The second issue is alerts, that i am not receiving from nagios. I need to look at this a little more closely, but after installing nagiosweb to make the configuration files a little easier for a jr admin to understand and configure - i havent gotten any alerts - and i DO have 1 system not pingable, etc, so i should be getting 'some' Anyway i would appreciate any thoughts on the cgi.cfg problem Thank you in advance Michael Weiner -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Feb 26 14:20:20 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 26 Feb 2007 13:20:20 +0000 Subject: useful oracle checks In-Reply-To: <45E2BC8E.7090502@googlemail.com> References: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be> <45E2BC8E.7090502@googlemail.com> Message-ID: <765d77c80702260520k3c2fe6am2cca2a8a88f2ca8b@mail.gmail.com> I confess I haven't used these yet myself (probably ought to though). The ones I would immediately pick are: check_oracle --tns and check_oracle --tablespace I probably wouldn't bother with most of the others on the principle that if I can't interrogate the tablespaces, I can't connect to the databases either. I'm not sure how the tablespace check would work with auto-extending tablespaces if you use them. I haven't used an Oracle Names server AFAIAA, so I don't know how useful that would be. Wolfgang Barth's book "Nagios" has a section on using the Oracle Instant Client to monitor Oracle Databases which might be worth reading too. Cheers, Jim ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Feb 26 14:29:02 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 26 Feb 2007 13:29:02 +0000 Subject: cgi.cfg In-Reply-To: References: Message-ID: <765d77c80702260529o7072d546jecad5a878d61a890@mail.gmail.com> On 26/02/07, Michael Weiner wrote: > I am experiencing two issues, which i am having trouble getting around. The > first issue, and probably the most concerning is that whenever i define the > cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails > complaining about the first unremarked line in the file It would help greatly if you could post the relevant portion of your nagios.cfg and cgi.cfg files, and the exact error you get when you run "nagios -v /etc/nagios/nagios.cfg". I would strongly recommend that you consider installing Nagios and the plugins from the source tarball which can be found at http://www.nagios.org rather than from .rpm . The .rpm install is quite different to a source tarball install - it puts various bits of Nagios in various different directories and makes it more difficult to support. Also, it will install a version which has embedded perl enabled - something you might find you don't want in the future. If you install from source tarball, it may take you a little longer than an rpm install, but you will learn more about Nagios while you do the install, and will find that if you want to try some of the various excellent add-ons for Nagios in the future, they are easier to get working if you have done a standard install from tarball. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Feb 26 14:31:33 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 26 Feb 2007 13:31:33 +0000 Subject: cgi.cfg In-Reply-To: <765d77c80702260529o7072d546jecad5a878d61a890@mail.gmail.com> References: <765d77c80702260529o7072d546jecad5a878d61a890@mail.gmail.com> Message-ID: <45E2E135.7090301@mailnetwork.co.uk> My guess is Nagios is trying to parse cgi.cfg as an object configuration file. IIRC, cgi.cfg should be in the same place as nagios.cfg, and NOT entered into the nagios.cfg as part of either a cfg_file or cfg_dir directive. As Jim said, it would help if you post the relevant portions of your nagios.cfg file. Andy. Jim Avery wrote: > On 26/02/07, Michael Weiner wrote: > >> I am experiencing two issues, which i am having trouble getting around. The >> first issue, and probably the most concerning is that whenever i define the >> cgi.cfg in nagios.cfg and run nagios -v /etc/nagios/nagios.cfg it fails >> complaining about the first unremarked line in the file >> > > It would help greatly if you could post the relevant portion of your > nagios.cfg and cgi.cfg files, and the exact error you get when you run > "nagios -v /etc/nagios/nagios.cfg". > > I would strongly recommend that you consider installing Nagios and the > plugins from the source tarball which can be found at > http://www.nagios.org rather than from .rpm . The .rpm install is > quite different to a source tarball install - it puts various bits of > Nagios in various different directories and makes it more difficult to > support. Also, it will install a version which has embedded perl > enabled - something you might find you don't want in the future. > > If you install from source tarball, it may take you a little longer > than an rpm install, but you will learn more about Nagios while you do > the install, and will find that if you want to try some of the various > excellent add-ons for Nagios in the future, they are easier to get > working if you have done a standard install from tarball. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45e2e0b9103003857517878! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrea.gabellini at telecomitalia.sm Mon Feb 26 14:36:31 2007 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Mon, 26 Feb 2007 14:36:31 +0100 Subject: Monitoring Cisco 3750 stack In-Reply-To: References: <2D0245E43DEC724F81592D697F05689904C433D2@SIDHQEXCHMB1.Cabelas.Corp> <45E075ED.4070603@telecomitalia.sm> Message-ID: <45E2E25F.7050504@telecomitalia.sm> Hi, what I'm looking for is the state of all members of the stack. Something like the output of "sh switch". I found the oid "1.3.6.1.4.1.9.9.500.1.2.1.1" that returns a table with the members and the states of each member. I wrote a little perl script that checks for it. Thanks to all, Andrea Hugo van der Kooij wrote: > On Sat, 24 Feb 2007, Andrea Gabellini wrote: > >> I would like to monitor the status of a stack of Cisco Catalyst 3750. >> >> Do someone know the SNMP OIDs to query? Or can someone share info or scripts? > > I guess a snmpwalk against the device will let it spill it's guts and you > pick whatever you want to know about it. > > So the basic question is. What do you want to know about it? > > For example: > You can gather the amount of non-unicast packets for a port if you like > to. But is it usefull to you? > > Hugo. > -- --------------------------------------- Computer programmers don't byte, they nibble a bit. --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Republic of San Marino http://www.omniway.sm http://www.telecomitalia.sm ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Feb 26 14:50:53 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 26 Feb 2007 13:50:53 +0000 Subject: cgi.cfg In-Reply-To: <45E2E135.7090301@mailnetwork.co.uk> References: <765d77c80702260529o7072d546jecad5a878d61a890@mail.gmail.com> <45E2E135.7090301@mailnetwork.co.uk> Message-ID: <765d77c80702260550x6924583erdd74ab47aec2f8d9@mail.gmail.com> On 26/02/07, Andy Shellam (Mailing Lists) wrote: > > My guess is Nagios is trying to parse cgi.cfg as an object configuration > file. > IIRC, cgi.cfg should be in the same place as nagios.cfg, and NOT entered > into the nagios.cfg as part of either a cfg_file or cfg_dir directive. Of course Andy, you're right. I just looked. It's cgi.cfg which points to nagios.cfg not the other way around! Cheers, Jim p.s. and forgive me if you got this email twice. I must see if I can get gmail to reply to the list rather than the individual by default 'cos I keep forgetting. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bamapookie at gmail.com Mon Feb 26 16:18:42 2007 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Mon, 26 Feb 2007 10:18:42 -0500 Subject: Retaining history on upgrade Message-ID: I am currently running version 1.2 of Nagios, and I am setting up a new server as a replacement. I will be putting the most recent version on the new server (2.7). Is it possible to transfer the log directory contents to the new server and use them with version 2.7? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Feb 26 16:56:19 2007 From: marc at ena.com (Marc Powell) Date: Mon, 26 Feb 2007 09:56:19 -0600 Subject: Retaining history on upgrade Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Shawn Kovalchick > Sent: Monday, February 26, 2007 9:19 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Retaining history on upgrade > > I am currently running version 1.2 of Nagios, and I am setting up a new > server as a replacement. I will be putting the most recent version on the > new server (2.7). Is it possible to transfer the log directory contents > to the new server and use them with version 2.7? Yes, nagios.log and archives/* (which are the history). -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Feb 26 16:58:07 2007 From: marc at ena.com (Marc Powell) Date: Mon, 26 Feb 2007 09:58:07 -0600 Subject: Export Nagios Data Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Riahi Taieb > Sent: Monday, February 26, 2007 5:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Export Nagios Data > > Hello, > > I have Nagios running on a machine and I would like to upgrade it it to a > newer version on another machine. Now, we are running Nagios 1.3, and we > intend to replace it with a 2.7 one which is hosted on a new server. Is > there a way to export the database ( Nagios with mysql ) through the > upgrade process, so we can find all of our previous reports ? Nagios 1.x only maintains current data in the database. All historical data is in nagios.log and archives/*. If you move those files over to your new installation then the historical data will be retained. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Mon Feb 26 17:13:37 2007 From: chiel at gmx.net (chiel at gmx.net) Date: Mon, 26 Feb 2007 17:13:37 +0100 Subject: Current state of database support? Message-ID: <20070226161337.98960@gmx.net> Hello, Because of the implementation of other application in Nagios I was looking at support for databases. I see that database support for Nagios 2.0 has been dropped. When I search the web/forums etc I see some topics to address this issue, but they are all more then a year old and I don't know the current state of of this support. What I want to do: I want to be able to add hosts / services from my current application (written in php) to the nagios config for monitoring. Because of the amount of hosts en services my preferred option is to use some kind of database. So can some advice me how to proceed on this. Thanks, chiel -- "Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Feb 26 17:22:33 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 26 Feb 2007 16:22:33 -0000 Subject: useful oracle checks In-Reply-To: <765d77c80702260520k3c2fe6am2cca2a8a88f2ca8b@mail.gmail.com> References: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be><45E2BC8E.7090502@googlemail.com> <765d77c80702260520k3c2fe6am2cca2a8a88f2ca8b@mail.gmail.com> Message-ID: Jim Avery wrote: > I confess I haven't used these yet myself (probably ought to though). > The ones I would immediately pick are: > > check_oracle --tns and > check_oracle --tablespace > > I probably wouldn't bother with most of the others on the principle > that if I can't interrogate the tablespaces, I can't connect to the > databases either. I'm not sure how the tablespace check would work > with auto-extending tablespaces if you use them. I'm curous about that myself. Anybody know? -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Feb 26 17:48:47 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 26 Feb 2007 11:48:47 -0500 Subject: Current state of database support? In-Reply-To: <20070226161337.98960@gmx.net> References: <20070226161337.98960@gmx.net> Message-ID: > Because of the implementation of other application in Nagios > I was looking at support for databases. > I see that database support for Nagios 2.0 has been dropped. > When I search the web/forums etc I see some topics to address > this issue, but they are all more then a year old and I don't > know the current state of of this support. > > What I want to do: > I want to be able to add hosts / services from my current > application (written in php) to the nagios config for monitoring. > Because of the amount of hosts en services my preferred > option is to use some kind of database. > > So can some advice me how to proceed on this. > Thanks, chiel There is no current support (nor has there ever been, as far as I know) for reading Nagios configs from a database. You can check out ndoutils for the support that's available now, but it's still won't give you the ability to keep your configs in a database. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Mon Feb 26 17:50:11 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 26 Feb 2007 11:50:11 -0500 Subject: useful oracle checks In-Reply-To: References: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be><45E2BC8E.7090502@googlemail.com><765d77c80702260520k3c2fe6am2cca2a8a88f2ca8b@mail.gmail.com> Message-ID: > > I'm not sure how the tablespace check would work > > with auto-extending tablespaces if you use them. > > I'm curous about that myself. Anybody know? It doesn't work well. :) Because auto-extending tables tend to live n the edge of their available space, this check will almost always report the table is nearly full, making it pretty useless as an alerting tool. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Feb 26 17:53:25 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 26 Feb 2007 16:53:25 -0000 Subject: useful oracle checks In-Reply-To: References: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be><45E2BC8E.7090502@googlemail.com><765d77c80702260520k3c2fe6am2cca2a8a88f2ca8b@mail.gmail.com> Message-ID: Phil Costelloe wrote: > Jim Avery wrote: >> I confess I haven't used these yet myself (probably ought to though). >> The ones I would immediately pick are: >> >> check_oracle --tns and >> check_oracle --tablespace >> >> I probably wouldn't bother with most of the others on the principle >> that if I can't interrogate the tablespaces, I can't connect to the >> databases either. I'm not sure how the tablespace check would work >> with auto-extending tablespaces if you use them. > > I'm curous about that myself. Anybody know? I was too curious to wait. :) In the version of check_oracle shipped with plugins 1.4.3 (and I suspect later releases though I haven't checked), the tablespaces option will report on the usage of currently allocated extents. This is the same logic the Enterprise Manager GUI uses and the net effect for busy tablespaces which are set to auto extend is to make them look like they're permanently on the verge of being 100% full. I've got some SQL that I run as a cron job that takes into account the maximum possible size of the tablespace when it works out the fill percentage, I'll see if I can work it into the check_oracle script. Does anybody maintain it? I suspect it's orphaned at the moment. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nedo72 at gmail.com Mon Feb 26 18:37:17 2007 From: nedo72 at gmail.com (Nedim Bicic) Date: Mon, 26 Feb 2007 12:37:17 -0500 Subject: Disk space how ?? In-Reply-To: References: <7abcf48e0702252002oce342cdjca7f58f477fba45@mail.gmail.com> Message-ID: <7abcf48e0702260937v4ecce1ect67315a0a625f8127@mail.gmail.com> Hey thanks for your reply Looks like all check commands are for the local system do you know fo a global commad you have or link where i can dfine it for remote systems. It appears none are in the original configuration files thanks On 2/26/07, Morris, Patrick wrote: > > > i tried the bellow code and changing the host_name to > > whatever server but gives me the disk space of my localhost > > still dont know why cause its the same format isnt it unless > > i am suppose to create another define command as general > > service, but ping service works which is wiered. > > check_local_disk will (as the name implies) only check the local disk. > If you want to check remote disks, you can use something like nrpe, or a > plugin that will query the remote machine directly, such as nagios-statd > or check_snmp. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hicm.rocha at gmail.com Mon Feb 26 18:40:37 2007 From: hicm.rocha at gmail.com (H. Rocha) Date: Mon, 26 Feb 2007 17:40:37 +0000 Subject: Logging interval Message-ID: Hello! I've started recently working with Nagios 2.5, I use a daily log rotation method and I noticed that nagios only stores the logs in the archives folder for a period of a month. My question is if this is some sort of a problem I'm having or is a configurable nagios feature and if so how can I change it? I appreciate any help on this and forgive me if this happens to be a silly question but I'm new to the nagios world. Thanks, H. Rocha -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Feb 26 18:54:50 2007 From: marc at ena.com (Marc Powell) Date: Mon, 26 Feb 2007 11:54:50 -0600 Subject: Disk space how ?? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nedim Bicic > Sent: Monday, February 26, 2007 11:37 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Disk space how ?? > > Hey thanks for your reply > > Looks like all check commands are for the local system do you know fo a > global commad you have or link where i can dfine it for remote systems. It > appears none are in the original configuration files > http://www.nagios.org/download/ "NRPE 2.7 02/19/2007 Tarball Download NRPE is an addon for Nagios that allows you to execute "local" plugins (like check_disk, check_procs, etc.) on remote hosts. The check_nrpe plugin is called from Nagios and makes plugin execution requests to the NRPE daemon running on the remote host (either as a standalone daemon or as a service under inetd). Supports passing command arguments to server, as well as native SSL/TLS encryption (anonymous DH mode)." You can also use check-by-ssh distributed with the standard plugins to run plugins on remote machines via ssh. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Feb 26 19:00:00 2007 From: marc at ena.com (Marc Powell) Date: Mon, 26 Feb 2007 12:00:00 -0600 Subject: Logging interval Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of H. Rocha > Sent: Monday, February 26, 2007 11:41 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Logging interval > > Hello! > > I've started recently working with Nagios 2.5, I use a daily log rotation > method and I noticed that nagios only stores the logs in the archives > folder for a period of a month. My question is if this is some sort of a > problem I'm having or is a configurable nagios feature and if so how can I > change it? Nagios never removes the archived log files nor is there any standard or non-standard addon to nagios that does so that I've seen. You must have some external program that's removing them. logrotate or cron perhaps? Since the archives contain the status history, you'll never have any historical data older than a month. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Feb 26 19:29:19 2007 From: marc at ena.com (Marc Powell) Date: Mon, 26 Feb 2007 12:29:19 -0600 Subject: Logging interval Message-ID: Please always respond on list. > -----Original Message----- > From: H. Rocha [mailto:hicm.rocha at gmail.com] > Sent: Monday, February 26, 2007 12:25 PM > To: Marc Powell > Subject: Re: [Nagios-users] Logging interval > > Thank you for your reply! > > So that means that there is no way I can have historical data older than a > month in the archives? Yes, sure you can. You just need to find what's removing the files and disable it. Nagios fully supports historical data up to two years old if you keep the files that long. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skeplin at one.net Mon Feb 26 19:44:52 2007 From: skeplin at one.net (Sean Keplinger) Date: Mon, 26 Feb 2007 13:44:52 -0500 (EST) Subject: Disk space how ?? In-Reply-To: <7abcf48e0702260937v4ecce1ect67315a0a625f8127@mail.gmail.com> References: <7abcf48e0702252002oce342cdjca7f58f477fba45@mail.gmail.com> <7abcf48e0702260937v4ecce1ect67315a0a625f8127@mail.gmail.com> Message-ID: On Mon, 26 Feb 2007, Nedim Bicic wrote: > Looks like all check commands are for the local system do you know fo a > global commad you have or link where i can dfine it for remote systems. > It appears none are in the original configuration files Check out the "SSH Framework for Remote Plugins". So long as the remote system has sshd running, you can connect (securely) and execute commands on the remote host. Defaults for checking disk, memory, procs, etc. are included for Linux, Solaris, and AIX. Not to mention that installation is a snap. http://www.nagiosexchange.org/Communication.41.0.html?&tx_netnagext_pi1[p_view]=409 Sean -- Sean Keplinger / Visit my Hiking/Backpacking and Projects skeplin AT gmail DOT com / blog at: http://spookyworld.dnsalias.com/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Mon Feb 26 21:28:15 2007 From: sschwartz at gracenote.com (Steven Schwartz) Date: Mon, 26 Feb 2007 12:28:15 -0800 Subject: No-op external command Message-ID: <119461A3B1C2A847BABA421E6EB62CEA10CDA0@EMAIL1.gracenote.gracenote.com> I'm trying (for various and sundry reasons) to submit what amounts to a no-op external command. As far as I can tell from http://www.nagios.org/developerinfo/externalcommands/commandlist.php, there are no official no-ops. Is there any hazard in telling the system to "enable notifications" over and over again, that anyone is aware of? Or, failing that, have any better ideas for a no-op? Steven Schwartz CONFIDENTIALITY NOTICE: Proprietary/Confidential Information belonging to Gracenote, Inc. may be contained in this message. If you are not a recipient indicated or intended in this message (or responsible for delivery of this message to such person), or you think for any reason that this message may have been addressed to you in error, you may not use or copy or deliver this message (and all attachments) to anyone else. In such case, you should destroy this message (and all attached documents) and are asked to notify the sender by reply email. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hicm.rocha at gmail.com Tue Feb 27 11:58:30 2007 From: hicm.rocha at gmail.com (H. Rocha) Date: Tue, 27 Feb 2007 10:58:30 +0000 Subject: Logging interval In-Reply-To: References: Message-ID: Sorry, I forgot to respond to the list. I think I've just discovered the problem in the logrotate. Once again, thank you for your help. H. Rocha On 26/02/07, Marc Powell wrote: > > Please always respond on list. > > > -----Original Message----- > > From: H. Rocha [mailto:hicm.rocha at gmail.com] > > Sent: Monday, February 26, 2007 12:25 PM > > To: Marc Powell > > Subject: Re: [Nagios-users] Logging interval > > > > Thank you for your reply! > > > > So that means that there is no way I can have historical data older > than a > > month in the archives? > > Yes, sure you can. You just need to find what's removing the files and > disable it. Nagios fully supports historical data up to two years old if > you keep the files that long. > > -- > Marc > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Tue Feb 27 12:34:44 2007 From: moshesharon at gmail.com (moshe sharon) Date: Tue, 27 Feb 2007 13:34:44 +0200 Subject: Current state of database support? In-Reply-To: References: <20070226161337.98960@gmx.net> Message-ID: <88ad29240702270334g4d5b6fdey67b0494cca8c1e86@mail.gmail.com> Hello Its pretty simple write a script to export your configuration into nagios file format. replace current config files with your new configuration files and restart nagios database support no needed for this operation. -- Moshe Sharon http://www.centerity.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paolo.riccadonna at sistinf.it Tue Feb 27 13:45:24 2007 From: paolo.riccadonna at sistinf.it (paolo.riccadonna at sistinf.it) Date: Tue, 27 Feb 2007 13:45:24 +0100 Subject: No notification when host down Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Feb 27 14:02:23 2007 From: m.borsani at it.net (Marco Borsani) Date: Tue, 27 Feb 2007 14:02:23 +0100 Subject: R: No notification when host down In-Reply-To: References: Message-ID: <024001c75a6f$860e43e0$0900d40a@intranet.it.net> Hi, Have you checked log files? Is misccommands.cfg file correct? Are correctly associated HG and CG ? Regards Marco -----Messaggio originale----- Da: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Per conto di paolo.riccadonna at sistinf.it Inviato: marted? 27 febbraio 2007 13.45 A: nagios-users at lists.sourceforge.net Oggetto: [Nagios-users] No notification when host down Hello all. We have Nagios 1.3 installed on Debian 3.1 Last night it has notified an ?Host Down error? for more than two hours but it did not send some email notification (the timeperiod of notification is 24x7). It?s the first time that we have this anomalous. Has Anyone experienced this problem before? Could be a refresh problem? Does a plugin exist that corrects it? Thanks a lot for your attention. Paolo Stefano Riccadonna IT Specialist ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Tue Feb 27 14:29:03 2007 From: sujith.linux at gmail.com (sujith h) Date: Tue, 27 Feb 2007 18:59:03 +0530 Subject: Uptime error Message-ID: Hi , Am using nagios for past 5 months. I have to monitor both the host and its services of my client. I had found that when i added a small plugin to monitor the host its not giving me the proper result. I wrote a 3 line code in a file called check_uptime: #!/bin/bash uptime exit(0) Now when I start the nagios it will work fine. But after some one or 2 days it will start to give me wrong output. The remaining plugins run fine.. So can anyone suggest what is the problem??? When I check the nagios for the configurations and all it gives me no error and warning. Sujith Bangalore. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Tue Feb 27 14:40:30 2007 From: sujith.linux at gmail.com (sujith h) Date: Tue, 27 Feb 2007 19:10:30 +0530 Subject: Uptime error In-Reply-To: References: Message-ID: Sir please post your reply in English. I can understand Malayalam, Tamil, Hindi and English. But since this is an International mailing list kindly post your reply in English. Thank you Sujith On 2/27/07, MANUEL CANSECO GARCIA wrote: > > **** Mensaje Automatico *** > Este usuario no se encuentra operativo, para cualquier asunto le ruego > se pongan en contacto con Leandro Gayango lgg at mpsistemas.es > > > *************************************************************************************** > > >>> sujith.linux 02/27/07 14:29 >>> > > Hi , > > Am using nagios for past 5 months. I have to monitor both the host and > its > services of my client. > I had found that when i added a small plugin to monitor the host its not > giving me the proper > result. I wrote a 3 line code in a file called check_uptime: > #!/bin/bash > uptime > exit(0) > > > Now when I start the nagios it will work fine. But after some one or 2 > days > it will start to give me > wrong output. The remaining plugins run fine.. So can anyone suggest > what is > the problem??? > When I check the nagios for the configurations and all it gives me no > error > and warning. > > > Sujith > > Bangalore. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Feb 27 15:18:00 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 27 Feb 2007 14:18:00 +0000 Subject: No notification when host down In-Reply-To: References: Message-ID: <765d77c80702270618g1a45b9dha4564060a6f92624@mail.gmail.com> On 27/02/07, paolo.riccadonna at sistinf.it wrote: > We have Nagios 1.3 installed on Debian 3.1 > Last night it has notified an "Host Down error" for more than two hours but > it did not send some email notification (the timeperiod of notification is > 24x7). It's the first time that we have this anomalous. Does it show the notification in the notifications screen? If so, check the log for your email system (probably /var/log/maillog or something similar). Is there anything in the nagios log of any interest during that time? What is your host definition (in hosts.cfg probably)? Is the host flapping? See http://nagios.sourceforge.net/docs/1_0/notifications.html ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Feb 27 15:26:30 2007 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 27 Feb 2007 14:26:30 +0000 Subject: Uptime error In-Reply-To: References: Message-ID: <765d77c80702270626w42e3c682r565677e7591e4489@mail.gmail.com> > Now when I start the nagios it will work fine. But after some one or 2 days > it will start to give me > wrong output. What output does it give you? What output does it give if you login as nagios and run it by hand? See: http://nagios.sourceforge.net/docs/2_0/plugins.html#howto ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-ml at seichter.de Tue Feb 27 15:25:52 2007 From: nagios-ml at seichter.de (Ralph Seichter) Date: Tue, 27 Feb 2007 15:25:52 +0100 Subject: Uptime error In-Reply-To: References: Message-ID: <45E43F70.8030200@seichter.de> Sujith wrote: > Sir please post your reply in English. "Mensaje automatico" is Spanish for "automatically generated message", so it is unlikely that you'll receive a translated version. ;-) -R ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From snyper9311 at yahoo.com Tue Feb 27 15:59:33 2007 From: snyper9311 at yahoo.com (abid dar) Date: Tue, 27 Feb 2007 06:59:33 -0800 (PST) Subject: notification for RAID state change. Message-ID: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> I wanted to know if there was NRPE plugin to check it the state of systems RAID has changed. ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Tue Feb 27 16:02:36 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Tue, 27 Feb 2007 10:02:36 -0500 Subject: how to check for the process owner using check_procs2 Message-ID: <000001c75a80$5572d050$960aa8c0@Masoud> I am trying to check for processes that run under a specific user account on the server; Does anyone know how to do this? What I want to do would be the equivalent of "ps -ef | grep username | grep java | wc -l" in the UNIX world Here is what I am using right now, but it is not enough to identify the user which owns the process. command[check_procs_test]=/... /check_procs2 java ge 2 Any help is greatly appreciated; Masoud -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter at berghold.net Tue Feb 27 16:16:13 2007 From: Peter at berghold.net (Peter L. Berghold) Date: Tue, 27 Feb 2007 10:16:13 -0500 Subject: notification for RAID state change. In-Reply-To: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> References: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> Message-ID: <45E44B3D.9080301@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 abid dar wrote: > I wanted to know if there was NRPE plugin to check it the state of systems RAID has changed. > Last time I had to deal with that issue I wrote my own plugin in Perl. The device in question was a NAS appliance that had a web based administrative interface (no log files.. no command line.. nothing.) Using LWP::UserAgent I would "screen scrape" the HTML output looking for RAID status changes using an administrative host as a "proxy" to Netsaint. (I'd use the same technique on Nagios.) For Veritas LVM I'd probably use the same technique except that LVM has command line stuff that I can access and process the output from command line for status. I couldn't lay my hands on my LVM plugin right away, but here is an example of what I used for Sun's ODS RAID software: - ---------- 8< snip 8< ------------------------------------------- #!/usr/local/bin/perl use strict; $ENV{PATH} = "/usr/bin:/usr/local/bin:/usr/sbin:/usr/opt/SUNWmd/sbin"; my ($md, @errors, @warnings); if (open(CMD, "metadb 2>&1 |")) { while (my $line = ) { if ($line =~ m/^\s*(.*\S)\s+\d+\s+\d+\s+(\S+)\s*$/) { my ($flags, $dev) = ($1, $2); next if ($dev eq $md); $flags =~ s/\s*//g; foreach my $x ( "ampcluo" =~ m/./g ) { $flags =~ s/$x// } next unless ($flags); push @errors, "metadb: $dev: $flags\n"; $md = $dev; } } close CMD; if (open(CMD, "metastat 2>&1 |")) { while (my $line = ) { last if ($line =~ m/^metastat: .*: there are no existing databases\s+$/); if ($line =~ m/^(\S+): /) { $md = $1; next } if ($line =~ m/^\s+State:\s*(.*\S)\s+$/) { push @errors, "$md: $1\n" unless ($1 =~ m/^(Okay|Resyncing)$/); } } close CMD; } } if (open(CMD, "vxprint -hrtq 2>&1 |")) { while (my $line = ) { next if ($line =~ m/^\s*$/); next if ($line =~ m/IPC failure: Configuration daemon is not accessible/); next if ($line =~ m/\s+ENABLED\s+ACTIVE\s+/); next if ($line =~ m/\s+ENA\s+$/); next if ($line =~ m/^(Disk|dg|dm)\s/); push @errors, $line; } close CMD; } print @errors; print @warnings; exit 2 if (@errors); exit 1 if (@warnings); exit 0; - ---------------- 8< snip! 8< ------------------------------------------- - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFF5Es8UM9/01RIhaARAqVEAJ4+1T/FSRQXNHWWtZYEw0WKLmbgngCgpm2M BkjxWKRkdrfFbjr89ui3Np4= =j/7K -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 239 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue Feb 27 16:17:19 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Tue, 27 Feb 2007 10:17:19 -0500 Subject: notification for RAID state change. In-Reply-To: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> References: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> Message-ID: <45E44B7F.8060806@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 abid dar wrote: > I wanted to know if there was NRPE plugin to check it the state of systems RAID has changed. > > > I use these plugins: http://www.openfusion.com.au/labs/nagios/ I have not tested the newest version, but the version I'm running has been good to me. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFF5Et/HoeeepPau2ERApZPAKDC+X2WSSBQza2ddeUPJwZWJGmF8gCfayUG GvtfySdLLYFbALhWyY/PiK0= =Rcb0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Feb 27 16:20:01 2007 From: marc at ena.com (Marc Powell) Date: Tue, 27 Feb 2007 09:20:01 -0600 Subject: notification for RAID state change. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of abid dar > Sent: Tuesday, February 27, 2007 9:00 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] notification for RAID state change. > > I wanted to know if there was NRPE plugin to check it the state of systems > RAID has changed. RTFG? "nagios check raid" returns quite a few valid results. Googleing for 'nagios check ' is great for answering "Can I check..." and "Is there a plugin to check..." questions on your own. -- Marc ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Feb 27 16:33:24 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 27 Feb 2007 15:33:24 +0000 Subject: how to check for the process owner using check_procs2 In-Reply-To: <000001c75a80$5572d050$960aa8c0@Masoud> References: <000001c75a80$5572d050$960aa8c0@Masoud> Message-ID: <45E44F44.4080900@googlemail.com> what exactly do you want? To make sure there are only x number of processes running under that user account, or for all user accounts or what? more details needed. -h Hari Sekhon Masoud Tabrizi wrote: > > I am trying to check for processes that run under a specific user > account on the server; Does anyone know how to do this? > > What I want to do would be the equivalent of "ps --ef | grep username > | grep java | wc --l" in the UNIX world > > Here is what I am using right now, but it is not enough to identify > the user which owns the process. > > > > command[check_procs_test]=/... /check_procs2 java ge 2 > > > > Any help is greatly appreciated; > > Masoud > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Tue Feb 27 16:35:56 2007 From: sujith.linux at gmail.com (sujith h) Date: Tue, 27 Feb 2007 21:05:56 +0530 Subject: Uptime error In-Reply-To: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> Message-ID: Actually uptime is an unix command which will let you know for how much time your machine was up. And when i run the script check_uptime, the plugin for nagios written by me, it gives me my machine is up for 2 days. But when nagios runs it , shows that my machine was up for 2 mins. Sujith I have no clue of what's going on!!!!! On 2/27/07, Jim Avery wrote: > > > Now when I start the nagios it will work fine. But after some one or 2 > days > > it will start to give me > > wrong output. > > What output does it give you? > > What output does it give if you login as nagios and run it by hand? > > See: http://nagios.sourceforge.net/docs/2_0/plugins.html#howto > > > > It looks like the reply earlier from Manuel Canseco Garcia was just an > auto-reply, which is why it was in Spanish. You can safely ignore it. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Feb 27 16:37:21 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 27 Feb 2007 15:37:21 +0000 Subject: notification for RAID state change. In-Reply-To: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> References: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> Message-ID: <45E45031.3060009@googlemail.com> I recently wrote 3 for myself in python. They work well. I have the following: 3ware raid (works for 8xxx,9xxx series controllers for me) LSI MegaRaid (works on 320-xx controllers for me) Linux MD Software Raid If you want any of these then let me know, I'd be happy to share. In fact, I think I am going to post these on Nagios Exchange... -h Hari Sekhon abid dar wrote: > I wanted to know if there was NRPE plugin to check it the state of systems RAID has changed. > > > > > > ____________________________________________________________________________________ > No need to miss a message. Get email on-the-go > with Yahoo! Mail for Mobile. Get started. > http://mobile.yahoo.com/mail > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Tue Feb 27 16:47:25 2007 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Tue, 27 Feb 2007 10:47:25 -0500 Subject: how to check for the process owner using check_procs2 In-Reply-To: <45E44F44.4080900@googlemail.com> References: <45E44F44.4080900@googlemail.com> Message-ID: <001f01c75a86$94c9f750$960aa8c0@Masoud> To make sure I can capture processes for a specific user. I have several users running the same kind of processes and need to be able distinguish based on the user account. M +++++++++++++++++++++++++++ Masoud Tabrizi masoud.tabrizi at gmail.com +++++++++++++++++++++++++++ _____ From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: Tuesday, February 27, 2007 10:33 AM To: Masoud Tabrizi Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] how to check for the process owner using check_procs2 what exactly do you want? To make sure there are only x number of processes running under that user account, or for all user accounts or what? more details needed. -h Hari Sekhon Masoud Tabrizi wrote: I am trying to check for processes that run under a specific user account on the server; Does anyone know how to do this? What I want to do would be the equivalent of "ps -ef | grep username | grep java | wc -l" in the UNIX world Here is what I am using right now, but it is not enough to identify the user which owns the process. command[check_procs_test]=/... /check_procs2 java ge 2 Any help is greatly appreciated; Masoud _____ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php &p=sourceforge&CID=DEVDEV _____ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Feb 27 16:53:58 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 27 Feb 2007 15:53:58 +0000 Subject: how to check for the process owner using check_procs2 In-Reply-To: <001f01c75a86$94c9f750$960aa8c0@Masoud> References: <001f01c75a86$94c9f750$960aa8c0@Masoud> Message-ID: <45E45416.4010408@googlemail.com> Try this check_procs --user=hari -h Hari Sekhon Masoud Tabrizi wrote: > > To make sure I can capture processes for a specific user. I have > several users running the same kind of processes and need to be able > distinguish based on the user account. > > > > M > > > > +++++++++++++++++++++++++++ > > Masoud Tabrizi > > masoud.tabrizi at gmail.com > > +++++++++++++++++++++++++++ > > ------------------------------------------------------------------------ > > *From:* Hari Sekhon [mailto:hpsekhon at googlemail.com] > *Sent:* Tuesday, February 27, 2007 10:33 AM > *To:* Masoud Tabrizi > *Cc:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] how to check for the process owner using > check_procs2 > > > > what exactly do you want? To make sure there are only x number of > processes running under that user account, or for all user accounts or > what? > > more details needed. > > -h > > Hari Sekhon > > > > Masoud Tabrizi wrote: > > I am trying to check for processes that run under a specific user > account on the server; Does anyone know how to do this? > > What I want to do would be the equivalent of "ps --ef | grep username > | grep java | wc --l" in the UNIX world > > Here is what I am using right now, but it is not enough to identify > the user which owns the process. > > > > command[check_procs_test]=/... /check_procs2 java ge 2 > > > > Any help is greatly appreciated; > > Masoud > > > > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Feb 27 18:16:39 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 27 Feb 2007 17:16:39 +0000 Subject: notification for RAID state change. In-Reply-To: <868817.54036.qm@web36815.mail.mud.yahoo.com> References: <868817.54036.qm@web36815.mail.mud.yahoo.com> Message-ID: <45E46777.2030005@googlemail.com> I have just posted my 3 raid plugins on NagiosExchange.org All 3 work on both 32-bit and 64-bit Linux systems. Here are the direct links: 3Ware http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=878 LSI MegaRaid http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=879 Linux Software Raid (MD Raid) http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 Hope you find them useful. Feel free to rate them and provide feedback to me. I find the work very nicely and have them running on 2 dozen production servers but I'd be interested to know anyone else's experience of them and am willing to recode them if necessary. -h Hari Sekhon abid dar wrote: > Hey Hari, > Thanks for the reply. When you get a chance, can you send them to me. > > Thanks! > > > ----- Original Message ---- > From: Hari Sekhon > To: abid dar > Cc: Nagios Users mailinglist > Sent: Tuesday, February 27, 2007 10:37:21 AM > Subject: Re: [Nagios-users] notification for RAID state change. > > I recently wrote 3 for myself in python. They work well. > > I have the following: > > 3ware raid (works for 8xxx,9xxx series controllers for me) > LSI MegaRaid (works on 320-xx controllers for me) > Linux MD Software Raid > > If you want any of these then let me know, I'd be happy to share. > > In fact, I think I am going to post these on Nagios Exchange... > > > -h > > Hari Sekhon > > > > abid dar wrote: > >> I wanted to know if there was NRPE plugin to check it the state of systems RAID has changed. >> >> >> >> >> >> ____________________________________________________________________________________ >> No need to miss a message. Get email on-the-go >> with Yahoo! Mail for Mobile. Get started. >> http://mobile.yahoo.com/mail >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > > > > > ____________________________________________________________________________________ > Expecting? Get great news right away with email Auto-Check. > Try the Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfrazer at duoconsulting.com Tue Feb 27 19:11:20 2007 From: sfrazer at duoconsulting.com (Scott Frazer) Date: Tue, 27 Feb 2007 12:11:20 -0600 Subject: Problem with check_http and a Cisco CSS 11501 Message-ID: I'm having issues with check_http checking a hostname that's actually a virtual ip address of a Cisco CSS 11501. The check will succeed initially, but eventually begin to fail, taking longer and longer to return, or eventually timeout. If I extend the timeout to a very high amount, the process usually returns a 200 message, but it can delay well over a minute to do so. I've compiled Nagios 2.7 and the plugins version 1.4.6 on an Ubuntu 6.10 LAMP server without errors, and the interfaces all seem to work fine. I've got the system monitoring websites on both IIS and Apache servers (bypassing the CSS) without any problems. I've tried doing the install on two separate servers (one virtual, one physical) and even tried going back to a previous version of the plugins. My next step will probably be trying the install on a Fedora Core server and seeing if that changes anything. Is anyone else monitoring virtual IP addresses on a Cisco load balancer? Can anyone give me advice on where to look next? Thanks, Scott ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Tue Feb 27 20:12:25 2007 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 27 Feb 2007 20:12:25 +0100 Subject: Problem with check_http and a Cisco CSS 11501 In-Reply-To: References: Message-ID: <01fc01c75aa3$37096480$2900a8c0@telindus.intra> Hi, Depending on the check_http options, you can mess up the CSS in his session persistance (by not returning the ARPT cookie for example). You can also have ARP problems. - Do you have the same problem using command line ? Doing a telnet on port 80 ? - What are the services/content states on the CSS ? - Do you have the correct MAC adress of the vitual IP ? Patrick http://www.manubulon.com/nagios/ -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Scott Frazer Envoy? : mardi 27 f?vrier 2007 19:11 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] Problem with check_http and a Cisco CSS 11501 I'm having issues with check_http checking a hostname that's actually a virtual ip address of a Cisco CSS 11501. The check will succeed initially, but eventually begin to fail, taking longer and longer to return, or eventually timeout. If I extend the timeout to a very high amount, the process usually returns a 200 message, but it can delay well over a minute to do so. I've compiled Nagios 2.7 and the plugins version 1.4.6 on an Ubuntu 6.10 LAMP server without errors, and the interfaces all seem to work fine. I've got the system monitoring websites on both IIS and Apache servers (bypassing the CSS) without any problems. I've tried doing the install on two separate servers (one virtual, one physical) and even tried going back to a previous version of the plugins. My next step will probably be trying the install on a Fedora Core server and seeing if that changes anything. Is anyone else monitoring virtual IP addresses on a Cisco load balancer? Can anyone give me advice on where to look next? Thanks, Scott ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Feb 27 23:25:40 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 27 Feb 2007 23:25:40 +0100 (CET) Subject: Problem with check_http and a Cisco CSS 11501 In-Reply-To: References: Message-ID: On Tue, 27 Feb 2007, Scott Frazer wrote: > I'm having issues with check_http checking a hostname that's actually a > virtual ip address of a Cisco CSS 11501. The check will succeed initially, > but eventually begin to fail, taking longer and longer to return, or > eventually timeout. > > If I extend the timeout to a very high amount, the process usually returns a > 200 message, but it can delay well over a minute to do so. I suggest you setup a packet capture and trace the specific sessions. It should tell you exactly if the CSS is just becoming darn slow with replies or it has to do something with your server. > I've compiled Nagios 2.7 and the plugins version 1.4.6 on an Ubuntu 6.10 > LAMP server without errors, and the interfaces all seem to work fine. I've > got the system monitoring websites on both IIS and Apache servers (bypassing > the CSS) without any problems. > > I've tried doing the install on two separate servers (one virtual, one > physical) and even tried going back to a previous version of the plugins. > My next step will probably be trying the install on a Fedora Core server and > seeing if that changes anything. Is anyone else monitoring virtual IP > addresses on a Cisco load balancer? Can anyone give me advice on where to > look next? I would not waste anytime on building a new server untill you know what is going on based on the packet capture. Depending on the exact CSS settings this may just be a CSS noting a DoS condition. Perhaps I need to fire up my old CSS and see what happens. (I actually still have an ArrowPoint CSS ;-) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Feb 28 02:30:45 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 27 Feb 2007 20:30:45 -0500 Subject: Uptime error In-Reply-To: References: Message-ID: <45E4DB45.4050104@aei.ca> On 27/02/07 08:29 AM, sujith h wrote: > Hi , > > Am using nagios for past 5 months. I have to monitor both the host and > its services of my client. > I had found that when i added a small plugin to monitor the host its not > giving me the proper > result. I wrote a 3 line code in a file called check_uptime: > #!/bin/bash > uptime > exit(0) > > > Now when I start the nagios it will work fine. But after some one or 2 > days it will start to give me > wrong output. The remaining plugins run fine.. So can anyone suggest > what is the problem??? > When I check the nagios for the configurations and all it gives me no > error and warning. Hi Sujith, I this may seems obvious, but just to be sure, are you running check_uptime trough NRPE, check_by_ssh, or any other way to run checks on remote hosts? If you define a check in Nagios it will run locally. If the check has to run from a remote machine you have to run a special local check that will run the command on the remote host and return the result to Nagios. Another way to check uptime is by using check_snmp (you need a snmp daemon configured on the remote host). A command like this one will give you the same result without the need to run a command on the remote host (assuming $USER1$ is the path to Nagios-plugins and that the read community is 'public'): $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o sysUpTime.0 You can also set thresholds (check_snmp --help for full usage text) so that you can page on hosts that recently rebooted. You can check many things trough SNMP, but for most advanced things you may need specific MIBs and SNMP agents. To see what's readily available run: snmpwalk -c public -m ALL .1 Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Feb 28 03:06:06 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 27 Feb 2007 21:06:06 -0500 Subject: notification for RAID state change. In-Reply-To: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> References: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> Message-ID: <45E4E38E.602@aei.ca> On 27/02/07 09:59 AM, abid dar wrote: > I wanted to know if there was NRPE plugin to check it the state of systems RAID has changed. If you have a CLI utility you can write a simple perl script that compare the output of some commands to know output. I have one for Adaptec AACRAID and one for a SATA 3ware RAID (true RAID) controller. For PERC RAID (LSI Megaraid on Dell Poweredge servers) there's an SNMP agent, so I just used check_snmp with thresholds to page on non-optimal array. Thomas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfrazer at duoconsulting.com Wed Feb 28 04:36:39 2007 From: sfrazer at duoconsulting.com (Scott Frazer) Date: Tue, 27 Feb 2007 21:36:39 -0600 Subject: Problem with check_http and a Cisco CSS 11501 In-Reply-To: References: Message-ID: No change from a Fedora Core 6 installation. I'm becoming increasingly sure it's a problem with the way the CSS is responding to the test. I'll have to get a packet capture going... On 2/27/07 4:25 PM, "Hugo van der Kooij" wrote: I suggest you setup a packet capture and trace the specific sessions. It should tell you exactly if the CSS is just becoming darn slow with replies or it has to do something with your server. ... I would not waste anytime on building a new server untill you know what is going on based on the packet capture. Depending on the exact CSS settings this may just be a CSS noting a DoS condition. Perhaps I need to fire up my old CSS and see what happens. (I actually still have an ArrowPoint CSS ;-) Hugo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trythisname at gmail.com Wed Feb 28 04:52:04 2007 From: trythisname at gmail.com (Andrew) Date: Wed, 28 Feb 2007 13:52:04 +1000 Subject: Acknowlegement is not stopping notifications Message-ID: Since upgrading from 2.0 to 2.7 nagios has continued to notify us of events even when the event has been acknowleged and when notification has been disabled. The contents of the status.dat for the service are: service { host_name=cbnel17b service_description=Disk - /tmp modified_attributes=1 check_command=check_unix_disk!10%!5%!/tmp event_handler= has_been_checked=1 should_be_scheduled=1 check_execution_time=0.793 check_latency=70.262 check_type=0 current_state=2 last_hard_state=2 current_attempt=3 max_attempts=3 state_type=1 last_state_change=1172629279 last_hard_state_change=1172629537 last_time_ok=1172629147 last_time_warning=0 last_time_unknown=0 last_time_critical=1172630731 plugin_output=DISK CRITICAL - free space: /tmp 54 MB (3%): performance_data=/tmp=54MB;1813;1914;0;2015 last_check=1172630731 next_check=1172630791 current_notification_number=1 last_notification=1172629539 next_notification=1172629839 no_more_notifications=0 notifications_enabled=0 active_checks_enabled=1 passive_checks_enabled=1 event_handler_enabled=1 problem_has_been_acknowledged=1 acknowledgement_type=2 flap_detection_enabled=1 failure_prediction_enabled=1 process_performance_data=1 obsess_over_service=1 last_update=1172630852 is_flapping=0 percent_state_change=5.07 scheduled_downtime_depth=0 } Can anyone see why nagios would continue to send notifications given the above state information? Thanks, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 07:05:12 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 11:35:12 +0530 Subject: Uptime error In-Reply-To: References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> Message-ID: On 2/28/07, sujith h wrote: > > See when i type uptime: > sujith at sujith:~$uptime > 11:30:33 up 4 days, 1:09, 1 user, load average: 1.15, 0.66, 0.50 > > And in the nagios page, which i used to take in my firefox as : > http://sujith/nagios > (I had configured it like that in apache.) , when I click the Host Detail > I can see that > in the status information section we have a different output.. such aser > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > Here u can see that am not getting the output synchronized. > > Well again I want to tell u that the uptime script is a 3 line code: > > #!/bin/bash > uptime > exit(0) > > But the problem I had found with uptime only in the Host Detail. The > Service Details > are running good as if now. > > On 2/27/07, Jim Avery wrote: > > > > On 27/02/07, sujith h wrote: > > > And when i run the > > > script check_uptime, the plugin for nagios written by me, it gives me > > > my machine is up for 2 days. But when nagios runs it , shows that > > > my machine was up for 2 mins. > > > > > > The format of the output of uptime will change after a day or so. > > > > My desktop machine here which I turned on this morning shows this: > > > > jim at behemoth:~$ uptime > > 15:43:58 up 5:01, 2 users, load average: 0.47, 0.64, 0.72 > > > > and my web-server upstairs which has been going for a while shows this: > > > > jim at babyblue:~$ uptime > > 15:46:16 up 17 days, 2:54, 1 user, load average: 2.06, 2.09, 2.08 > > > > What precisely does uptime tell you when you login as "nagios" and run > > it by hand, and what precisely does Nagios report in the output? Is > > the output you refer to in Nagios in the "Duration" or "Status > > information" column? The plugin output should be in the "Status > > information" column. The duration column is Nagios telling you how > > long the host or service has been in that state for. > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 07:06:05 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 11:36:05 +0530 Subject: Uptime error In-Reply-To: References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> Message-ID: On 2/28/07, sujith h wrote: > > > > On 2/28/07, sujith h wrote: > > > > See when i type uptime: > > sujith at sujith:~$uptime > > 11:30:33 up 4 days, 1:09, 1 user, load average: 1.15, 0.66, 0.50 > > > > And in the nagios page, which i used to take in my firefox as : > > http://sujith/nagios > > (I had configured it like that in apache.) , when I click the Host > > Detail I can see that > > in the status information section we have a different output.. such aser > > > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > > > Here u can see that am not getting the output synchronized. > > > > Well again I want to tell u that the uptime script is a 3 line code: > > > > #!/bin/bash > > uptime > > exit(0) > > > > But the problem I had found with uptime only in the Host Detail. The > > Service Details > > are running good as if now. > > > > On 2/27/07, Jim Avery < jim at jimavery.me.uk> wrote: > > > > > > On 27/02/07, sujith h wrote: > > > > And when i run the > > > > script check_uptime, the plugin for nagios written by me, it gives > > > me > > > > my machine is up for 2 days. But when nagios runs it , shows that > > > > my machine was up for 2 mins. > > > > > > > > > The format of the output of uptime will change after a day or so. > > > > > > My desktop machine here which I turned on this morning shows this: > > > > > > jim at behemoth:~$ uptime > > > 15:43:58 up 5:01, 2 users, load average: 0.47, 0.64, 0.72 > > > > > > and my web-server upstairs which has been going for a while shows > > > this: > > > > > > jim at babyblue:~$ uptime > > > 15:46:16 up 17 days, 2:54, 1 user, load average: 2.06, 2.09, 2.08 > > > > > > What precisely does uptime tell you when you login as "nagios" and run > > > it by hand, and what precisely does Nagios report in the output? Is > > > the output you refer to in Nagios in the "Duration" or "Status > > > information" column? The plugin output should be in the "Status > > > information" column. The duration column is Nagios telling you how > > > long the host or service has been in that state for. > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Feb 28 07:25:26 2007 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 28 Feb 2007 01:25:26 -0500 Subject: Uptime error In-Reply-To: References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com><765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> Message-ID: > when I click the Host Detail I can see that > in the status information section we have a different output.. such aser > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > Here u can see that am not getting the output synchronized. > But the problem I had found with uptime only in > the Host Detail. The Service Details > are running good as if now. Are you running this command as both a host check and a service check? If so, that's why you're seeing different output. The host check will only run if a service on it goes to a non-OK state, and probably hasn't run for a few days, when the host had only been up for two minutes. It looks like you've defined the same plugin for two checks. If that's the case, they are never going to match. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 08:03:00 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 12:33:00 +0530 Subject: Uptime error In-Reply-To: References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> Message-ID: No am running this plugin for host check only Sujith On 2/28/07, Morris, Patrick wrote: > > > when I click the Host Detail I can see that > > in the status information section we have a different output.. such > aser > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > > Here u can see that am not getting the output synchronized. > > > But the problem I had found with uptime only in > > the Host Detail. The Service Details > > are running good as if now. > > Are you running this command as both a host check and a service check? > If so, that's why you're seeing different output. The host check will > only run if a service on it goes to a non-OK state, and probably hasn't > run for a few days, when the host had only been up for two minutes. > > It looks like you've defined the same plugin for two checks. If that's > the case, they are never going to match. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 09:49:57 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 08:49:57 +0000 Subject: Uptime error In-Reply-To: References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> Message-ID: <45E54235.5010803@mailnetwork.co.uk> As Patrick said, this plugin (as a host check) will only get run if a service goes into a non-OK state, therefore showing old information until it a service fails. I have exactly the same plugin (written myself with a couple of differences to yours) which runs as a service called "Uptime" on every host - this way it is always run every 5 minutes and shows up-to-date info. The host check is a simple check_ping. HTH Andy. sujith h wrote: > > No am running this plugin for host check only > > Sujith > On 2/28/07, *Morris, Patrick* > wrote: > > > when I click the Host Detail I can see that > > in the status information section we have a different output.. such > aser > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > > Here u can see that am not getting the output synchronized. > > > But the problem I had found with uptime only in > > the Host Detail. The Service Details > > are running good as if now. > > Are you running this command as both a host check and a service check? > If so, that's why you're seeing different output. The host check will > only run if a service on it goes to a non-OK state, and probably > hasn't > run for a few days, when the host had only been up for two minutes. > > It looks like you've defined the same plugin for two checks. If > that's > the case, they are never going to match. > > > !DSPAM:37,45e52941103001189734924! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45e52941103001189734924! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45e52941103001189734924! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 09:59:39 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 14:29:39 +0530 Subject: Uptime error In-Reply-To: <45E54235.5010803@mailnetwork.co.uk> References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> <45E54235.5010803@mailnetwork.co.uk> Message-ID: Hi Andy, Actually my problem is that it works for some 1 day or more. But after that I get these sort of results. So thats what makes me worry... Sujith Bangalore On 2/28/07, Andy Shellam (Mailing Lists) < andy.shellam-lists at mailnetwork.co.uk> wrote: > > As Patrick said, this plugin (as a host check) will only get run if a > service goes into a non-OK state, therefore showing old information until it > a service fails. > > I have exactly the same plugin (written myself with a couple of > differences to yours) which runs as a service called "Uptime" on every host > - this way it is always run every 5 minutes and shows up-to-date info. > > The host check is a simple check_ping. > > HTH > > Andy. > > sujith h wrote: > > > No am running this plugin for host check only > > Sujith > On 2/28/07, Morris, Patrick wrote: > > > > > when I click the Host Detail I can see that > > > in the status information section we have a different output.. such > > aser > > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > > > > Here u can see that am not getting the output synchronized. > > > > > But the problem I had found with uptime only in > > > the Host Detail. The Service Details > > > are running good as if now. > > > > Are you running this command as both a host check and a service check? > > If so, that's why you're seeing different output. The host check will > > only run if a service on it goes to a non-OK state, and probably hasn't > > run for a few days, when the host had only been up for two minutes. > > > > It looks like you've defined the same plugin for two checks. If that's > > the case, they are never going to match. > > > > > !DSPAM:37,45e52941103001189734924! > > ------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,45e52941103001189734924! > > ------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45e52941103001189734924! > > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 10:05:21 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 14:35:21 +0530 Subject: Uptime error In-Reply-To: References: <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> <45E54235.5010803@mailnetwork.co.uk> Message-ID: Actually the problem with the ping is that we are giving dynamic IP address so when the ip address changes its difficult to know who is responding to the ping. And so we moved to ssh and uptime... Sujith Bangalore. On 2/28/07, sujith h wrote: > > Hi Andy, > > Actually my problem is that it works for some 1 day or more. But after > that I get these sort of > results. So thats what makes me worry... > > Sujith > Bangalore > > On 2/28/07, Andy Shellam (Mailing Lists) < > andy.shellam-lists at mailnetwork.co.uk> wrote: > > > > As Patrick said, this plugin (as a host check) will only get run if a > > service goes into a non-OK state, therefore showing old information until it > > a service fails. > > > > I have exactly the same plugin (written myself with a couple of > > differences to yours) which runs as a service called "Uptime" on every host > > - this way it is always run every 5 minutes and shows up-to-date info. > > > > The host check is a simple check_ping. > > > > HTH > > > > Andy. > > > > sujith h wrote: > > > > > > No am running this plugin for host check only > > > > Sujith > > On 2/28/07, Morris, Patrick < patrick.morris at hp.com > wrote: > > > > > > > when I click the Host Detail I can see that > > > > in the status information section we have a different output.. such > > > aser > > > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > > > > > > Here u can see that am not getting the output synchronized. > > > > > > > But the problem I had found with uptime only in > > > > the Host Detail. The Service Details > > > > are running good as if now. > > > > > > Are you running this command as both a host check and a service check? > > > If so, that's why you're seeing different output. The host check will > > > only run if a service on it goes to a non-OK state, and probably > > > hasn't > > > run for a few days, when the host had only been up for two minutes. > > > > > > It looks like you've defined the same plugin for two checks. If that's > > > > > > the case, they are never going to match. > > > > > > > > !DSPAM:37,45e52941103001189734924! > > > > ------------------------------ > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > !DSPAM:37,45e52941103001189734924! > > > > ------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > !DSPAM:37,45e52941103001189734924! > > > > > > > > -- > > Andy Shellam > > NetServe Support Team > > > > the Mail Network > > "an alternative in a standardised world" > > > > p: +44 (0) 121 288 0832/0839 > > m: +44 (0) 7818 000834 > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 10:05:30 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 09:05:30 +0000 Subject: Uptime error In-Reply-To: References: <765d77c80702270624m3b2310fam19bf6d54bb96ec64@mail.gmail.com> <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> <45E54235.5010803@mailnetwork.co.uk> Message-ID: <45E545DA.5070507@mailnetwork.co.uk> What results? I haven't yet been able to find a clear indication in this thread of the problem you're seeing. What is the relevant definitions of your host, service and commands? Please explain your problem more clearly. Thanks Andy. sujith h wrote: > Hi Andy, > > Actually my problem is that it works for some 1 day or more. But after > that I get these sort of > results. So thats what makes me worry... > > Sujith > Bangalore > > On 2/28/07, *Andy Shellam (Mailing Lists)* > > wrote: > > As Patrick said, this plugin (as a host check) will only get run > if a service goes into a non-OK state, therefore showing old > information until it a service fails. > > I have exactly the same plugin (written myself with a couple of > differences to yours) which runs as a service called "Uptime" on > every host - this way it is always run every 5 minutes and shows > up-to-date info. > > The host check is a simple check_ping. > > HTH > > Andy. > > sujith h wrote: >> >> No am running this plugin for host check only >> >> Sujith >> On 2/28/07, *Morris, Patrick* < patrick.morris at hp.com >> > wrote: >> >> > when I click the Host Detail I can see that >> > in the status information section we have a different >> output.. such >> aser >> > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 >> >> > Here u can see that am not getting the output synchronized. >> >> > But the problem I had found with uptime only in >> > the Host Detail. The Service Details >> > are running good as if now. >> >> Are you running this command as both a host check and a >> service check? >> If so, that's why you're seeing different output. The host >> check will >> only run if a service on it goes to a non-OK state, and >> probably hasn't >> run for a few days, when the host had only been up for two >> minutes. >> >> It looks like you've defined the same plugin for two checks. >> If that's >> the case, they are never going to match. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> >> opinions on IT & business topics through brief surveys-and earn cash >> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> !DSPAM:37,45e52941103001189734924! >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> !DSPAM:37,45e52941103001189734924! >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 10:15:10 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 14:45:10 +0530 Subject: Uptime error In-Reply-To: <45E545DA.5070507@mailnetwork.co.uk> References: <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> <45E54235.5010803@mailnetwork.co.uk> <45E545DA.5070507@mailnetwork.co.uk> Message-ID: See my host.cfg file contains: define hostgroup{ hostgroup_name Enpaq alias Enpaq members sujith } define host{ host_name sujith alias Enpaq Router address 127.0.0.1 max_check_attempts 1 check_command check_uptime check_period 24x7 contact_groups admin notification_interval 0 notification_period 24x7 notification_options d,u,r,f } Now service.cfg checks for the services to be runned. And now my problem is that when I run nagios am getting the check_uptime executed and gives me the proper result. Now my problem will arise when nagios gives me some wague output... I mean the output of nagios varies from the uptime that I type in the command line... On 2/28/07, Andy Shellam (Mailing Lists) < andy.shellam-lists at mailnetwork.co.uk> wrote: > > What results? > I haven't yet been able to find a clear indication in this thread of the > problem you're seeing. > > What is the relevant definitions of your host, service and commands? > Please explain your problem more clearly. > > Thanks > > Andy. > > sujith h wrote: > > Hi Andy, > > Actually my problem is that it works for some 1 day or more. But after > that I get these sort of > results. So thats what makes me worry... > > Sujith > Bangalore > > On 2/28/07, Andy Shellam (Mailing Lists) < > andy.shellam-lists at mailnetwork.co.uk> wrote: > > > As Patrick said, this plugin (as a host check) will only get run if a > > service goes into a non-OK state, therefore showing old information until it > > a service fails. > > > > I have exactly the same plugin (written myself with a couple of > > differences to yours) which runs as a service called "Uptime" on every host > > - this way it is always run every 5 minutes and shows up-to-date info. > > > > The host check is a simple check_ping. > > > > HTH > > > > Andy. > > > > sujith h wrote: > > > > > > No am running this plugin for host check only > > > > Sujith > > On 2/28/07, Morris, Patrick < patrick.morris at hp.com > wrote: > > > > > > > when I click the Host Detail I can see that > > > > in the status information section we have a different output.. such > > > aser > > > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > > > > > > Here u can see that am not getting the output synchronized. > > > > > > > But the problem I had found with uptime only in > > > > the Host Detail. The Service Details > > > > are running good as if now. > > > > > > Are you running this command as both a host check and a service check? > > > If so, that's why you're seeing different output. The host check will > > > only run if a service on it goes to a non-OK state, and probably > > > hasn't > > > run for a few days, when the host had only been up for two minutes. > > > > > > It looks like you've defined the same plugin for two checks. If that's > > > > > > the case, they are never going to match. > > > > > > > > ------------------------------ > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > > > opinions on IT & business topics through brief surveys-and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > !DSPAM:37,45e52941103001189734924! > > > > ------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > !DSPAM:37,45e52941103001189734924! > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 10:17:01 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 09:17:01 +0000 Subject: Uptime error In-Reply-To: References: <765d77c80702270751v3e64b28ag973c1ce25cc70373@mail.gmail.com> <45E54235.5010803@mailnetwork.co.uk> Message-ID: <45E5488D.8030103@mailnetwork.co.uk> I think you need to explain what you're trying to do overall, as this isn't making any sense to me! You cannot possibly determine which server is responding using it's uptime output. A more sensible option surely would be it's hostname? #!/bin/bash hostname exit 0 However you're going to run into a lot of trouble trying to use Nagios to monitor a server using its dynamic IP address. I think to start with you need to be looking at a solution such as Dynamic DNS (e.g. No-IP, DynDNS for commercial services, or Bind with DNSSEC/TSIG if you use Bind within your organisation.) Your machines would then change their DNS address when they detect their IP address has changed, and you would definite it's dynamic DNS hostname as the host_name directive to Nagios. Only thing you'd have to watch would be if your DNS service fails, Nagios will fail on everything. Re your last e-mail, please give example outputs of what you see on the command-line and what Nagios says. Andy. sujith h wrote: > Actually the problem with the ping is that we are giving dynamic IP > address > so when the ip address changes its difficult to know who is responding > to the > ping. And so we moved to ssh and uptime... > > Sujith > > Bangalore. > > On 2/28/07, *sujith h* > wrote: > > Hi Andy, > > Actually my problem is that it works for some 1 day or more. But > after that I get these sort of > results. So thats what makes me worry... > > Sujith > Bangalore > > > On 2/28/07, *Andy Shellam (Mailing Lists)* > > wrote: > > As Patrick said, this plugin (as a host check) will only get > run if a service goes into a non-OK state, therefore showing > old information until it a service fails. > > I have exactly the same plugin (written myself with a couple > of differences to yours) which runs as a service called > "Uptime" on every host - this way it is always run every 5 > minutes and shows up-to-date info. > > The host check is a simple check_ping. > > HTH > > Andy. > > sujith h wrote: >> >> No am running this plugin for host check only >> >> Sujith >> On 2/28/07, *Morris, Patrick* < patrick.morris at hp.com >> > wrote: >> >> > when I click the Host Detail I can see that >> > in the status information section we have a different >> output.. such >> aser >> > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, >> 0.86, 0.71 >> >> > Here u can see that am not getting the output synchronized. >> >> > But the problem I had found with uptime >> only in >> > the Host Detail. The Service Details >> > are running good as if now. >> >> Are you running this command as both a host check and a >> service check? >> If so, that's why you're seeing different output. The >> host check will >> only run if a service on it goes to a non-OK state, and >> probably hasn't >> run for a few days, when the host had only been up for >> two minutes. >> >> It looks like you've defined the same plugin for two >> checks. If that's >> the case, they are never going to match. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> >> >> opinions on IT & business topics through brief surveys-and earn cash >> >> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> !DSPAM:37,45e52941103001189734924! >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> !DSPAM:37,45e52941103001189734924! >> > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > > > !DSPAM:37,45e545e1103007241816293! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paolo.riccadonna at sistinf.it Wed Feb 28 10:23:28 2007 From: paolo.riccadonna at sistinf.it (paolo.riccadonna at sistinf.it) Date: Wed, 28 Feb 2007 10:23:28 +0100 Subject: No notification when host down Message-ID: An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Feb 28 10:30:47 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 28 Feb 2007 09:30:47 +0000 Subject: notification for RAID state change. In-Reply-To: <45E4E38E.602@aei.ca> References: <20070227145933.86592.qmail@web36812.mail.mud.yahoo.com> <45E4E38E.602@aei.ca> Message-ID: <45E54BC7.9000501@googlemail.com> Exactly. I posted 3 of these yesterday on NagiosExchange.org that I wrote in python which cover 3ware, LSI MegaRaid and Linux Software Raid. They are extremely simple to get working and work for me on both 32-bit and 64-bit servers. The 3ware and Linux Software plugins also have the advantage of telling you when an array is rebuilding as well as giving you the rebuild % complete which I thought was a useful feature. -h Hari Sekhon Thomas Guyot-Sionnest wrote: > On 27/02/07 09:59 AM, abid dar wrote: > >> I wanted to know if there was NRPE plugin to check it the state of systems RAID has changed. >> > > If you have a CLI utility you can write a simple perl script that > compare the output of some commands to know output. I have one for > Adaptec AACRAID and one for a SATA 3ware RAID (true RAID) controller. > > For PERC RAID (LSI Megaraid on Dell Poweredge servers) there's an SNMP > agent, so I just used check_snmp with thresholds to page on non-optimal > array. > > Thomas > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 11:01:45 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 10:01:45 +0000 Subject: Uptime error In-Reply-To: References: <45E54235.5010803@mailnetwork.co.uk> <45E5488D.8030103@mailnetwork.co.uk> Message-ID: <45E55309.2050101@mailnetwork.co.uk> Again, as I and Patrick have said, your host's check_command is only getting run when a service is deemed to have problems. You're getting the difference in the uptime output in Nagios and the console because Nagios hasn't run the uptime command for the host for over a day. If you're not retaining status information, then when you restart Nagios, it re-runs all it's checks, hence why it then gets updated. After that it is only run when a service fails. What I still don't understand is how your uptime command ensures the router is up? If the router is not up, then Nagios won't be running (as you're running it on the same host) so it seems quite pointless really. If the Lanlink checks that the LAN interface is up and connected - that makes sense, but then a check_ping to 127.0.0.1 as your host check_command would give the same result as the uptime, then you could have an "Uptime" service with your check_uptime command. That way you could be confident that the status detail in Nagios is reasonably up-to-date. Andy. sujith h wrote: > Ok let me explain the scenario in detail. > I have my router in which nagios is installed. > I have to monitor a few services like Lanstatus of > net1 interface, Webserver, and DNS. > Well now for this I have a host.cfg and services.cfg file > where I had configured this way: > Host.cfg > define hostgroup{ > hostgroup_name Enpaq > alias Enpaq > members sujith > } > > define host{ > host_name sujith > alias Enpaq Router > address 127.0.0.1 > max_check_attempts 1 > check_command check_uptime > check_period 24x7 > contact_groups admin > notification_interval 0 > notification_period 24x7 > notification_options d,u,r,f > } > > And services.cfg > define service{ > host_name sujith > service_description LAN LINK > check_command check_link!net1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 2 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups admin > } > > define service{ > host_name sujith > service_description WEB SERVER > check_command check_procs!1:!1:!apache2!SNSlSsRl > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 2 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups admin > } > > > define service{ > host_name sujith > service_description DNS > check_command check_dig!sujith.elina.in > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 2 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups admin > } > > This is all about the 2 files. And let me give the output also. > When I type the command uptime in my router I see like this: > sujith at sujith:~$uptime > 15:15:50 up 4 days, 4:54, 1 user, load average: 0.76, 0.70, 0.59 > > And when I see the nagios page for the Host Detail section, the Status > Information shows me: > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > But the output that I had given you is from the running nagios page. > If i would restart nagios then everything will be ok for a while. > This is what I want to know why this output comes like this. > Again in the /var/nagios/status.dat file is there which when I do > ls -lt command , it shows me that its getting updated in each and > every minute. Now if u again have any doubt on what I am trying to > tell please do mail me. Again I do repeat that when I do > /usr/local/nagios/bin/nagios -v /etc/nagios/etc/nagios.cfg > It doesn't give me any error. But this misbehaviour is worrying > me.... > > > Sujith > > Bangalore > > On 2/28/07, *Andy Shellam (Mailing Lists)* > > wrote: > > I think you need to explain what you're trying to do overall, as > this isn't making any sense to me! > > You cannot possibly determine which server is responding using > it's uptime output. > A more sensible option surely would be it's hostname? > > #!/bin/bash > hostname > exit 0 > > However you're going to run into a lot of trouble trying to use > Nagios to monitor a server using its dynamic IP address. > I think to start with you need to be looking at a solution such as > Dynamic DNS (e.g. No-IP, DynDNS for commercial services, or Bind > with DNSSEC/TSIG if you use Bind within your organisation.) > Your machines would then change their DNS address when they detect > their IP address has changed, and you would definite it's dynamic > DNS hostname as the host_name directive to Nagios. > Only thing you'd have to watch would be if your DNS service fails, > Nagios will fail on everything. > > Re your last e-mail, please give example outputs of what you see > on the command-line and what Nagios says. > > Andy. > > sujith h wrote: >> Actually the problem with the ping is that we are giving dynamic >> IP address >> so when the ip address changes its difficult to know who is >> responding to the >> ping. And so we moved to ssh and uptime... >> >> Sujith >> >> Bangalore. >> >> On 2/28/07, *sujith h* < sujith.linux at gmail.com >> > wrote: >> >> Hi Andy, >> >> Actually my problem is that it works for some 1 day or more. >> But after that I get these sort of >> results. So thats what makes me worry... >> >> Sujith >> Bangalore >> >> >> On 2/28/07, *Andy Shellam (Mailing Lists)* < >> andy.shellam-lists at mailnetwork.co.uk >> > wrote: >> >> As Patrick said, this plugin (as a host check) will only >> get run if a service goes into a non-OK state, therefore >> showing old information until it a service fails. >> >> I have exactly the same plugin (written myself with a >> couple of differences to yours) which runs as a service >> called "Uptime" on every host - this way it is always run >> every 5 minutes and shows up-to-date info. >> >> The host check is a simple check_ping. >> >> HTH >> >> Andy. >> >> sujith h wrote: >>> >>> No am running this plugin for host check only >>> >>> Sujith >>> On 2/28/07, *Morris, Patrick* < patrick.morris at hp.com >>> > wrote: >>> >>> > when I click the Host Detail I can see that >>> > in the status information section we have a >>> different output.. such >>> aser >>> > 20:17:46 up 3 days, 9:56, 1 user, load average: >>> 0.89, 0.86, 0.71 >>> >>> > Here u can see that am not getting the output >>> synchronized. >>> >>> > But the problem I had found with >>> uptime only in >>> > the Host Detail. The Service Details >>> > are running good as if now. >>> >>> Are you running this command as both a host check >>> and a service check? >>> If so, that's why you're seeing different output. >>> The host check will >>> only run if a service on it goes to a non-OK state, >>> and probably hasn't >>> run for a few days, when the host had only been up >>> for two minutes. >>> >>> It looks like you've defined the same plugin for two >>> checks. If that's >>> the case, they are never going to match. >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> >>> >>> >>> opinions on IT & business topics through brief surveys-and earn cash >>> >>> >>> >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> >>> >>> >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> !DSPAM:37,45e52941103001189734924! >>> >> >> >> -- >> Andy Shellam >> NetServe Support Team >> >> the Mail Network >> "an alternative in a standardised world" >> >> p: +44 (0) 121 288 0832/0839 >> m: +44 (0) 7818 000834 >> >> >> >> !DSPAM:37,45e545e1103007241816293! > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > > !DSPAM:37,45e55161103009057313425! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 11:22:58 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 15:52:58 +0530 Subject: Uptime error In-Reply-To: <45E55309.2050101@mailnetwork.co.uk> References: <45E54235.5010803@mailnetwork.co.uk> <45E5488D.8030103@mailnetwork.co.uk> <45E55309.2050101@mailnetwork.co.uk> Message-ID: I think i foregot to explain a crucial point that nagios is running in my router not in my machine. If i had told u my machine, then I really apolagise for stealing your precious time. And is there anyway that I can trigger the check_uptime (plugin written by me) all the time when the router is up???. If so please do tell me. If the router is down and nagios doesnt run then its ok for me. Since that is a different issue. But from your reply I came to understand that check_uptime will be called for the first time when the nagios is started and then if any of the services fails then again the check_uptime is called. Sujith Bangalore. On 2/28/07, Andy Shellam (Mailing Lists) < andy.shellam-lists at mailnetwork.co.uk> wrote: > > Again, as I and Patrick have said, your host's check_command is only > getting run when a service is deemed to have problems. > > You're getting the difference in the uptime output in Nagios and the > console because Nagios hasn't run the uptime command for the host for over a > day. > If you're not retaining status information, then when you restart Nagios, > it re-runs all it's checks, hence why it then gets updated. After that it > is only run when a service fails. > > What I still don't understand is how your uptime command ensures the > router is up? If the router is not up, then Nagios won't be running (as > you're running it on the same host) so it seems quite pointless really. If > the Lanlink checks that the LAN interface is up and connected - that makes > sense, but then a check_ping to 127.0.0.1 as your host check_command would > give the same result as the uptime, then you could have an "Uptime" service > with your check_uptime command. > > That way you could be confident that the status detail in Nagios is > reasonably up-to-date. > > Andy. > > sujith h wrote: > > Ok let me explain the scenario in detail. > I have my router in which nagios is installed. > I have to monitor a few services like Lanstatus of > net1 interface, Webserver, and DNS. > Well now for this I have a host.cfg and services.cfg file > where I had configured this way: > Host.cfg > define hostgroup{ > hostgroup_name Enpaq > alias Enpaq > members sujith > } > > define host{ > host_name sujith > alias Enpaq Router > address 127.0.0.1 > max_check_attempts 1 > check_command check_uptime > check_period 24x7 > contact_groups admin > notification_interval 0 > notification_period 24x7 > notification_options d,u,r,f > } > > And services.cfg > define service{ > host_name sujith > service_description LAN LINK > check_command check_link!net1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 2 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups admin > } > > define service{ > host_name sujith > service_description WEB SERVER > check_command check_procs!1:!1:!apache2!SNSlSsRl > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 2 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups admin > } > > > define service{ > host_name sujith > service_description DNS > check_command check_dig!sujith.elina.in > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period 24x7 > notification_interval 2 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups admin > } > > This is all about the 2 files. And let me give the output also. > When I type the command uptime in my router I see like this: > sujith at sujith:~$uptime > 15:15:50 up 4 days, 4:54, 1 user, load average: 0.76, 0.70, 0.59 > > And when I see the nagios page for the Host Detail section, the Status > Information shows me: > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > But the output that I had given you is from the running nagios page. > If i would restart nagios then everything will be ok for a while. > This is what I want to know why this output comes like this. > Again in the /var/nagios/status.dat file is there which when I do > ls -lt command , it shows me that its getting updated in each and > every minute. Now if u again have any doubt on what I am trying to > tell please do mail me. Again I do repeat that when I do > /usr/local/nagios/bin/nagios -v /etc/nagios/etc/nagios.cfg > It doesn't give me any error. But this misbehaviour is worrying > me.... > > > Sujith > > Bangalore > > On 2/28/07, Andy Shellam (Mailing Lists) < > andy.shellam-lists at mailnetwork.co.uk> wrote: > > > I think you need to explain what you're trying to do overall, as this > > isn't making any sense to me! > > > > You cannot possibly determine which server is responding using it's > > uptime output. > > A more sensible option surely would be it's hostname? > > > > #!/bin/bash > > hostname > > exit 0 > > > > However you're going to run into a lot of trouble trying to use Nagios > > to monitor a server using its dynamic IP address. > > I think to start with you need to be looking at a solution such as > > Dynamic DNS (e.g. No-IP, DynDNS for commercial services, or Bind with > > DNSSEC/TSIG if you use Bind within your organisation.) > > Your machines would then change their DNS address when they detect their > > IP address has changed, and you would definite it's dynamic DNS hostname as > > the host_name directive to Nagios. > > Only thing you'd have to watch would be if your DNS service fails, > > Nagios will fail on everything. > > > > Re your last e-mail, please give example outputs of what you see on the > > command-line and what Nagios says. > > > > Andy. > > > > sujith h wrote: > > > > Actually the problem with the ping is that we are giving dynamic IP > > address > > so when the ip address changes its difficult to know who is responding > > to the > > ping. And so we moved to ssh and uptime... > > > > Sujith > > > > Bangalore. > > > > On 2/28/07, sujith h < sujith.linux at gmail.com> wrote: > > > > > Hi Andy, > > > > > > Actually my problem is that it works for some 1 day or more. But after > > > that I get these sort of > > > results. So thats what makes me worry... > > > > > > Sujith > > > Bangalore > > > > > > > > > On 2/28/07, Andy Shellam (Mailing Lists) > > > wrote: > > > > > > > As Patrick said, this plugin (as a host check) will only get run if > > > > a service goes into a non-OK state, therefore showing old information until > > > > it a service fails. > > > > > > > > I have exactly the same plugin (written myself with a couple of > > > > differences to yours) which runs as a service called "Uptime" on every host > > > > - this way it is always run every 5 minutes and shows up-to-date info. > > > > > > > > The host check is a simple check_ping. > > > > > > > > HTH > > > > > > > > Andy. > > > > > > > > sujith h wrote: > > > > > > > > > > > > No am running this plugin for host check only > > > > > > > > Sujith > > > > On 2/28/07, Morris, Patrick < patrick.morris at hp.com > wrote: > > > > > > > > > > > when I click the Host Detail I can see that > > > > > > in the status information section we have a different output.. > > > > > such > > > > > aser > > > > > > 20:17:46 up 3 days, 9:56, 1 user, load average: 0.89, 0.86, 0.71 > > > > > > > > > > > Here u can see that am not getting the output synchronized. > > > > > > > > > > > But the problem I had found with uptime only in > > > > > > the Host Detail. The Service Details > > > > > > are running good as if now. > > > > > > > > > > Are you running this command as both a host check and a service > > > > > check? > > > > > If so, that's why you're seeing different output. The host check > > > > > will > > > > > only run if a service on it goes to a non-OK state, and probably > > > > > hasn't > > > > > run for a few days, when the host had only been up for two > > > > > minutes. > > > > > > > > > > It looks like you've defined the same plugin for two checks. If > > > > > that's > > > > > the case, they are never going to match. > > > > > > > > > > > > > > ------------------------------ > > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > > > > > > > > > > > > > > > opinions on IT & business topics through brief surveys-and earn cash > > > > > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > > > > > > > > > ------------------------------ > > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > !DSPAM:37,45e52941103001189734924! > > > > > > > > > > > > > > > > -- > > > > Andy Shellam > > > > NetServe Support Team > > > > > > > > the Mail Network > > > > "an alternative in a standardised world" > > > > > > > > p: +44 (0) 121 288 0832/0839 > > > > m: +44 (0) 7818 000834 > > > > > > > > > > > > > !DSPAM:37,45e545e1103007241816293! > > > > > > > > -- > > Andy Shellam > > NetServe Support Team > > > > the Mail Network > > "an alternative in a standardised world" > > > > p: +44 (0) 121 288 0832/0839 > > m: +44 (0) 7818 000834 > > > > > !DSPAM:37,45e55161103009057313425! > > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 11:32:31 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 10:32:31 +0000 Subject: Uptime error In-Reply-To: References: <45E54235.5010803@mailnetwork.co.uk> <45E5488D.8030103@mailnetwork.co.uk> <45E55309.2050101@mailnetwork.co.uk> Message-ID: <45E55A3F.20503@mailnetwork.co.uk> sujith h wrote: > I think i foregot to explain a crucial point that nagios is running in > my router not in my > machine. If i had told u my machine, then I really apolagise for > stealing your precious > time. No, I understand that. > And is there anyway that I can trigger the check_uptime (plugin > written by me) > all the time when the router is up??? Yes. Define it as a service for your host that runs, say, every 5 minutes 24x7. > . If so please do tell me. If the router is down and > nagios doesnt run then its ok for me. Since that is a different issue. > But from your reply > I came to understand that check_uptime will be called for the first > time when the nagios > is started and then if any of the services fails then again the > check_uptime is called. Yes. Nagios only checks a host status when it absolutely needs to, not any other time. This is usually when a service fails, or a network blockage is detected. check_ping to 127.0.0.1 on this check would work fine in your case. Andy. > > > Sujith > > Bangalore. > > On 2/28/07, *Andy Shellam (Mailing Lists) * > > wrote: > > Again, as I and Patrick have said, your host's check_command is > only getting run when a service is deemed to have problems. > > You're getting the difference in the uptime output in Nagios and > the console because Nagios hasn't run the uptime command for the > host for over a day. > If you're not retaining status information, then when you restart > Nagios, it re-runs all it's checks, hence why it then gets > updated. After that it is only run when a service fails. > > What I still don't understand is how your uptime command ensures > the router is up? If the router is not up, then Nagios won't be > running (as you're running it on the same host) so it seems quite > pointless really. If the Lanlink checks that the LAN interface is > up and connected - that makes sense, but then a check_ping to > 127.0.0.1 as your host check_command would give > the same result as the uptime, then you could have an "Uptime" > service with your check_uptime command. > > That way you could be confident that the status detail in Nagios > is reasonably up-to-date. > > Andy. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 12:33:10 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 17:03:10 +0530 Subject: Uptime error In-Reply-To: <45E55A3F.20503@mailnetwork.co.uk> References: <45E54235.5010803@mailnetwork.co.uk> <45E5488D.8030103@mailnetwork.co.uk> <45E55309.2050101@mailnetwork.co.uk> <45E55A3F.20503@mailnetwork.co.uk> Message-ID: The use of option : use_aggressive_host_checking=1 in the nagios.cfg file will make any difference??? Sujith Bangalore On 2/28/07, Andy Shellam (Mailing Lists) < andy.shellam-lists at mailnetwork.co.uk> wrote: > > sujith h wrote: > > I think i foregot to explain a crucial point that nagios is running in my > router not in my > machine. If i had told u my machine, then I really apolagise for stealing > your precious > time. > > > No, I understand that. > > And is there anyway that I can trigger the check_uptime (plugin written by > me) > all the time when the router is up??? > > > Yes. Define it as a service for your host that runs, say, every 5 minutes > 24x7. > > . If so please do tell me. If the router is down and > nagios doesnt run then its ok for me. Since that is a different issue. But > from your reply > I came to understand that check_uptime will be called for the first time > when the nagios > is started and then if any of the services fails then again the > check_uptime is called. > > > Yes. Nagios only checks a host status when it absolutely needs to, not > any other time. This is usually when a service fails, or a network blockage > is detected. check_ping to 127.0.0.1 on this check would work fine in > your case. > > Andy. > > > > Sujith > > Bangalore. > > On 2/28/07, Andy Shellam (Mailing Lists) < > andy.shellam-lists at mailnetwork.co.uk> wrote: > > > > Again, as I and Patrick have said, your host's check_command is only > > getting run when a service is deemed to have problems. > > > > You're getting the difference in the uptime output in Nagios and the > > console because Nagios hasn't run the uptime command for the host for over a > > day. > > If you're not retaining status information, then when you restart > > Nagios, it re-runs all it's checks, hence why it then gets updated. After > > that it is only run when a service fails. > > > > What I still don't understand is how your uptime command ensures the > > router is up? If the router is not up, then Nagios won't be running (as > > you're running it on the same host) so it seems quite pointless really. If > > the Lanlink checks that the LAN interface is up and connected - that makes > > sense, but then a check_ping to 127.0.0.1 as your host check_command > > would give the same result as the uptime, then you could have an "Uptime" > > service with your check_uptime command. > > > > That way you could be confident that the status detail in Nagios is > > reasonably up-to-date. > > > > Andy. > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 12:36:34 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 11:36:34 +0000 Subject: Uptime error In-Reply-To: References: <45E54235.5010803@mailnetwork.co.uk> <45E5488D.8030103@mailnetwork.co.uk> <45E55309.2050101@mailnetwork.co.uk> <45E55A3F.20503@mailnetwork.co.uk> Message-ID: <45E56942.8030701@mailnetwork.co.uk> You can do it by setting scheduled host checks, but it's very performance-intensive, and *will* affect your service checks. Your uptime check will do what you want much better if you add it as a service to your host. Why are you so insistent you don't want to use check_ping as your host command and Uptime as a service? Andy. sujith h wrote: > The use of option : use_aggressive_host_checking=1 > in the nagios.cfg file will make any difference??? > > Sujith > > Bangalore > > On 2/28/07, *Andy Shellam (Mailing Lists) * > > wrote: > > sujith h wrote: >> I think i foregot to explain a crucial point that nagios is >> running in my router not in my >> machine. If i had told u my machine, then I really apolagise for >> stealing your precious >> time. > > No, I understand that. > >> And is there anyway that I can trigger the check_uptime (plugin >> written by me) >> all the time when the router is up??? > > Yes. Define it as a service for your host that runs, say, every 5 > minutes 24x7. > >> . If so please do tell me. If the router is down and >> nagios doesnt run then its ok for me. Since that is a different >> issue. But from your reply >> I came to understand that check_uptime will be called for the >> first time when the nagios >> is started and then if any of the services fails then again the >> check_uptime is called. > > Yes. Nagios only checks a host status when it absolutely needs > to, not any other time. This is usually when a service fails, or > a network blockage is detected. check_ping to 127.0.0.1 > on this check would work fine in your case. > > Andy. > >> >> >> Sujith >> >> Bangalore. >> >> On 2/28/07, *Andy Shellam (Mailing Lists) * >> > > wrote: >> >> Again, as I and Patrick have said, your host's check_command >> is only getting run when a service is deemed to have problems. >> >> You're getting the difference in the uptime output in Nagios >> and the console because Nagios hasn't run the uptime command >> for the host for over a day. >> If you're not retaining status information, then when you >> restart Nagios, it re-runs all it's checks, hence why it then >> gets updated. After that it is only run when a service fails. >> >> What I still don't understand is how your uptime command >> ensures the router is up? If the router is not up, then >> Nagios won't be running (as you're running it on the same >> host) so it seems quite pointless really. If the Lanlink >> checks that the LAN interface is up and connected - that >> makes sense, but then a check_ping to 127.0.0.1 >> as your host check_command would give the >> same result as the uptime, then you could have an "Uptime" >> service with your check_uptime command. >> >> That way you could be confident that the status detail in >> Nagios is reasonably up-to-date. >> >> Andy. >> > > > !DSPAM:37,45e56884103005404720733! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sujith.linux at gmail.com Wed Feb 28 14:43:17 2007 From: sujith.linux at gmail.com (sujith h) Date: Wed, 28 Feb 2007 19:13:17 +0530 Subject: Fwd: Uptime error In-Reply-To: References: <45E5488D.8030103@mailnetwork.co.uk> <45E55309.2050101@mailnetwork.co.uk> <45E55A3F.20503@mailnetwork.co.uk> <45E56942.8030701@mailnetwork.co.uk> Message-ID: ---------- Forwarded message ---------- From: sujith h Date: Feb 28, 2007 7:12 PM Subject: Re: [Nagios-users] Uptime error To: "Andy Shellam (Mailing Lists)" Actually we used check_ping till 5 months before and then we decided to move on to uptime . The reason is that suppose I have a machine named don whose ip is 192.102.1.2 and if my machine is down for 1 day. And some other guy in my office started his machine his dhcpclient will run and give my ip (Think as if for the time being). Now the ping will work in any case but the uptime wont. So that is why I decided to move on with uptime in Host check. Sujith Bangalore On 2/28/07, Andy Shellam (Mailing Lists) < andy.shellam-lists at mailnetwork.co.uk > wrote: > > You can do it by setting scheduled host checks, but it's very > performance-intensive, and *will* affect your service checks. > Your uptime check will do what you want much better if you add it as a > service to your host. > > Why are you so insistent you don't want to use check_ping as your host > command and Uptime as a service? > > Andy. > > > sujith h wrote: > > The use of option : use_aggressive_host_checking=1 > in the nagios.cfg file will make any difference??? > > Sujith > > Bangalore > > On 2/28/07, Andy Shellam (Mailing Lists) < > andy.shellam-lists at mailnetwork.co.uk> wrote: > > > sujith h wrote: > > > > I think i foregot to explain a crucial point that nagios is running in > > my router not in my > > machine. If i had told u my machine, then I really apolagise for > > stealing your precious > > time. > > > > > > No, I understand that. > > > > And is there anyway that I can trigger the check_uptime (plugin written > > by me) > > all the time when the router is up??? > > > > > > Yes. Define it as a service for your host that runs, say, every 5 > > minutes 24x7. > > > > . If so please do tell me. If the router is down and > > nagios doesnt run then its ok for me. Since that is a different issue. > > But from your reply > > I came to understand that check_uptime will be called for the first time > > when the nagios > > is started and then if any of the services fails then again the > > check_uptime is called. > > > > > > Yes. Nagios only checks a host status when it absolutely needs to, not > > any other time. This is usually when a service fails, or a network blockage > > is detected. check_ping to 127.0.0.1 on this check would work fine in > > your case. > > > > Andy. > > > > > > > > Sujith > > > > Bangalore. > > > > On 2/28/07, Andy Shellam (Mailing Lists) > > wrote: > > > > > > Again, as I and Patrick have said, your host's check_command is only > > > getting run when a service is deemed to have problems. > > > > > > You're getting the difference in the uptime output in Nagios and the > > > console because Nagios hasn't run the uptime command for the host for over a > > > day. > > > If you're not retaining status information, then when you restart > > > Nagios, it re-runs all it's checks, hence why it then gets updated. After > > > that it is only run when a service fails. > > > > > > What I still don't understand is how your uptime command ensures the > > > router is up? If the router is not up, then Nagios won't be running (as > > > you're running it on the same host) so it seems quite pointless really. If > > > the Lanlink checks that the LAN interface is up and connected - that makes > > > sense, but then a check_ping to 127.0.0.1 as your host check_command > > > would give the same result as the uptime, then you could have an "Uptime" > > > service with your check_uptime command. > > > > > > That way you could be confident that the status detail in Nagios is > > > reasonably up-to-date. > > > > > > Andy. > > > > > > > > !DSPAM:37,45e56884103005404720733! > > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 15:00:00 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 14:00:00 +0000 Subject: [Fwd: Re: Uptime error] Message-ID: <45E58AE0.6070402@mailnetwork.co.uk> A hostname check would be much more informative, or check_nrpe - if the other guy in your office doesn't have NRPE installed, then a check_nrpe will fail. Note that the way you have it setup, check_uptime will always run on the Nagios server, regardless, because it's a local plugin. So whatever the IP of your router (Nagios machine), it will always succeed. You need to be using NRPE in conjunction with it to get it to check by IP address. Even that will always succeed at the moment because your IP in your Nagios configuration is 127.0.0.1, which will always refer to itself. You're much better off having this as a service. For every host in my install I have a "Server Availability" service which is a check_ping, as this constantly monitors that the servers are up and responding, every minute, and doesn't create any havoc from host checks being run too often. Andy. -------- Original Message -------- Subject: Re: [Nagios-users] Uptime error Date: Wed, 28 Feb 2007 19:12:50 +0530 From: sujith h To: Andy Shellam (Mailing Lists) References: <45E5488D.8030103 at mailnetwork.co.uk> <45E55309.2050101 at mailnetwork.co.uk> <45E55A3F.20503 at mailnetwork.co.uk> <45E56942.8030701 at mailnetwork.co.uk> Actually we used check_ping till 5 months before and then we decided to move on to uptime . The reason is that suppose I have a machine named don whose ip is 192.102.1.2 and if my machine is down for 1 day. And some other guy in my office started his machine his dhcpclient will run and give my ip (Think as if for the time being). Now the ping will work in any case but the uptime wont. So that is why I decided to move on with uptime in Host check. Sujith Bangalore On 2/28/07, *Andy Shellam (Mailing Lists)* > wrote: You can do it by setting scheduled host checks, but it's very performance-intensive, and *will* affect your service checks. Your uptime check will do what you want much better if you add it as a service to your host. Why are you so insistent you don't want to use check_ping as your host command and Uptime as a service? Andy. sujith h wrote: > The use of option : use_aggressive_host_checking=1 > in the nagios.cfg file will make any difference??? > > Sujith > > Bangalore > > On 2/28/07, *Andy Shellam (Mailing Lists) * > > wrote: > > sujith h wrote: >> I think i foregot to explain a crucial point that nagios is >> running in my router not in my >> machine. If i had told u my machine, then I really apolagise >> for stealing your precious >> time. > > No, I understand that. > >> And is there anyway that I can trigger the check_uptime >> (plugin written by me) >> all the time when the router is up??? > > Yes. Define it as a service for your host that runs, say, > every 5 minutes 24x7. > >> . If so please do tell me. If the router is down and >> nagios doesnt run then its ok for me. Since that is a >> different issue. But from your reply >> I came to understand that check_uptime will be called for the >> first time when the nagios >> is started and then if any of the services fails then again >> the check_uptime is called. > > Yes. Nagios only checks a host status when it absolutely > needs to, not any other time. This is usually when a service > fails, or a network blockage is detected. check_ping to > 127.0.0.1 on this check would work fine in > your case. > > Andy. > >> >> >> Sujith >> >> Bangalore. >> >> On 2/28/07, *Andy Shellam (Mailing Lists) * < >> andy.shellam-lists at mailnetwork.co.uk >> > wrote: >> >> Again, as I and Patrick have said, your host's >> check_command is only getting run when a service is >> deemed to have problems. >> >> You're getting the difference in the uptime output in >> Nagios and the console because Nagios hasn't run the >> uptime command for the host for over a day. >> If you're not retaining status information, then when you >> restart Nagios, it re-runs all it's checks, hence why it >> then gets updated. After that it is only run when a >> service fails. >> >> What I still don't understand is how your uptime command >> ensures the router is up? If the router is not up, then >> Nagios won't be running (as you're running it on the same >> host) so it seems quite pointless really. If the Lanlink >> checks that the LAN interface is up and connected - that >> makes sense, but then a check_ping to 127.0.0.1 >> as your host check_command would give >> the same result as the uptime, then you could have an >> "Uptime" service with your check_uptime command. >> >> That way you could be confident that the status detail in >> Nagios is reasonably up-to-date. >> >> Andy. >> > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 !DSPAM:37,45e58730103001671241165! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Wed Feb 28 15:18:34 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 28 Feb 2007 14:18:34 -0000 Subject: useful oracle checks In-Reply-To: References: <27FA63FC15F4C243A37B07D57C891E3C054F615D@ws03-exchange.iconos.be><45E2BC8E.7090502@googlemail.com><765d77c80702260520k3c2fe6am2cca2a8a88f2ca8b@mail.gmail.com> Message-ID: Morris, Patrick wrote: >>> I'm not sure how the tablespace check would work >>> with auto-extending tablespaces if you use them. >> >> I'm curous about that myself. Anybody know? > > It doesn't work well. :) > > Because auto-extending tables tend to live n the edge of their > available space, this check will almost always report the table is > nearly full, making it pretty useless as an alerting tool. I've just been looking at the Oracle check Perl scripts in the contrib directory of the plugins distribution and it looks like check_oracle_tbs does the Right Thing with regard to calculating free space. check_oracle_instance.pl uses similar logic to the check_oracle shell script and doesn't take into account the tablespace's extensibility; check_ora_table_space.pl I'm not sure about, I couldn't decode the SQL logic without a bit more investigation. Of course all these require you to install the DBD and DBI::Oracle Perl modules so it would still be nice to have a shell script that does the right thing. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Feb 28 15:43:07 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 28 Feb 2007 14:43:07 +0000 Subject: Service Dependencies - How do you do yours? Message-ID: <45E594FB.9070006@googlemail.com> Hi, I'm using NRPE to check a lot of things, but it occurs to me that if nrpe goes down, I will receive a storm of emails about all the things that it checks. So I want to create service_dependencies which say, for example, "all Ram checks must depend on check serviceX on the same host" where "serviceX" is also an nrpe check that always succeeds. Therefore, if NRPE breaks for any reason, it should only alert me once for serviceX Of course, I'm not sure this could be done in a very easily templated way. I've had a look at the templating docs again but it seems to me that group hosts or service together will create a lattice of dependencies across hosts or services which will probably mean that any broken service on any host will prevent all dependent services from sending notifications for any other host. Any ideas on this? -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Wed Feb 28 15:48:32 2007 From: chiel at gmx.net (chiel at gmx.net) Date: Wed, 28 Feb 2007 15:48:32 +0100 Subject: Recommend hardware specs Message-ID: <20070228144832.179400@gmx.net> Hi, I was looking for some recommend hardware specs, but I didn't find any. The only think that I was able to find was in the "Apress Pro Nagios 2.0" book, it had the following table: #of host # of cpu CPU Speed Memory Disk Space <100 1 800MHz+ 512MB+ 5GB+ 100-500 1 1GHz+ 1GB+ 10GB+ 500-1000 1+ 3GHz+ 1GB+ 20GB+ 1000> 1+ 3GHz+ 2GB+ 40GB+ Do you guys agree with this list? The article also said that disk speed (scsi) was also very important. I think I will be monitoring 1000> hosts. With distributed nagios servers. And what are the benefits of the following technologies: 64bit, Hyper-Threading and Dual-core in comparison with Nagios. I'm using nagios 2.7, but maybe the upcoming nagios 3.0 will have different specs? Like to see you comments. -- "Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ... Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 16:02:09 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 15:02:09 +0000 Subject: Service Dependencies - How do you do yours? In-Reply-To: <45E594FB.9070006@googlemail.com> References: <45E594FB.9070006@googlemail.com> Message-ID: <45E59971.4070303@mailnetwork.co.uk> Hari, I have this exact problem (raised it a few weeks ago.) I've got it on my to-do list to create a shell script (probably PHP) that will create a service_dependencies.cfg file for you with each host and it's NRPE services. I'll try and get round to it this weekend and post on Nagios Exchange. I'll probably even post it as a page on my webserver so you won't have to have PHP locally. HTH Andy. Hari Sekhon wrote: > Hi, > I'm using NRPE to check a lot of things, but it occurs to me that if > nrpe goes down, I will receive a storm of emails about all the things > that it checks. > > So I want to create service_dependencies which say, for example, "all > Ram checks must depend on check serviceX on the same host" where > "serviceX" is also an nrpe check that always succeeds. > Therefore, if NRPE breaks for any reason, it should only alert me once > for serviceX > > Of course, I'm not sure this could be done in a very easily templated > way. I've had a look at the templating docs again but it seems to me > that group hosts or service together will create a lattice of > dependencies across hosts or services which will probably mean that any > broken service on any host will prevent all dependent services from > sending notifications for any other host. > > Any ideas on this? > > -h > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Feb 28 16:17:10 2007 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 28 Feb 2007 15:17:10 +0000 Subject: [Fwd: Re: Service Dependencies - How do you do yours?] Message-ID: <45E59CF6.2010400@mailnetwork.co.uk> For anyone else that's interested in this, I've raised as a project on Nagios Exchange. Hopefully should have something up over the weekend! http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[p_view]=882&tx_netnagext_pi1[page]=10%3A10 Andy. -------- Original Message -------- Subject: Re: [Nagios-users] Service Dependencies - How do you do yours? Date: Wed, 28 Feb 2007 15:02:09 +0000 From: Andy Shellam (Mailing Lists) To: Hari Sekhon CC: Nagios Users mailinglist References: <45E594FB.9070006 at googlemail.com> Hari, I have this exact problem (raised it a few weeks ago.) I've got it on my to-do list to create a shell script (probably PHP) that will create a service_dependencies.cfg file for you with each host and it's NRPE services. I'll try and get round to it this weekend and post on Nagios Exchange. I'll probably even post it as a page on my webserver so you won't have to have PHP locally. HTH Andy. Hari Sekhon wrote: > Hi, > I'm using NRPE to check a lot of things, but it occurs to me that if > nrpe goes down, I will receive a storm of emails about all the things > that it checks. > > So I want to create service_dependencies which say, for example, "all > Ram checks must depend on check serviceX on the same host" where > "serviceX" is also an nrpe check that always succeeds. > Therefore, if NRPE breaks for any reason, it should only alert me once > for serviceX > > Of course, I'm not sure this could be done in a very easily templated > way. I've had a look at the templating docs again but it seems to me > that group hosts or service together will create a lattice of > dependencies across hosts or services which will probably mean that any > broken service on any host will prevent all dependent services from > sending notifications for any other host. > > Any ideas on this? > > -h > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null !DSPAM:37,45e599b7103001596114515! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfrazer at duoconsulting.com Wed Feb 28 18:03:26 2007 From: sfrazer at duoconsulting.com (Scott Frazer) Date: Wed, 28 Feb 2007 11:03:26 -0600 Subject: Problem with check_http and a Cisco CSS 11501 In-Reply-To: References: Message-ID: Ok, I've got a packet capture. There are three hosts involved: Nagios, CSS and Webserver In a normal session (one that succeeds) the sequence goes like this: Nagios -> CSS [SYN] CSS (impersonating Nagios) -> Webserver [SYN] Webserver -> CSS (impersonating Nagios) [SYN, ACK] CSS -> Nagios [SYN, ACK] Nagios -> CSS [ACK] CSS (impersonating Nagios) -> Webserver [ACK] Nagios proceeds with HTTP GET and session continues normally. The entire process takes about 0.05 seconds When I'm seeing a failure the sequence of events looks like this: Nagios -> CSS [SYN] Webserver -> Nagios [SYN, ACK] Nagios -> Webserver [RST, ACK] ... Pause 5 seconds ... Webserver -> Nagios [SYN, ACK] Nagios -> Webserver [RST, ACK] Nagios -> CSS [SYN] ... Pause until 10 second timeout is reached ... The CSS never seems to respond to the Nagios host, but the Webserver sends packets directly back to the Nagios host, apparently ignoring its default route (that points it to the CSS) Interestingly, this problem seems to only occur if the nagios daemon is running. I shut the daemon down to make the capture easier to read, and just ran the check_http command manually. For awhile I would still get failures, but eventually the command would stop failing completely. On 2/27/07 4:25 PM, "Hugo van der Kooij" wrote: I suggest you setup a packet capture and trace the specific sessions. It should tell you exactly if the CSS is just becoming darn slow with replies or it has to do something with your server. ... I would not waste anytime on building a new server untill you know what is going on based on the packet capture. Depending on the exact CSS settings this may just be a CSS noting a DoS condition. Perhaps I need to fire up my old CSS and see what happens. (I actually still have an ArrowPoint CSS ;-) Hugo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Wed Feb 28 18:15:00 2007 From: trasko at gmail.com (Trask) Date: Wed, 28 Feb 2007 09:15:00 -0800 Subject: Recommend hardware specs In-Reply-To: <20070228144832.179400@gmx.net> References: <20070228144832.179400@gmx.net> Message-ID: <735379850702280915t3d59b32cobdb8c7bcdaa811fe@mail.gmail.com> > I was looking for some recommend hardware specs, but I didn't find any. > The only think that I was able to find was in the "Apress Pro Nagios 2.0" book, it had the following table: > > #of host # of cpu CPU Speed Memory Disk Space > <100 1 800MHz+ 512MB+ 5GB+ > 100-500 1 1GHz+ 1GB+ 10GB+ > 500-1000 1+ 3GHz+ 1GB+ 20GB+ > 1000> 1+ 3GHz+ 2GB+ 40GB+ > > Do you guys agree with this list? First off, when you get to doing your install, make sure to reference this: http://nagios.sourceforge.net/docs/2_0/tuning.html. It has lots of things that will improve your performance. Keep in mind when reading the below that we have implemented almost all of those suggestions. I will give you the specs of our servers to give you an idea of what we are seeing: P4 2.4GHz / 512MB RAM / standard 7200 rpm IDE drive 4 nagios servers -- 3 doing active checks and one receiving all check data passively (and filling in for any server that goes down). One of the 3 servers doing active checks has a disproportionaly high number of checks to do than the others. It is the only one that shows a load > 1. It varies between 5-10 and usually runs up to a 30 second check latency. This server checks only 200 servers but about 2625 services in total. About half of the services are passive (the client runs the check code). It is my feeling that that our performance isn't really all that bad -- it is just that the sending of the results passively gets a little backed up sometimes and causes the load count to go up. Also note that even with the high load, that particular server rarely goes into swap even with only 512MB. > The article also said that disk speed (scsi) was also very important. I agree with this. Although I have put the status.log on a ramdisk, I still believe our performance is limited by our slow IDE disks. I can't prove that, though. > And what are the benefits of the following technologies: 64bit, Hyper-Threading > and Dual-core in comparison with Nagios. I don't have any idea about 64bit performance. For HT and dual-core I would imagine that it will help, but I think the real bottleneck is the disk for us. Our server with the most checks and highest load uses on average about 30% cpu. The central server, which runs nagios, nrpe, ncsa, mysql/ndo2db, misc data collection/rrdtool scripts and apache getting hit by 8+ people all the time runs at about 10% cpu utilization (this machine has 1GB of mem and uses all of it, though). > I'm using nagios 2.7, but maybe the upcoming nagios 3.0 will have different specs? No idea. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfrazer at duoconsulting.com Wed Feb 28 19:54:11 2007 From: sfrazer at duoconsulting.com (Scott Frazer) Date: Wed, 28 Feb 2007 12:54:11 -0600 Subject: Problem with check_http and a Cisco CSS 11501 In-Reply-To: References: Message-ID: More testing. This is almost certainly not a Nagios issue. I set up a trial version of the Paessler IP Check program against the same URLs and servers and it exhibits a similar behavior. Looks like it's time to open a case with Cisco. On 2/28/07 11:03 AM, "Scott Frazer" wrote: Ok, I've got a packet capture. There are three hosts involved: Nagios, CSS and Webserver In a normal session (one that succeeds) the sequence goes like this: Nagios -> CSS [SYN] CSS (impersonating Nagios) -> Webserver [SYN] Webserver -> CSS (impersonating Nagios) [SYN, ACK] CSS -> Nagios [SYN, ACK] Nagios -> CSS [ACK] CSS (impersonating Nagios) -> Webserver [ACK] Nagios proceeds with HTTP GET and session continues normally. The entire process takes about 0.05 seconds When I'm seeing a failure the sequence of events looks like this: Nagios -> CSS [SYN] Webserver -> Nagios [SYN, ACK] Nagios -> Webserver [RST, ACK] ... Pause 5 seconds ... Webserver -> Nagios [SYN, ACK] Nagios -> Webserver [RST, ACK] Nagios -> CSS [SYN] ... Pause until 10 second timeout is reached ... The CSS never seems to respond to the Nagios host, but the Webserver sends packets directly back to the Nagios host, apparently ignoring its default route (that points it to the CSS) Interestingly, this problem seems to only occur if the nagios daemon is running. I shut the daemon down to make the capture easier to read, and just ran the check_http command manually. For awhile I would still get failures, but eventually the command would stop failing completely. On 2/27/07 4:25 PM, "Hugo van der Kooij" wrote: I suggest you setup a packet capture and trace the specific sessions. It should tell you exactly if the CSS is just becoming darn slow with replies or it has to do something with your server. ... I would not waste anytime on building a new server untill you know what is going on based on the packet capture. Depending on the exact CSS settings this may just be a CSS noting a DoS condition. Perhaps I need to fire up my old CSS and see what happens. (I actually still have an ArrowPoint CSS ;-) Hugo. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Feb 28 19:57:20 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 28 Feb 2007 19:57:20 +0100 (CET) Subject: Problem with check_http and a Cisco CSS 11501 In-Reply-To: References: Message-ID: On Wed, 28 Feb 2007, Scott Frazer wrote: > Ok, I've got a packet capture. > > There are three hosts involved: Nagios, CSS and Webserver > > In a normal session (one that succeeds) the sequence goes like this: > > Nagios -> CSS [SYN] This would be the CSS VIP, I assume. > CSS (impersonating Nagios) -> Webserver [SYN] This would be the CSS itself, I expect. > Webserver -> CSS (impersonating Nagios) [SYN, ACK] > CSS -> Nagios [SYN, ACK] > Nagios -> CSS [ACK] > CSS (impersonating Nagios) -> Webserver [ACK] > Nagios proceeds with HTTP GET and session continues normally. The entire process takes about 0.05 seconds > > When I'm seeing a failure the sequence of events looks like this: > > Nagios -> CSS [SYN] > Webserver -> Nagios [SYN, ACK] > Nagios -> Webserver [RST, ACK] > ... Pause 5 seconds ... > Webserver -> Nagios [SYN, ACK] > Nagios -> Webserver [RST, ACK] > Nagios -> CSS [SYN] > ... Pause until 10 second timeout is reached ... > > The CSS never seems to respond to the Nagios host, but the Webserver sends packets directly back to the Nagios host, apparently ignoring its default route (that points it to the CSS) > > Interestingly, this problem seems to only occur if the nagios daemon is running. I shut the daemon down to make the capture easier to read, and just ran the check_http command manually. For awhile I would still get failures, but eventually the command would stop failing completely. It seems Nagios is overloading the CSS NAT table somehow. It might have to do with the number of checks or how the check is done exactly. Reusing ports could be something that might kill the CSS. But I think you need to take this up with Cisco. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. Some men see computers as they are and say "Windows" I use computers with Linux and say "Why Windows?" (Thanks JFK, for the insight.) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.mies at itnovum.de Wed Feb 28 22:35:39 2007 From: c.mies at itnovum.de (Mies, Christian) Date: Wed, 28 Feb 2007 22:35:39 +0100 Subject: nsclient++ and nrpe commands Message-ID: <1160D06701B0154985D72DA43FE3D33AA7DEA2@srvcom02.master.dns> Hi, I'm trying to use nsclient++ on Windows Machines. Everything is working fine, instead of check_nrpe with checkEventLog :-( If I type: ./check_nrpe -H 172.16.101.13 -p 5666 -c checkeventlog -a file=System filter=in filter=all truncate=512 MaxWarn=1 MaxCrit=1 filter-eventType==info filter-generated=>10m on my shell, I get no output. If I try ./check_nrpe -H 172.16.101.13 -p 5666 -c checkeventlog -a file=System filter=in filter=all truncate=512 MaxWarn=1 MaxCrit=1 filter-eventType==info filter-generated=\>10m I'll get a error :Illegal Meta Character. Any ideas to this? Who is using nsclient++ with Eventlog Functionallity? regards Christian Mies -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Feb 28 23:17:29 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 1 Mar 2007 11:17:29 +1300 Subject: nsclient++ and nrpe commands In-Reply-To: <1160D06701B0154985D72DA43FE3D33AA7DEA2@srvcom02.master.dns> References: <1160D06701B0154985D72DA43FE3D33AA7DEA2@srvcom02.master.dns> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A289EF4E@UXCHANGE3.UoA.auckland.ac.nz> I believe that the 'Illegal metacharacter' error message is generated because your command contains a '>' character, which could potentially be someone trying to use shell redirect to break in to your machine. You will definitely need to escape or quote the > to prevent the shell interpreting it. I don't know if this error is being produced by check_nrpe, by nsclient++, or by Nagios itself. Certainly on our system, Nagios 1.4 does not check commands for illegal characters, and check_nrpe 2.5.2 does not either, so my guess is that nsclient++ is doing it. Make sure you have your parameters quoted and check nsclient++ for definitions of illegal characters... Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mies, Christian Sent: Thursday, 1 March 2007 10:36 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsclient++ and nrpe commands Hi, I'm trying to use nsclient++ on Windows Machines. Everything is working fine, instead of check_nrpe with checkEventLog :-( If I type: ./check_nrpe -H 172.16.101.13 -p 5666 -c checkeventlog -a file=System filter=in filter=all truncate=512 MaxWarn=1 MaxCrit=1 filter-eventType==info filter-generated=>10m on my shell, I get no output. If I try ./check_nrpe -H 172.16.101.13 -p 5666 -c checkeventlog -a file=System filter=in filter=all truncate=512 MaxWarn=1 MaxCrit=1 filter-eventType==info filter-generated=\>10m I'll get a error :Illegal Meta Character. Any ideas to this? Who is using nsclient++ with Eventlog Functionallity? regards Christian Mies -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null