Re: [Nagios-users] How to Schedule regular weekly downtime?
You could use a time exclusion in nagios. In your time periods, make a copy of 24x7 calling it something different and use the exclusion. Then, with your server/services, change the notification_period to that new time period to avoid receiving notifications during the reboot. example, if you want to exclude notifications from 2am-3am, you would do this: define timeperiod{ timeperiod_name windows-update alias windows-update sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday00:00-24:00 friday 00:00-24:00 saturday00:00-24:00 exclude reboot } define timeperiod{ timeperiod_name reboot alias reboot saturday02:00-03:00 } Nagios will still show host and service messages, but won't send notifications in that time period. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod From: Les Fenison [mailto:l...@deltatechnicalservices.com] Sent: Sat 11/21/2009 4:46 PM To: Nagios Users Mailinglist Subject: [Nagios-users] How to Schedule regular weekly downtime? I am monitoring a server that runs windows update and reboots every week on Saturday at the same time. Is there any way to schedule this downtime without having to go enter it every week manually? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios stopped checking most of my services!
Funny you mention this; I just had the same problem. I'm looking at my hosts and of 85 of them, 82 was last checked about 11pm Sunday and the next scheduled check is 11pm Monday (about 90 min from now). I also have a number of services that are not scheduled to be checked again until 11pm. Most host and service checks are 5 min; some are 15/60 min. I'm not using NagioSQL. For example, here is one of my free space checks that should run every 15 min. Current Status: OK (for 31d 8h 26m 23s) Status Information:DISK OK - free space: / 1532 MB (80% inode=95%): Performance Data:/=379MB;1813;1914;0;2015 Current Attempt:1/3 (HARD state) Last Check Time:11-01-2009 22:52:06 Check Type:ACTIVE Check Latency / Duration:0.147 / 0.057 seconds Next Scheduled Check: 11-02-2009 23:00:00 From: Les Fenison [mailto:l...@deltatechnicalservices.com] Sent: Monday, November 02, 2009 9:09 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios stopped checking most of my services! I had nagios working great. Checking 6 hosts and about 85 services. Then suddenly, all services on all hosts except one stopped checking. The next scheduled check is about 24 hours from the last check. I had been checking every 5 minutes. Restarting nagios didn't help.I am using a gui NagioSQL to edit my configuration files so I suspect it did something to me but I have no clue where to look except where I have already looked. What can cause nagios to just stop checking everything like that or to randomly switch to every 24 hours rather than the configured every 5 minutes? I am having to manually do force checks to get it to check. Here are some things I have checked... Hosts check_interval is 5, retry_interval is 1 Services check_interval is 10, retry_interval is 2 So where could Nagios be getting the idea that it is suppose to be every 24 hours? -- Les Fenison Delta Technical Services www.DeltaTechnicalServices.com l...@deltatechnicalservices.com 503-766-0076 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Using MySQL plugin for Nagios monitoring
I'm not sure what specific plugin you are referring to. Most of what I've seen are related to mysql performance, replication, etc. Are you looking for that or to only verify if mysql is running and accepting connections? If so, then you can avoid nsclient and use check_tcp for the port mysql is running on. example $ ./check_tcp -H 10.1.6.79 -p 3306 TCP OK - 0.000 second response time on port 3306|time=0.000438s;;;0.00;10.00 Please be more specific if this isn't what you're looking to accomplish. From: Sowmya Dass [mailto:sowmya.d...@gmail.com] Sent: Thursday, September 10, 2009 1:40 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Using MySQL plugin for Nagios monitoring Hello All, I've installed Nagios 3.2.0 on RHEL 4. I wanted to use the MySQL plugin to check the connectivity status of a SQL database hosted on a remote windows 2000 machine. Is it necessary to have NSClient++ installed on the remote windows machine for this plugin to work ? Currently, I dont have NSClient++ installed on remote windows machine. Would it be possible for me to use this plugin to check the connectivity to MYSQL database hosted on remote windows machine from the nagios server ? Please provide your views/suggestions on this. Thanks a lot ! Regards Sowmya Dass -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] nagios sent alert to wrong contact
I have a service defined in my config that should send warning, critical, recovery to david, who is the only contact defined for that service. If I go in nagios to configuration - services, it shows that service and the contacts as being david and me (though I'm not specifically defined). The service went to warning briefly and sent an email to me. After looking at the event log, it shows sending a notice to me, but not to david (yes the contacts are defined correctly). Why would that be? Running nagios 3.1.2 on centos 5.3 Seth Simmons Systems Administrator TNS Cymfony 125 Walnut Street, Suite 205 Watertown, MA 02472 Phone: 617.673.6024 | Fax: 617.924.6167 www.cymfony.com http://www.cymfony.com/ | blog: www.influence2.com http://www.influence2.com/ harnessing influence 2.0 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] trying to view comments shows process info
Under system, if I select comments, it shows process info instead. Other items show fine, except this one. For process info, the link is /cgi-bin/extinfo.cgi?type=0 For comments, the link is /cgi-bin/extinfo.cgi?type=3 Both links show process info. Running 3.1.2 on CentOS 5.3 Seth Simmons Systems Administrator TNS Cymfony 125 Walnut Street, Suite 205 Watertown, MA 02472 Phone: 617.673.6024 | Fax: 617.924.6167 www.cymfony.com http://www.cymfony.com/ | blog: www.influence2.com http://www.influence2.com/ harnessing influence 2.0 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Disable Acknowledgement Alerts?
When you acknowledge a problem, there is a checkbox to send notification. Uncheck that box and it won't send an ack alert. -Original Message- From: Sean Carolan [mailto:scaro...@gmail.com] Sent: Thursday, May 7, 2009 10:51 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Disable Acknowledgement Alerts? Some of our admins do not want to receive SMS alerts for service acknowledgments. I have searched high and low throughout the documentation and have not been able to find out how to do this. I see that there are some options like d u r f s for down, unreachable, recovery, flapping and send notifications for downtime. Where is the option to enable or disable ack alerts? Thanks Sean -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC4?
I haven't used that specifically, but I do use check_openmanage on all my dell boxes (perc 3/4/5/6) It works nicely and checks all hardware components, including physical/logical drive status. It will generate alerts if a physical drive fails and the volume becomes degraded; along with any related errors in the esm log, if you use this to monitor that also. http://folk.uio.no/trondham/software/check_openmanage.html -Original Message- From: Bo Gusman [mailto:ml...@bogusville.us] Sent: Thursday, April 30, 2009 2:01 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC4? Hi all. We've got two dell servers with PERC4 controllers running CentOS that nagios is monitoring quite nicely with the exception of the raid arrays. Is there anyone that has experience with check_sasraid_megaraid as found here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1474.html;d=1 Advice, an overview, or a recipe would be very helpful! Thanks! Bo -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] missing pnp graphs
The path is correct; I specified it manually when I compiled it. [r...@centos bin]# cat /usr/local/nagios/etc/pnp/config.php | grep rrdtool | grep -v # $conf['rrdtool'] = /usr/local/rrdtool/bin/rrdtool; [r...@centos bin]# ls rrdcgi rrdtool rrdupdate [r...@centos bin]# pwd /usr/local/rrdtool/bin -Original Message- From: Joerg Linge [mailto:pitchf...@ederdrom.de] Sent: Saturday, April 25, 2009 2:39 AM Cc: nagios Mailinglist Subject: Re: [Nagios-users] missing pnp graphs Seth Simmons schrieb: I have a test box to try pnp. For some reason, the graphs for performance data are showing with a red x. Hi Seth, please check path to rrdtool in etc/pnp/config.php $conf['rrdtool'] = /usr/bin/rrdtool; Joerg -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] CRITICAL - Socket timeout after 30 seconds (-) forcheck_http nagios plugin
Did you use -p in your command to specify the port? If you don't use -p it will default to 80. From: Kaushal Shriyan [mailto:kaushalshri...@gmail.com] Sent: Wednesday, April 15, 2009 1:06 PM To: nagios Mailinglist Subject: [Nagios-users] CRITICAL - Socket timeout after 30 seconds (-) forcheck_http nagios plugin Hi I have a weird issue here on a particular host for jboss service running on port . I am using check_http Nagios Plugin.I get the below notifications. CRITICAL - Socket timeout after 30 seconds (-) for check_http nagios plugin. I have increased the -t parameter value from 15 secs to 30 secs in check_http plugin.There is no issue of load too. Not able to figure out whats causing this issue. Please suggest. Thanks and Regards Kaushal -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] problem with check_yum
I think I found the problem. When I ran check_yum locally I forgot it was running as root which explains why it worked. Running locally as nagios caused the error. Apparently it isn't the plugin. If, as nagios, I run yum check-update it tells me I need to be root to access RHN repositories. Seems CentOS doesn't have that requirement with yum, which explains why it works on all of those systems. Running check_yum as nagios locally with sudo (nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_yum) for that one binary works. Problem now is, using the plugin with sudo through nrpe. When I try to run through nrpe it returns unable to read output. This is the command: command[check_yum_rhn]=/usr/bin/sudo /usr/local/nagios/libexec/check_yum been looking around and some have had the same problem; often fixed by adding the complete path to sudo, but it isn't working here. -Original Message- From: Seth Simmons Sent: Wednesday, April 15, 2009 12:43 PM To: Hari Sekhon Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] problem with check_yum I refreshed the checks for my CentOS systems and now it shows how many updates are there, which is nice. However, there is still an issue with my RH 5 system. If I use this check_yum plugin, it tells me in Nagios UNKNOWN: Security plugin for yum is required. I did install this on all my CentOS/RH 5 boxes, but this one thinks it isn't there. If I run the plugin locally, it works saying there are updates available. Very strange... -Original Message- From: Seth Simmons Sent: Wednesday, April 15, 2009 12:10 PM To: Hari Sekhon Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] problem with check_yum Thanks This version is more verbose and has more options available; I'll see how this works. -Original Message- From: Hari Sekhon [mailto:hpsek...@googlemail.com] Sent: Wednesday, April 15, 2009 9:56 AM To: Seth Simmons Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] problem with check_yum Seth Simmons wrote: I’m running nagios 3.0.6 and using check_yum on my red hat/centos boxes. Today I’ve had all my centos boxes show yum warnings about needed updates; found out centos 5.3 was released. I have one red hat 5.2 box. The problem is, check_yum within nagios shows ‘o/s is up to date’ as of last check (10 min ago). If I run it manually from the machine, it gives a warning that updates are needed (verified through yum and rhn). How can nagios be reporting that yum is ok when it isn’t? Fyi, see http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2577.html;d=1 for a better check_yum plugin. I wrote it, the one you are using really was too primitive I thought... I've not seen this behaviour with this plugin, but it gives better visibility on how many updates, whether they are security or just regular non-critical updates etc... There is also a note about update check reliability when running as a non root user. -h -- Hari Sekhon Always open to interesting opportunities http://www.linkedin.com/in/harisekhon -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent
Re: [Nagios-users] problem with check_yum
Thanks, that did it. Wasn't sure if it was OS or nrpe; i also had issues before when trying to do check_mail with sudo but now it's obvious what the issue is. -Original Message- From: Matthias Flacke [mailto:matthias.fla...@gmx.de] Sent: Wednesday, April 15, 2009 11:19 PM To: Seth Simmons Cc: nagios Mailinglist Subject: Re: [Nagios-users] problem with check_yum Seth Simmons wrote: I think I found the problem. When I ran check_yum locally I forgot it was running as root which explains why it worked. Running locally as nagios caused the error. Apparently it isn't the plugin. If, as nagios, I run yum check-update it tells me I need to be root to access RHN repositories. Seems CentOS doesn't have that requirement with yum, which explains why it works on all of those systems. Running check_yum as nagios locally with sudo (nagios ALL=NOPASSWD: /usr/local/nagios/libexec/check_yum) for that one binary works. Problem now is, using the plugin with sudo through nrpe. When I try to run through nrpe it returns unable to read output. This is the command: command[check_yum_rhn]=/usr/bin/sudo /usr/local/nagios/libexec/check_yum been looking around and some have had the same problem; often fixed by adding the complete path to sudo, but it isn't working here. It seems that your /etc/sudoers contains a line 'Defaults requiretty' If you comment it, also connections without a real tty are allowed to run sudo commands. -Matthias -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Centreon
Just wondering, why do you not recommend RH5 for centreon? -Original Message- From: Simon Finch [mailto:fin...@stgeorge.com.au] Sent: Friday, April 10, 2009 12:52 AM To: nagios-users@lists.sourceforge.net; nagios-users-requ...@lists.sourceforge.net Subject: Re: [Nagios-users] Centreon Chris, Centreon is a very powerful addition to Nagios, so good that I have managed to replace a large enterprise deployment of IBM Tivoli monitoring with Nagios, but only by using Centreon, Nagios by itself wouldn't have stood a chance. I started using it from version 2.0 beta 4 and the doco was terrible or non existent. I am currently using version 2.1 and the doco is still non existent, but the wiki / forum support more than makes up for it. If you compiled Nagios, nrpe, ndo and got it all working then you could easily get Centreon working. I work in IT for a moderately large bank in Australia who has recently been taken over by a larger bank. The new IT top dog is an American who used to run IT for a huge US aircraft manufacturer, he was impressed by what he saw in our NOC / war room. It was Nagios3 front ended by Centreon with management eye candy provided by NagVis, so I truly believe it when I say it's worth the effort because I am in the middle of doing it. If you want more details the feel free to ask as I found a number of traps in the beginning, eg, I don't recommend Redhat RHEL5 for the main server that runs Centreon, I switched to Ubuntu 8.04 , but I still use Redhat RHEL4 5 for the remote satellite Nagios servers. Rgds, Simon Simon Finch ESM Team Leader St George Bank ** * IMPORTANT INFORMATION* This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ** -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] problem with check_yum
I'm running nagios 3.0.6 and using check_yum on my red hat/centos boxes. Today I've had all my centos boxes show yum warnings about needed updates; found out centos 5.3 was released. I have one red hat 5.2 box. The problem is, check_yum within nagios shows 'o/s is up to date' as of last check (10 min ago). If I run it manually from the machine, it gives a warning that updates are needed (verified through yum and rhn). How can nagios be reporting that yum is ok when it isn't? Seth Simmons Systems Administrator TNS Cymfony 125 Walnut Street, Suite 205 Watertown, MA 02472 Phone: 617.673.6024 | Fax: 617.924.6167 www.cymfony.com http://www.cymfony.com/ | blog: www.influence2.com http://www.influence2.com/ harnessing influence 2.0 image001.gif-- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check HTTP status
use -u If you wanted to see if mysite.org/home/index.htm could be retrieved, your command line would be.. check_http -h mysite.org -u /home/index.htm From: joshua pereira [mailto:jmpereir...@yahoo.com] Sent: Saturday, March 28, 2009 6:32 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] check HTTP status Hi, Could anywan help in guiding me in how to use nagios to check if a particular webpage has gone down ? Apreciate the help regards Joshua New Email names for you! http://sg.rd.yahoo.com/aa/mail/domainchoice/mail/signature/*http:/mail. promotions.yahoo.com/newdomains/aa/ Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does! -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Request for a list users.
http://www.nagios.org/userprofiles/search.php?search=1 From: Roberson, John [mailto:j.rober...@tees.ac.uk] Sent: Tuesday, March 3, 2009 12:36 PM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] Request for a list users. Hello Nagios Users, I am hoping someone can help. This is not a technical problem as such but just a general request. I am introducing Nagios to my University as a monitoring solution, and I would like be able to list a few companies/academic establishments who are using Nagios to monitor their networks in a forthcoming presentation. Does such a list exist, and if so please point me to the URL. Kind Regards, John Roberson -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_http question
In nagios, go to view config - commands It will show the exact command line being used for the host or service check From: Andrew Davis [mailto:ncc...@gmail.com] Sent: Friday, February 27, 2009 2:28 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_http question I've enabled check_http for quite a few hosts, including testing for custom ports, URL's, and sites needing authentication. So far, so good. However, one issue in the Nagios interface is bothering me. If I drill in on a host, then the HTTP link for the test, it only shows OK. It DOES NOT show the full URL that was tested. For example, for one of my hosts, I had to test for a non-standard port, SSL, a directory structure, and authentication (-I $HOSTNAME -p 8099 -u /dir/dir/dir/file.php -a user:password. All worked in the sense that the test returned an OK status, but I have no visual way of seeing the tested URL within Nagios. In contrast, doing a similar test in BB (which I'm migrating away from), shows the full URL that was tested. Am I simply missing something here? Is there a way of seeing the full URL/string that was tested with the check_http command? -- Andrew Davis -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] using NPRE to monitor pbs_mom. Error: NRPE: Unableto read output
The filename you specified is check_pbsmom.sh though your command shows check_pbsmom From: Rahul Nabar [mailto:rpna...@gmail.com] Sent: Thursday, January 22, 2009 4:05 PM To: Nagios-Users Mailinglist Subject: [Nagios-users] using NPRE to monitor pbs_mom. Error: NRPE: Unableto read output I'm a bit confused about how exactly to add stuff with NRPE to monitor local services on my remote hosts. I got the basics out of the way and I can already monitor the easy stuff like users, procs, swap etc. More ambitiously, I wanted to monitor the status of my pbs_mom (Torque Scheduler daemon) on each node in my cluster. I found the script check_pbsmom.sh on the NagiosExchange (snippet below) and copied it to my /usr/local/nagios/libexec. Then I added this line to my nrpe.cfg command[check_pbsmom]=/usr/local/nagios/libexec/check_pbsmom But then I don't seem to have much success. remotehost/usr/local/nagios/libexec/check_nrpe -H localhost -c check_pbsmom NRPE: Unable to read output If I just run the shell script though it seems to be working /usr/local/nagios/libexec/check_pbsmom.sh PBS_MOM OK: Daemon is running. Host is listening. What am I doing wrong here! I'm still a bit confused about the interaction between command.cfg on the monitoring machine and the nrpe.cfg on the remote host. Any advice? -- Rahul #!/bin/bash # SYNOPSIS # check_pbsmom [TCP port] [TCP port] ... # # DESCRIPTION # This NAGIOS plugin checks whether: 1) pbs_mom is running and # 2) the host is listening on the given port(s). If no port # number is specified TCP ports 15002 and 15003 are checked. # # AUTHOR # wayne.mall...@jcu.edu.au OK=0 WARN=1 CRITICAL=2 PATH=/bin:/sbin:/usr/bin:/usr/sbin # Default listening ports are TCP 15004 and 42559. if [ $# -lt 1 ] ; then list=15002 15003 else list=$* fi if [ `ps -C pbs_mom | wc -l` -lt 2 ]; then echo PBS_MOM CRITICAL: Daemon is NOT running! exit $CRITICAL else for port in $list ; do if [ `netstat -ln | grep -E tcp.*:$port | wc -l` -lt 1 ]; then echo PBS_MOM CRITICAL: Host is NOT listening on TCP port $port! exit $CRITICAL fi done echo PBS_MOM OK: Daemon is running. Host is listening. exit $OK fi -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Really dumb question...Linux Client?
NRPE http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe From: Marty Nelson [mailto:mnel...@transdyn.com] Sent: Wednesday, January 21, 2009 3:09 PM To: Nagios Users Mailinglist Subject: [Nagios-users] Really dumb question...Linux Client? Hi all. I have what's probably as simple of a question as there is. I have Nagios running on a dedicated machine, and so far it's monitoring all of my Windows server, switches and printers. What I have yet to figure out is how to monitor my Linux servers. Currently it's monitoring itself, but that's about the extent of the Linux monitoring ;p I feel like I've looked all over the web for an answer and have yet to come across one, so I'm hoping you kind folks can help. I'm a Linux noob, but was able to get Nagios running and monitoring what it's currently doing, but could really use some help with the Linux monitoring side of things. Any help would be greatly appreciated. -Marty -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] problem check_dell plugin
I'm having a problem using the dell plugin (from http://www.itefix.no/i2/check_dell, nothing useful in the forum) If I run the plugin (as nagios) on the box, it works fine. $ perl check_dell.pl --storage DELL STORAGE OK - Controller battery 0:ok Controller perc 5/i integrated:ok Enclosure backplane:ok virtual disk 0:ok However, through nagios, it shows (null) and I can't figure out what I'm doing wrong. Here are the commands I have: define command{ command_namecheck_chassis command_line/usr/bin/perl /usr/local/nagios/libexec/check_dell.pl --chassis } define command{ command_namecheck_storage command_line/usr/bin/perl /usr/local/nagios/libexec/check_dell.pl --storage } -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Critical - Socket Timeout After 10 Seconds
use -t 20 to increase the timeout to 20 seconds (or whatever you want); most plug-ins have that switch example /usr/local/nagios/libexec/check_http -H myserver -p 80 -t 20 do a --help for verbose switch usage (example /usr/local/nagios/libexec/check_http --help) From: Frank M [mailto:frankm...@gmail.com] Sent: Tuesday, January 6, 2009 1:43 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Critical - Socket Timeout After 10 Seconds I am running Nagios 3.0.6 with Nagios Plugins 1.4.13 on Suse Linux 11.1. Windows servers have NSClient++ 0.2.7 Every few minutes Nagios detects that a servers/service is down because it times out and in the status information shows: Critical - Socket Timeout After 10 Seconds. Once it redoes its check on those particular servers/services it shows that it is all good and other servers/services show Critical - Socket Timeout After 10 Seconds. I looked for a place to change the timeout from 10 seconds to 20 but could not find one. Any help would be appreciated. Thank you, Frank -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] dec 31 1969 in event log
Changed my nagios box to use pool.ntp.org and no difference [12-30-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server VSS Writer;OK;HARD;1;SQLWriter: Started [12-30-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server Browser;OK;HARD;1;SQLBrowser: Started December 31, 1969 19:00 [12-31-1969 19:00:00] December 30, 2008 00:00 [12-30-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server;OK;HARD;1;MSSQL$SQLEXPRESS: Started [12-30-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;NSClient++ Version;OK;HARD;1;NSClient++ 0.3.0.1 RC 2007-11-28 -Original Message- From: Hugo van der Kooij [mailto:hvdko...@vanderkooij.org] Sent: Monday, December 29, 2008 12:36 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] dec 31 1969 in event log -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seth Simmons wrote: I have a cron job that runs at 6am for a backup of all nagios files. Ntp is configured to sync with our windows domain controllers (at the same location). Just for fun. Sync to external NTP servers and see if the problem remains. Hugo. BTW: The typical windows solution is to reboot. My typical response to windows is to grab a Linux CD and reboot from that CD. - -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklZCmgACgkQBvzDRVjxmYFKTACdHG1J38OdJV3g2BVGf935cb5U J9QAnj9wx6WmjCX+6Rbxg79ug0BjW40V =q5L5 -END PGP SIGNATURE- -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] dec 31 1969 in event log
No, I don't have time issues. I do have ntp configured for local time server but not running through cron. -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Sunday, December 28, 2008 11:21 PM To: Nagios-Users Mailinglist Subject: Re: [Nagios-users] dec 31 1969 in event log On Dec 28, 2008, at 4:23 AM, Seth Simmons wrote: Every day in the event log at midnight it shows an event in the list of service states at midnight dated 12/31/1969 The log looks something like this: [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA1;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA2;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB1;OK December 31, 1969 19:00 [12-31-1969 19:00:00] Do you have time problems on this machine? Does it go backwards or need to be adjusted periodically? Do you have a cron job that re-syncs time via NTP at midnight? -- Marc -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] dec 31 1969 in event log
I have a cron job that runs at 6am for a backup of all nagios files. Ntp is configured to sync with our windows domain controllers (at the same location). Just looked at the event log, it was there this morning...very strange [12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server VSS Writer;OK;HARD;1;SQLWriter: Started [12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server Browser;OK;HARD;1;SQLBrowser: Started December 31, 1969 19:00 [12-31-1969 19:00:00] December 29, 2008 00:00 [12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server;OK;HARD;1;MSSQL$SQLEXPRESS: Started [12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;NSClient++ Version;OK;HARD;1;NSClient++ 0.3.0.1 RC 2007-11-28 -Original Message- From: Hendrik Baecker [mailto:andu...@process-zero.de] Sent: Monday, December 29, 2008 12:02 AM To: Nagios Mailinglist Subject: Re: [Nagios-users] dec 31 1969 in event log Hi, While it's in a timely manner that occurrs every midnight, please let us know your cron config and perhaps your timeserver configuration. Regards, Hendrik Am 28.12.2008 um 22:39 schrieb Seth Simmons ssimm...@cymfony.com: It's nagios 3.06 What configuration do you want to know? I'm running on fedora 9 monitoring 102 hosts, 1441 services -Original Message- From: Hugo van der Kooij [mailto:hvdko...@vanderkooij.org] Sent: Sunday, December 28, 2008 4:20 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] dec 31 1969 in event log -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seth Simmons wrote: Every day in the event log at midnight it shows an event in the list of service states at midnight dated 12/31/1969 The log looks something like this: [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA1;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA2;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB1;OK --- - December 31, 1969 19:00 --- - [12-31-1969 19:00:00] --- - December 28, 2008 00:00 --- - [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB2;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB3;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverC;serviceC1;OK To quote mr Spock (pointy ears): Fascinating. Given your timezone it looks like something with a unixdate drops to 0 shortly. That would account for the exact date/time stamp. (unix epoch - 5 hours) Just totally unclear why it pops up. Just so we know. Is this with Nagios version 1.0? And I feel some people might like to hear the config from you as well. Hugo. - -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklX7WoACgkQBvzDRVjxmYGxbACgsFKnzmsFh5+qoHIahIAzEVj7 yyQAn0u2Ye0EKmiSH+hUbKkWRrsWGhUr =h3Dl -END PGP SIGNATURE- --- - -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --- --- --- - ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https
[Nagios-users] dec 31 1969 in event log
Every day in the event log at midnight it shows an event in the list of service states at midnight dated 12/31/1969 The log looks something like this: [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA1;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA2;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB1;OK December 31, 1969 19:00 [12-31-1969 19:00:00] December 28, 2008 00:00 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB2;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB3;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverC;serviceC1;OK I found nothing in the faq and a search of the mailing list showed others having the same issue but no solution. Anyone ideas as to why this happens? -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] dec 31 1969 in event log
It's nagios 3.06 What configuration do you want to know? I'm running on fedora 9 monitoring 102 hosts, 1441 services -Original Message- From: Hugo van der Kooij [mailto:hvdko...@vanderkooij.org] Sent: Sunday, December 28, 2008 4:20 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] dec 31 1969 in event log -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seth Simmons wrote: Every day in the event log at midnight it shows an event in the list of service states at midnight dated 12/31/1969 The log looks something like this: [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA1;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA2;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB1;OK December 31, 1969 19:00 [12-31-1969 19:00:00] December 28, 2008 00:00 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB2;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB3;OK [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverC;serviceC1;OK To quote mr Spock (pointy ears): Fascinating. Given your timezone it looks like something with a unixdate drops to 0 shortly. That would account for the exact date/time stamp. (unix epoch - 5 hours) Just totally unclear why it pops up. Just so we know. Is this with Nagios version 1.0? And I feel some people might like to hear the config from you as well. Hugo. - -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iEYEARECAAYFAklX7WoACgkQBvzDRVjxmYGxbACgsFKnzmsFh5+qoHIahIAzEVj7 yyQAn0u2Ye0EKmiSH+hUbKkWRrsWGhUr =h3Dl -END PGP SIGNATURE- -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Admin pages
I'm referring to the service you're having an issue with that is still sending to nagiosadmin. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Friday, December 19, 2008 10:35 AM To: Seth Simmons; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Admin pages To answer your questions. Yes, nagiosadmin is not part of the linux-admins group. I did restart nagios after I made the change. And yes, I have a contact group with no members. The contact list for admins doesn't exist. I just realized that as I was searching my config files. Which service definition did you want to see (you didn't specify which one)? Thanks for all your help! - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-users@lists.sourceforge.net Sent: Thursday, December 18, 2008 2:19:16 PM Subject: RE: [Nagios-users] Nagios Admin pages nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the generic-service service and to a linux-server service as below. I'm still not sure as to why this is misbehaving. define service{ namegeneric-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period24x7; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options
Re: [Nagios-users] Nagios Admin pages
Going back to your original question, 'the Windows guys get some that I don't need to get' which tells me you don't want nagiosadmin to receive messages related to windows hosts/services. nagiosadmin is part of the admins group. In the w3svc service, it doesn't have contacts defined so it's using from generic-service - which has admins as a contact group so it would be sending w3svc notices to nagiosadmin. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Friday, December 19, 2008 12:39 PM To: Seth Simmons; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Admin pages Well, the services that I'm having an issue with are a number of services with our Windows systems. Heres' a sample: define service{ use generic-service host_name engweb2,rexis-dev,osoft-fin-test,engweb1,plmsrv2,radius1,radius2,osoft-q a-test service_description W3SVC check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC } The corresponding host definition for one of the hosts looks like this: define host{ use windows-server ; Inherit default values from a template host_name engweb2 ; The name we're giving to this host alias Engineering Web Dev Server ; A longer name associated with the host address 172.20.9.138; IP address of the host notifications_enabled 1 contactsjsmith,jjones } Here's the Windows server template: define host{ namewindows-server ; The name of this host template use generic-host; Inherit default values from the generic-host template check_period24x7; By default, Windows servers are monitored round the clock check_interval 5 ; Actively check the server every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each server 10 times (max) check_command check-host-alive; Default command to check if servers are alive notification_period 24x7; Send notification out at any time - day or night notification_interval 30 ; Resend notifications every 30 minutes notification_optionsd,r ; Only send notifications for specific host states contact_groups windows-admins ; Notifications get sent to the windows-admins by default hostgroups windows-servers ; Host groups that Windows servers should be a member of register0 ; DONT REGISTER THIS - ITS JUST A TEMPLATE } - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-users@lists.sourceforge.net Sent: Friday, December 19, 2008 8:32:47 AM Subject: RE: [Nagios-users] Nagios Admin pages I'm referring to the service you're having an issue with that is still sending to nagiosadmin. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Friday, December 19, 2008 10:35 AM To: Seth Simmons; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Admin pages To answer your questions. Yes, nagiosadmin is not part of the linux-admins group. I did restart nagios after I made the change. And yes, I have a contact group with no members. The contact list for admins doesn't exist. I just realized that as I was searching my config files. Which service definition did you want to see (you didn't specify which one)? Thanks for all your help! - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-users@lists.sourceforge.net Sent: Thursday, December 18, 2008 2:19:16 PM Subject: RE: [Nagios-users] Nagios Admin pages nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users
Re: [Nagios-users] Nagios Admin pages
nagiosadmin is not part of the linux-admins group? Did you reload/restart nagios after you made that change? You have a contact group here with no members - or is it defined in the contact itself? Can you paste the contact list along with the service definition? Somewhere nagiosadmin is defined in one way or another. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Thursday, December 18, 2008 4:22 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I changed my linux-server server definition to linux-admins, not admins. Here's the definition I put in for the linux admins: define contactgroup{ contactgroup_name linux-admins alias linux-admins } It's still sending me the notifications. Where else can I look? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Wednesday, December 17, 2008 2:31:20 PM Subject: RE: [Nagios-users] Nagios Admin pages There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the generic-service service and to a linux-server service as below. I'm still not sure as to why this is misbehaving. define service{ namegeneric-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period24x7; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_optionsw,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7; Notifications can be sent out at any time register0 } define host{ namelinux-server; The name of this host template use generic-host; This template inherits other values from the generic-host template check_period24x7; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute
Re: [Nagios-users] Nagios Admin pages
Does the service/host specify 'contact_groups admins' in it? -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_namenagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin; Full name of user email gl...@sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. define host{ namegeneric-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 notification_period24x7 register0 } define host{ nameredhatserver usegeneric-host notifications_enabled0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the generic service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions inherit from the generic definition, it seems that the generic service is the one that gets used, and has priority, not the inherited one. Is that correct? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being
Re: [Nagios-users] Nagios Admin pages
Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. define host{ namegeneric-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 notification_period24x7 register0 } define host{ nameredhatserver usegeneric-host notifications_enabled0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the generic service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions inherit from the generic definition, it seems that the generic service is the one that gets used, and has priority, not the inherited one. Is that correct? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Admin pages
No...the service definition itself. define service{ use local-service hostgroup_name Linux service_description SSH check_command check_ssh max_check_attempts 2 check_interval 10 retry_interval 5 check_period24x7 notification_interval 60 first_notification_delay0 notification_period 24x7 contact_groups admins notification_optionsc,w,r } -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 3:34 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Like this? define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } Please explain. - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Wednesday, December 17, 2008 11:35:53 AM Subject: RE: [Nagios-users] Nagios Admin pages Does the service/host specify 'contact_groups admins' in it? -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 2:28 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages The only two definitions that I have for nagiosadmin are these: define contact{ contact_namenagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin; Full name of user email gl...@sbcglobal.net } and define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Wednesday, December 17, 2008 9:07:07 AM Subject: RE: [Nagios-users] Nagios Admin pages Does your service/host checks have nagiosadmin either defined as a contact or part of a contact group? -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 10:24 AM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, I understand it better now. Thanks. But I'm still getting the notifications as nagiosadmin. Any more ideas? grant - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 11:01:23 AM Subject: RE: [Nagios-users] Nagios Admin pages It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. define host{ namegeneric-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 notification_period24x7 register0 } define host{ nameredhatserver usegeneric-host notifications_enabled0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the generic service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions inherit from the generic definition, it seems that the generic service is the one that gets used, and has
Re: [Nagios-users] Nagios Admin pages
There's your answer. nagiosadmin is part of the admins group; the host definition has admins to be notified every 2 hours during workinghours time period. The service definition has admins to be notified every hour. If you are looking to have someone else get notifications, you need to create a separate contact for that user and define your hosts/services accordingly to notify that user. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Wednesday, December 17, 2008 5:21 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Ok, admins is assigned to the generic-service service and to a linux-server service as below. I'm still not sure as to why this is misbehaving. define service{ namegeneric-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period24x7; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 10 ; Check the service every 10 minutes under normal conditions retry_check_interval2 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_optionsw,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7; Notifications can be sent out at any time register0 } define host{ namelinux-server; The name of this host template use generic-host; This template inherits other values from the generic-host template check_period24x7; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-host-alive ; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_optionsd,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register0 } - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users
Re: [Nagios-users] no default contacts or contactgroup defined
define them http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact -Original Message- From: Bram Gillemon - Openminds [mailto:b...@openminds.be] Sent: Wednesday, December 17, 2008 7:14 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] no default contacts or contactgroup defined Hi, I recently installed nagios3 because my old server still runs nagios1.3. I created a new directory tree so it's possible to add new servers quickly, My directory tree looks like this: - conf.d - generic_service.cfg - this file contains my generic- service where all my other services are build on. - services - service_http.cfg - this file contains my services templates with the register 0 option. - client1 - services - service_http.cfg - in this file i define my contact_groups - hostgroups - these are all default nagios configs - hosts - these are all default nagios configs I posted my test configs on: http://pastie.org/341891 The problem i have is that nagios gives me a warning that i don't have a default contact or contactgroup defined. Kind Regards, Bram Gillemon -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Admin pages
start here http://nagios.sourceforge.net/docs/3_0/notifications.html -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Admin pages
It's the other way around (assuming I'm understanding the question correctly). If you have a host defined and you tell it to use the generic-host template and define a different parameter for that specific host, that takes precedence. For example, here is your generic-host template and a defined host. define host{ namegeneric-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 failure_prediction_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 notification_period 24x7 register0 } define host{ nameredhatserver use generic-host notifications_enabled 0 } With the above host, it has notifications disabled; if that wasn't defined for that host, it would use the value in the template. Same applies for services. -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 1:32 PM To: Seth Simmons; nagios-user Mailinglist Subject: Re: [Nagios-users] Nagios Admin pages Hi Seth, Thanks for the link. I've looked more closely at the definitions, and it looks like since I have the generic service that I'm using that comes stalk with Nagios, that's what I'm using. That's what I'm guessing anyway. This begets a question. If the other service definitions inherit from the generic definition, it seems that the generic service is the one that gets used, and has priority, not the inherited one. Is that correct? - Original Message From: Seth Simmons ssimm...@cymfony.com To: Grant Lowe gl...@sbcglobal.net; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Tuesday, December 16, 2008 9:08:21 AM Subject: RE: [Nagios-users] Nagios Admin pages start here http://nagios.sourceforge.net/docs/3_0/notifications.html -Original Message- From: Grant Lowe [mailto:gl...@sbcglobal.net] Sent: Tuesday, December 16, 2008 11:51 AM To: nagios-user Mailinglist Subject: [Nagios-users] Nagios Admin pages Hi All, How do I get nagiosadmin to stop receiving notifications that the other admins get? For example, the Windows guys get some that I don't need to get. Thanks for any pointers. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] WG: Can't force active check in Nagios 3.0.6?
That's interesting...i can't simulate the problem. I got 3.0.6 and I took a service that had the next scheduled check in 12 min, did a force check on it and it did the check within a few seconds. -Original Message- From: Thomas Borger [mailto:thomas.bor...@esg.de] Sent: Friday, December 12, 2008 12:39 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] WG: Can't force active check in Nagios 3.0.6? Hi, I have find out the same problem ago three days and matthias eble on the devel mailing list too. http://article.gmane.org/gmane.network.nagios.devel/5848 I've patched my cmd.c and a make cmd.cgi rebuild my cmd.cgi. After the copy of the new cmd.cgi to [nagiospath]/sbin force check was function as expected and like in version prior to 3.0.6. best regards Thomas Borger - Weitergeleitet von Thomas Borger/ESG/DE am 12.12.2008 06:34 - Frost, Mark {PBG} mark.fro...@pepsi.com schrieb am 11.12.2008 22:41:49: Is it just my imagination or can one not force an active check with Nagios 3.0.6 anymore? I was running 3.0.2 (and earlier versions) and never had a problem with this. I typically use this to validate a new check I've setup without having to wait until the next time the passive check is supposed to run. Now if I click Re-schedule the next check of this service in the Service Commands are of the web interface, it accepts it (I always hit the force check checkbox) and I see the command request in the logs, yet it never does it. It just keeps waiting until the next passive check runs and it ignores my request. At first I thought I just wasn't close enough attention, but now I'm quite certain this is happening since we went to 3.0.6. Thanks Mark -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschränkter Haftung Sitz/Registered Office: München Handelsregister/Commercial Register: Registergericht München, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Geschäftsführung/CEO: Dipl.-Math. Gerhard Schempp, Geschäftsführer/Managing Director: Dipl.-Kfm. Götz Graichen -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Hai
Start with this first. http://nagios.sourceforge.net/docs/3_0/toc.html From: ramesh ramesh [mailto:studyram...@gmail.com] Sent: Friday, December 12, 2008 3:28 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Hai i want to configure email notification on my nagios 3.0 pleasee give me the step by step configuration thanks -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] WG: Can't force active check in Nagios 3.0.6?
ok that could be the difference; previous postings showed active checks. -Original Message- From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com] Sent: Friday, December 12, 2008 9:48 AM To: Seth Simmons; Thomas Borger Cc: nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] WG: Can't force active check in Nagios 3.0.6? -Original Message- From: Seth Simmons [mailto:ssimm...@cymfony.com] Sent: Friday, December 12, 2008 8:55 AM To: Thomas Borger; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] WG: Can't force active check in Nagios 3.0.6? That's interesting...i can't simulate the problem. I got 3.0.6 and I took a service that had the next scheduled check in 12 min, did a force check on it and it did the check within a few seconds. I don't know if this is the key or not, but these are passive service checks that come in to a central server. So ordinarily, the check result shows PASSIVE. I can reschedule an immediate check to make the central server run the check (ACTIVE) and get results more quickly. I can't do that with 3.0.6. It just sits there until the next passive result comes in. Anyway, looks like this is a known bug. Mark -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] question about hostgroups
So you have ServerA ServerB and ServerC as part of Hostgroup1. You have services defined for the Hostgroup, but you want to exclude ServerC from that one service. In the service command, exclude ServerC by putting a ! in front of it. Example: define service{ use local-service hostgroup_name Hostgroup1 host_name !ServerC service_description SSH check_command check_ssh max_check_attempts2 check_interval 10 retry_interval 5 check_period 24x7 notification_interval 60 first_notification_delay 0 notification_period24x7 contacts nagiosadmin notification_options c,w,r } All hosts in Hostgroup1 get checked for ssh except ServerC. From: Arnar Þórarinsson [mailto:a...@flugstodir.is] Sent: Friday, December 12, 2008 12:51 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] question about hostgroups hi all, Say I have a hostgroup defined that has serveral services attached to it, like a typical linux server so its easy to add a server, just assigned it to this hostgroup and all the basic stuff come in automaticly. Now lets say that I'm adding a new host and I want him to have all the same services as every other linux server except for one services, can I somehow tell nagios not to apply that services check to this host ? Thanks in advance for any help you may provide. Cheers Arnar Thessi tolvupostur og vidhengi hans geta innihaldid trunadarupplysingar og er eingongu aetladur theim sem hann er stiladur a. Oheimil medferd tolvuposts thessa og vidhengja hans getur vardad skadabota- og refsiabyrgd samkvaemt logum um fjarskipti. Efni tolvupostsins og vidhengja er a abyrgd sendanda ef thad tengist ekki starfsemi Flugstoda ohf. Ef Thu ert ekki skradur mottakandi og hefur fengid skeytid vegna mistaka, vinsamlegast hafdu strax samband vid sendanda. This e-mail and its attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] statusmap.cgi is missing
Check for missing libraries. http://www.nagios.org/faqs/viewfaq.php?faq_id=55expand=trueshowdesc=fa lse -Original Message- From: Aldo Foot [mailto:luni...@gmail.com] Sent: Friday, December 12, 2008 2:49 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] statusmap.cgi is missing Hello nagios users: I'm new to nagios and I trying to get some info. I first tried installing nagios-3.0.2 and for the most part it worked fine. Then, I compiled nagios v3.0.6 and the statusmap.cgi file does not get installed. Why? When I click on the Status Map on the web page, I get an error: The requested URL /nagios/cgi-bin/statusmap.cgi was not found on this server. I used these command to compile/install: $ ./configure --with-command-group=nagcmd $ make all # make install # make install-init # make install-config # make install-commandmode # make install-webconf I installed the plugins as well, $ ./configure --with-nagios-user=nagios --with-nagios-group=nagios $ make # make install This is a very basic install to start with, nothing fancy, so what's with status map missing file? ~af -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Can't force active check in Nagios 3.0.6?
I can't solve your problem but I just did what you did - force an active check on a service - and it works fine on 3.0.6 -Original Message- From: Frost, Mark {PBG} [mailto:mark.fro...@pepsi.com] Sent: Thursday, December 11, 2008 4:42 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Can't force active check in Nagios 3.0.6? Is it just my imagination or can one not force an active check with Nagios 3.0.6 anymore? I was running 3.0.2 (and earlier versions) and never had a problem with this. I typically use this to validate a new check I've setup without having to wait until the next time the passive check is supposed to run. Now if I click Re-schedule the next check of this service in the Service Commands are of the web interface, it accepts it (I always hit the force check checkbox) and I see the command request in the logs, yet it never does it. It just keeps waiting until the next passive check runs and it ignores my request. At first I thought I just wasn't close enough attention, but now I'm quite certain this is happening since we went to 3.0.6. Thanks Mark -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix. com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Migrating nagios from one server to other
You should be fine installing Nagios on the new box and copying your config files - assuming the path stays the same. Everything under /usr/local/nagios/etc should suffice. I've done it before and it worked fine on the new box. If the path to the config files change, you would need to change it in nagios.cfg else nothing will work. From: XYZ XYZ [mailto:[EMAIL PROTECTED] Sent: Monday, December 8, 2008 5:24 PM To: Nagios Mailinglist Subject: [Nagios-users] Migrating nagios from one server to other Hi I am in process of migrating nagios from one server to other server(same OS but lower version to higher version). Can anyone suggest me what are the steps to be followed to get same look and feel. Thanks -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Starting nagios
http://www.nagios.org/faqs/viewfaq.php?faq_id=123 From: XYZ XYZ [mailto:[EMAIL PROTECTED] Sent: Friday, December 5, 2008 11:12 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Starting nagios Hi When i restart my old nagios it is showing 4 processes, when i do grep looks like below XXX 259021 2 Dec01 ?00:30:22 /usr/local/nagios/bin/nagios -d XXX 25903 25902 0 Dec01 ?00:00:00 /usr/local/nagios/bin/nagios -d XXX 25910 25903 0 Dec01 ?00:00:01 /usr/local/nagios/bin/nagios -d XXX 25919 25903 0 Dec01 ?00:00:07 /usr/local/nagios/bin/nagios -d new nagios which i installed recently, showing one process, looks like below xxx1224 1 0 Nov02 ?00:00:11 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg any idea what is the difference. Thanks -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Errors after installation
That tells me it isn't using commands.cfg (assuming you haven't changed that) if it is complaining the command isn't defined anywhere. Try reading the documentation. I spent hours going through it, teaching myself how Nagios operates and refrained from posting here until I had an issue that was out of the ordinary (i.e. beyond the scope of the documentation). Even 9 months later I'm still tweaking different services to make things work better. http://nagios.sourceforge.net/docs/3_0/toc.html It will take a while to understand not only how Nagios works, but how to use all the available options and how it can fit in with your environment and needs. -Original Message- From: Gary Hartl [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 3:22 PM To: Nagios-Users Subject: [Nagios-users] Errors after installation Hi all; I've installed Nagaios 3.0.3 on a FreeBSD system (6.0-release) sparc64 Installed from freebsd package tree. I copied the sample configs to be used as normal configs and i get the following errors when i try tofire it up (during the preflight) Error: Service check command 'check_local_load' specified in service 'Current Load' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_users' specified in service 'Current Users' for host 'localhost' not defined anywhere! Error: Service check command 'check_http' specified in service 'HTTP' for host 'localhost' not defined anywhere! Error: Service check command 'check_ping' specified in service 'PING' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_disk' specified in service 'Root Partition' for host 'localhost' not defined anywhere! Error: Service check command 'check_ssh' specified in service 'SSH' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_swap' specified in service 'Swap Usage' for host 'localhost' not defined anywhere! Error: Service check command 'check_local_procs' specified in service 'Total Processes' for host 'localhost' not defined anywhere! I'm assuming that my localhost.cfg isn't configured correctly but I'm new to nagios so I couldn't tell ya to begin with. I have included a copy of my localhost.cfg file below. All help appreciated. Gary Localhost.cfg ### ### # # HOST DEFINITION # ### ### # Define a host for the local machine define host{ use freebsd-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the freebsd-server host template definition. host_name localhost alias localhost address 127.0.0.1 } ### ### # # HOST GROUP DEFINITION # ### ### # Define an optional hostgroup for FreeBSD machines define hostgroup{ hostgroup_name freebsd-servers ; The name of the hostgroup alias FreeBSD Servers ; Long name of the group members localhost ; Comma separated list of hosts that belong to this group } ### ### # # SERVICE DEFINITIONS # ### ### # Define a service to ping the local machine define service{ use local-service ; Name of service template to use host_name localhost service_description PING check_command check_ping!100.0,20%!500.0,60% } # Define a service to check the disk space of the root partition # on the local machine. Warning if 20% free, critical if # 10% free space on partition. define service{ use local-service ; Name of service template to use host_name localhost service_description Root Partition check_command check_local_disk!20%!10%!/ } # Define a
Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005
Keep in mind you will still have an issue if you keep the $ In the template you would use: check_nt_service!MSSQL$$MICROSOFTSSEE I had to make that change in my template else the check will fail as MSSQL$MICROSOFTSSEE -Original Message- From: Martinez, Eduardo [BSD] - ADM [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 3:45 PM To: Mattias Ryrlén Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005 I will give this a shot and let you know how it goes. -Eduardo -Original Message- From: Mattias Ryrlén [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 1:51 PM To: Martinez, Eduardo [BSD] - ADM Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005 Hi Eduardo, Martinez, Eduardo [BSD] - ADM skrev: Any assistance would be appreciated. I am having issues monitoring this service in Nagios via nsclient on a windows 2003 server. On the commandline this works great: check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' It report that all services and up and running. However, in the template: define service{ use template host_name hostname check_command check_nt_service!'MSSQL$MICROSOFT##SSEE' service_descriptionMicrosoft SQL Express 2005 } This reports WARNING 11-25-2008 13:04:30 0d 0h 1m 1s 1/5 MSSQL$MICROSOFT##SSEE$: Unknown I've been searching through forums but haven't found this. I'm sure someone has run into this issue. What version of NSclient++ do you have, i found a bug in NSClient++ that it can't handle # correct in servicenames. You can rename a service if you want to remove the # Chars. Regedit - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services rename the folder named MSSQL$MICROSOFT#SSEE to eg MSSQL$MICROSOFT_SSEE reboot the _windows_ machine and your service is now named MSSQL$MICROSOFT_SSEE Any help would be appreciated. Thanks, -Eddie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Vänliga hälsningar / Best Regards Mattias Ryrlén __ op5 AB Första Långgatan 19 SE-413 27 Göteborg Mobil: +46 735-17 70 99 Support: +46 31-774 09 24 www.op5.com This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS
Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005
I had tried that initially but didn't work. Using $$ did work (see my previous post) -Original Message- From: Hugo van der Kooij [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 5:08 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios Monitoring Microsoft SQL Express 2005 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martinez, Eduardo [BSD] - ADM wrote: check_nt -H adm-patches -p 1248 -v SERVICESTATE -l 'MSSQL$MICROSOFT##SSEE' It report that all services and up and running. However, in the template: define service{ use template host_name hostname check_command check_nt_service!’MSSQL$MICROSOFT##SSEE’ service_descriptionMicrosoft SQL Express 2005 } Nagios uses the $ as special character. So you should escape it in your config file. If memory serves me well it should be $$ for every $ in your definition. Hugo. - -- [EMAIL PROTECTED] http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJLHc2BvzDRVjxmYERArOSAJ9GLoy2uXDIqAoeg3soH4esUEaHYwCeMMaO 88fdXPYYA4A23q4xj3LC8n8= =ocGy -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Alerts generated when max_check_attempts set to 3
Yes you are. If you have a host notification and set max_check_attempts to 1 and, let's say you also have check_interval to 60 (1 min) for a host then disconnect the cable, within the next minute Nagios check will fail and send immediate notification of host down because the check attempt was 1. If you say max_check_attempts is 3, and do the same thing, the host will show as down, but unless you reconnect within the next couple min before that 3rd check, Nagios won't send out a notification. Once it hits that 3rd check and is still in a down state, it will then send notification of host down. If by the 3rd check it has recovered, no notification is sent. HTH -Original Message- From: Deborah Martin [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2008 6:08 AM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] Alerts generated when max_check_attempts set to 3 Importance: High Hi, Just a quick question - I'm changing the max_check_attempts from 1 to 3 for a specific plugin and I wondered, does this mean that an email notification won't go out until the 3rd attempt is reached ? (Which is what I want to achieve). Or will all 3 attempts generate an email notification. The docs say the following :- max_check_attempts: This directive is used to define the number of times that Nagios will retry the service check command if it returns any state other than an OK state. Setting this value to 1 will cause Nagios to generate an alert without retrying the service check again. Am I understanding this correctly ? Thanks, Deborah *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. Kognitio Limited, a company registered in England and Wales. Registered number 0212 7833. Registered Office: 3a Waterside Park, Cookham Road, Bracknell, Berks, RG12 1RB. VAT number 864 4378 92. Kognitio Inc, a company incorporated in Delaware, principal office 180 North Stetson, Suite 3500, Chicago, IL 60601, USA *** - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Cannot disable individual servers / hosts
Charlie, I had the same problem. Andreas pointed me to a patch that fixes this issue. http://www.op5.org/src/nagios-3.0.5p1.tar.gz -Original Message- From: Charlie Reddington [mailto:[EMAIL PROTECTED] Sent: Saturday, November 22, 2008 9:35 AM To: Charlie Reddington Cc: Nagios User list Subject: Re: [Nagios-users] Cannot disable individual servers / hosts Okay, just found out something. I can disable services or hosts, but not both at the same time. For example, if I go to disable all service notifications and click the box, 'and hosts too', nothing gets disabled. If I disable JUST the service it will disable If I disable JUST the host, it will disable. Weird. Charlie On Nov 22, 2008, at 8:19 AM, Charlie Reddington wrote: Hi, I'm running Nagios 3.0.5. I currently have about 5 different clients on my system for different companies. So users are only added to see their own servers, except for my user, which can see and do it all. I CAN disable all notifications for the entire system. Process Info - Disable Notifications I CANNOT disable notifications for a particular service. Service Detail - service check - Disable Notifications I have a user that can access everything - 'nagiosadmin' that is added to the cgi.cfg file and even this user cannot do individual notification disabling. When I go through the disable process, I see this in my event log External Command[11-22-2008 08:14:41] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING But I don't get the icon, and I still end up getting alerts. Here's the last two lines of my nagios.log file [1227362376] Auto-save of retention data completed successfully. [1227363281] EXTERNAL COMMAND: DISABLE_SVC_NOTIFICATIONS;Tenant602E;PING I'm just not getting where things are going wrong here. If you guys need any of my configs to help better troubleshoot this with me let me know and I'll paste them up. Thanks, Charlie - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9
I've been running Nagios 3.0.5 on Fedora 9 for a while and runs well. Make sure you got apache and your compilers, download the Nagios and Nagios plugins tars and follow the quick install guide for fedora in the manual. From: Kaplan, Andrew H. [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2008 11:43 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios 3.0.5 on Fedora Core 9 Hi there - I will be implementing Nagios 3.0.5 on a new server, and the operating system in question will be the Fedora Core 9 release. Are there any issues that I should be aware of prior to the installation of Nagios, via yum, onto the server? 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. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] disabling checks of all service and host no longer works
I applied the patch and it worked. I selected a host and told it to disable checks for all services and the host and this time it did it. -Original Message- From: Andreas Ericsson [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 5:08 AM To: Seth Simmons Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] disabling checks of all service and host no longer works Seth Simmons wrote: Ever since I upgraded to 3.0.5 I noticed that if I select a host and choose 'disable checks on all services on this host' then select for host also, it doesn't do anything. If I disable the host check and service checks individually it works, but never all at once. I did notice, however, that if I select to disable checks of all services and don't check to disable for the host also, it will actually disable checks for all services - but not if I include the host. Anyone else notice that? There's a fix available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz If that works for you, please make sure to report it here so Ethan knows it's safe to apply those patches to the official Nagios sources. Thanks. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] disabling checks of all service and host no longer works
Ever since I upgraded to 3.0.5 I noticed that if I select a host and choose 'disable checks on all services on this host' then select for host also, it doesn't do anything. If I disable the host check and service checks individually it works, but never all at once. I did notice, however, that if I select to disable checks of all services and don't check to disable for the host also, it will actually disable checks for all services - but not if I include the host. Anyone else notice that? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] host checks stopped
Nagios has stopped doing host checks. When I look at the last check it shows about 8pm Friday and no checks since. I just added 2 hosts, and for nearly an hour the host checks are pending. The scheduled time is the next minute, but a minute later (when you expect the check to happen) it gets delayed another minute. All service checks are working fine. Running Nagios 3.0.3any ideas? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] host checks stopped
Nagios has stopped doing host checks. When I look at the last check it shows about 8pm Friday and no checks since. I just added 2 hosts, and for nearly an hour the host checks are pending. The scheduled time is the next minute, but a minute later (when you expect the check to happen) it gets delayed another minute. All service checks are working fine. I did just have a system go down, and though the service checks show critical, Nagios shows the server as being up, though I know it isn't. Running Nagios 3.0.3any ideas? - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] strange problem with check_dhcp
Last week I moved Nagios to a new box and after a little tweaking got the old config files working. The only thing that isn't working is check_dhcp. Since I moved it check_dhcp has been returning unknown with the details as this plug-in must be run as root or setuid rootcould not bind socket to Ethernet interface eth0. Check your privileges... If I do the check manually as root it works; manually as Nagios returns that error. I read a couple posts that say to do chmod u+s or chmod +s on check_dhcp. When I do that I now get that same error both as Nagios and as root. I did chmod 775 on it and it again works for root but same error for Nagios. Also tried changing ownership from Nagios to root. All other plugins working fine. Any ideas? Probably something stupid I'm missing. [EMAIL PROTECTED] libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [EMAIL PROTECTED] libexec]# su nagios [EMAIL PROTECTED] libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [EMAIL PROTECTED] libexec]$ exit exit [EMAIL PROTECTED] libexec]# chmod u+s check_dhcp [EMAIL PROTECTED] libexec]# ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [EMAIL PROTECTED] libexec]# ls -lah check_dhcp -rwsrwxr-x 1 nagios nagios 76K 2008-09-19 18:01 check_dhcp [EMAIL PROTECTED] libexec]# chown root:root check_dhcp [EMAIL PROTECTED] libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [EMAIL PROTECTED] libexec]# su nagios [EMAIL PROTECTED] libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... Nagios 3.0.3/plugins 1.4.12/fedora 9 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] strange problem with check_dhcp
selinux is disabled was a permission issue on the file -Original Message- From: Maxwell,Brady [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 2:29 PM To: Seth Simmons Subject: RE: [Nagios-users] strange problem with check_dhcp Is your new system running selinux? -Original Message- From: Seth Simmons [mailto:[EMAIL PROTECTED] Sent: Monday, September 22, 2008 12:31 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] strange problem with check_dhcp Last week I moved Nagios to a new box and after a little tweaking got the old config files working. The only thing that isn't working is check_dhcp. Since I moved it check_dhcp has been returning unknown with the details as this plug-in must be run as root or setuid rootcould not bind socket to Ethernet interface eth0. Check your privileges... If I do the check manually as root it works; manually as Nagios returns that error. I read a couple posts that say to do chmod u+s or chmod +s on check_dhcp. When I do that I now get that same error both as Nagios and as root. I did chmod 775 on it and it again works for root but same error for Nagios. Also tried changing ownership from Nagios to root. All other plugins working fine. Any ideas? Probably something stupid I'm missing. [EMAIL PROTECTED] libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [EMAIL PROTECTED] libexec]# su nagios [EMAIL PROTECTED] libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [EMAIL PROTECTED] libexec]$ exit exit [EMAIL PROTECTED] libexec]# chmod u+s check_dhcp [EMAIL PROTECTED] libexec]# ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... [EMAIL PROTECTED] libexec]# ls -lah check_dhcp -rwsrwxr-x 1 nagios nagios 76K 2008-09-19 18:01 check_dhcp [EMAIL PROTECTED] libexec]# chown root:root check_dhcp [EMAIL PROTECTED] libexec]# ./check_dhcp OK: Received 1 DHCPOFFER(s), max lease time = 0 sec. [EMAIL PROTECTED] libexec]# su nagios [EMAIL PROTECTED] libexec]$ ./check_dhcp Warning: This plugin must be either run as root or setuid root. To run as root, you can use a tool like sudo. To set the setuid permissions, use the command: chmod u+s yourpluginfile Error: Could not bind socket to interface eth0. Check your privileges... Nagios 3.0.3/plugins 1.4.12/fedora 9 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Problems with NDOUtils
I had this same problem about a month ago. I never got a response to my posting nor found an answer. The only difference was I ran it on fedora but had the same problem saying it can't write to data sink. I accessed the database manually to verify credentials and it was fine from there, along with other things that you already tried. I did however get it to work on suse on the first try. Not sure what made the difference. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ronaldo A. Bueno Filho Sent: Wednesday, September 3, 2008 4:26 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Problems with NDOUtils Hi people! I've installed Nagios 3.0.2 on my Debian 4. I also installed NDOUtils 1.4b7. The problem is related with NDOUtils. I can not populate the nagios database. I followed all steps and rechecked everything. According to my serach, probably there is a bug. (Not sure). I just found people asking for some help, sometimes I got useful hints, but I did not find the root cause of my problem. I've tried several things, but did not work. - I could connect to the nagios database using the user nagios and its password. I checked the files to make sure that it is with the correct user, password and database name. - I checked the owner (user) and group that the files belong to (nagios:nagios). - I checked the permitions of the files - I tried to use both TCP and unix in the socket_type and got the same error. - I just stoped nagios and NDOUtils. I started the NDOUtils and then nagios. Did not work - I got no errors in the installation. I really appreciate any help. Las part of Nagios log: [1220472069] ndomod: Error writing to data sink! Some output may get lost... [1220472085] ndomod: Successfully reconnected to data sink! 0 items lost, 84 queued items to flush. [1220472085] ndomod: Successfully flushed 84 queued items to data sink. [1220472085] ndomod: Error writing to data sink! Some output may get lost... [1220472101] ndomod: Successfully reconnected to data sink! 0 items lost, 80 queued items to flush. [1220472101] ndomod: Successfully flushed 80 queued items to data sink. [1220472101] ndomod: Error writing to data sink! Some output may get lost... [1220472117] ndomod: Successfully reconnected to data sink! 0 items lost, 80 queued items to flush. [1220472117] ndomod: Successfully flushed 80 queued items to data sink. [1220472117] ndomod: Error writing to data sink! Some output may get lost... == ndo2db.conf is as shown below: ndo2db_user=nagios ndo2db_group=nagios socket_type=unix #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=nagios db_pass=nagios max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 ndomod.conf is as shown below: 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=2 nagios.conf is as shown below: event_broker_options=-1 broker_module=/usr/local/nagios/bin/ndomod-3x.o config_file=/usr/local/nagios/etc/ndomod.cfg To initialize I run /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg (get no errors) Thanks in advance. -- Ronaldo A. Bueno Filho -- Essa mensagem foi verificada contra vírus e conteúdo malicioso pelo Lisa Antivírus. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list
Re: [Nagios-users] checks, notifications don't work after time period exception
This is interesting. I setup a test environment using only localhost. I created a similar time period as I have on my production box, adjusted the threshold on / free space to purposely generate a warning below 80% free. It did go to warning status at 15:18 within the exclusion of 15:00 to 15:30. It's now 22:05 and when I look at the details it hasn't sent any notifications - in other words it didn't start notifications after the exclusion period finished. Current Status: WARNING (for 0d 6h 45m 32s) Status Information: DISK WARNING - free space: / 13926 MB (79% inode=84%): Performance Data: /=3537MB;3679;5519;0;18399 Current Attempt:2/2 (HARD state) Last Check Time:08-26-2008 22:03:03 Check Type: ACTIVE Check Latency / Duration: 0.155 / 0.032 seconds Next Scheduled Check: 08-26-2008 22:04:03 Last State Change: 08-26-2008 15:18:03 Last Notification: N/A (notification 0) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime?NO Last Update:08-26-2008 22:03:33 ( 0d 0h 0m 2s ago) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Young Sent: Tuesday, August 26, 2008 12:09 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] checks,notifications don't work after time period exception On Aug 26, 2008, at 6:56 AM, Seth Simmons wrote: I'll probably do away with the time exclusion as it still isn't working. I have one service that went critical during the exclusion which has a 24x7 check but 4-5:30 notification exclusion and now I can't make it send a notice. I disabled notifications for that service and enabled again; also restarted Nagios and still won't send a notice. It's configured to send on the second attempt and every hour after. You should be able to use timeperiods the way you would like to. I will have to setup my test environment to see if I get the same problem you are describing. It would be nice to figure this out. Is this a problem with other users? Obsessing: ENABLED Are you passing andy ocsp_commands? http://nagios.sourceforge.net/docs/3_0/configmain.html#ocsp_command On Aug 25, 2008, at 6:28 PM, Jon Angliss wrote: I had a similar issue. I tried excluding a time slot between 0300, and 0600 due to large DB loads causing website performance issues (backups, indexing, and such). When the start of the exception rolled around, nagios would just stop checking that service, and would only restart on a forced manual check, or restart of the nagios service. I ended up changing the theory to continue checking 24x7, but only alert when outside the exception. Not that it helps the issue, but it stopped the symptoms. I never got around to really digging into the issue any deeper. It did give me the added benefit of knowing when the server was actually down during the maintenance window, and when it was just being slow. This was handy for management purposes so they could calculate if they need more head count. Hi Jon, So it was following your notification timeperiod but not your check timeperiod? Was version of Nagios were you running? Were you using the exclude function (new to nagios 3.x)? Nagios 3.x did add new functionality to timeperiods. It is possible that a bug was introduced. Mark Young ___ Nagios Enterprises, LLC Web:www.nagios.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] checks, notifications don't work after time period exception
We have a qa group overseas that will work on our customer sites during the US overnight. To avoid false alerts, I added a time exception so notifications are not sent out between 4am and 5:30am. The problem is, after the exception, Nagios (3.0.3) won't send notifications, neither are checks performed for any sites with an exception. If a site is in a critical state either shortly after 4 or (if they start early) right before 4, checks do not continue after 5:30. When I look at Nagios later, it shows it in critical and the last check was done at 3:58am with the next check at midnight the next day. Let me give some more specific examples: Server-A is running abc.customer.com for us and our qa group takes the site down at 3:55am, before the 4am exception. Nagios will show as critical until either midnight the next day, or you force a check on the service. So, say at 8am I look at it, the service is critical with last check at 3:55am and next scheduled check at 12am tomorrow. When I force a check, it will continue on normal check schedule and send notice that the service is ok. Server-B is also running a site and tomcat is stopped at 4:10am. This service has notification period with the same time period with exceptions from 4am - 5:30am. After that it will not send notifications. At 8am it is still doing checks and saying is critical, but when looking at the details it says it has not sent any notifications. When I force a check it still won't do it. If I restart Nagios then it does a check it will send first notice. I don't see anything wrong with my time period so not sure where the issue is. Not sure if anyone else has noticed this before. Here is what I have for that time period and checks for the above examples: define timeperiod{ timeperiod_name url-monitor alias url-monitor sunday 00:00-23:59 monday 00:00-23:59 tuesday00:00-23:59 wednesday00:00-23:59 thursday 00:00-23:59 friday00:00-23:59 saturday 00:00-23:59 excluderecycle } define timeperiod{ timeperiod_name recycle alias recycle sunday 04:00-05:30 monday 04:00-05:30 tuesday04:00-05:30 wednesday04:00-05:30 thursday 04:00-05:30 friday04:00-05:30 saturday 04:00-05:30 } define command{ command_namecheck_http_abc command_line$USER1$/check_http -H abc.company.com } define service{ use generic-service host_name Server-A service_descriptionsite abc is_volatile0 check_period url-monitor max_check_attempts2 normal_check_interval 5 retry_check_interval 5 contacts nagiosadmin notification_interval 30 notification_period url-monitor notification_options w,c,r check_command check_http_abc } define service{ use local-service host_name Server-B service_descriptionHTTP check_period24x7 max_check_attempts2 normal_check_interval 3 retry_check_interval 5 contacts nagiosadmin notification_interval 60 notification_period url-monitor notification_options w,c,r check_command check_http } - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net
Re: [Nagios-users] M$ Radius service checking
If you just want to check if the service is running, you could do this with nsclient. check_command check_nt!SERVICESTATE!-d SHOWALL -l IAS From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Serafin, Chris Sent: Monday, August 18, 2008 12:22 PM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] M$ Radius service checking Is anyone monitoring Microsoft IAS Radius service? I normally monitor Windows services via SNMP and the service xxx.exe; but the IAS Radius service uses svchost.exe, which has 7+ processes running in the background. Is there a specific check, other than actually using Nagios to authenticate to the server every 10 min or so? Chris Serafin Security Engineer RKON Technologies Office : 312-654-0300 Cell: 708-307-2413 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Check_SSH Plug-In
That's what I assumed also...unless I'm missing something here... ./negate -w OK -o CRITICAL /usr/local/nagios/libexec/check_ssh -H db4 SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) ./check_ssh -H db4 SSH OK - OpenSSH_3.6.1p2 (protocol 1.99) I would have expected negate to return a warning. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean McAfee Sent: Monday, August 18, 2008 5:11 PM To: Andy Shellam Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Check_SSH Plug-In Andy Shellam wrote: Wouldn't negate cause an OK state to be a Critical state instead of a warning or can this be configured? Negate can customize its return code based on the return code of the exec'ed plugin: Usage:negate [-t timeout] [-owcu STATE] [-s] definition of wrapped plugin Options: -h, --help Print detailed help screen -V, --version Print version information -t, --timeout=INTEGER Seconds before connection times out (default: 11) Keep timeout longer than the plugin timeout to retain CRITICAL status. -o, --ok=STATUS -w, --warning=STATUS -c, --critical=STATUS -u, --unknown=STATUS STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single quotes. Numeric values are accepted. If nothing is specified, permutes OK and CRITICAL. -s, --substitute Substitute output text as well. Will only substitute text in CAPITALS So in this case, you'd want to use `negate -w OK -o CRITICAL //path/to/check_ssh -checkargs/`. Sean McAfee System Engineer Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] problem running ndoutils
I don't know what the issue is specifically, but this does not work under Fedora 9 after multiple tries (not sure if someone else has got it to work). I repeated the same steps under Fedora 8 and works fine. [08-11-2008 17:18:01] Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully. [08-11-2008 17:18:01] ndomod: Successfully connected to data sink. 0 queued items to flush. [08-11-2008 17:18:01] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007 Ethan Galstad ([EMAIL PROTECTED]) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Seth Simmons Sent: Friday, August 8, 2008 1:15 PM To: Mark Young; Nagios User list Subject: Re: [Nagios-users] problem running ndoutils I did use package manager to install mysql. The problem was missing mysql-devel. Compiled again and no errors. Thanks. Now the problem I have is this in the Nagios log. [08-08-2008 12:51:00] ndomod: Error writing to data sink! Some output may get lost... [08-08-2008 12:51:00] ndomod: Successfully flushed 80 queued items to data sink. I'm guessing this is more of a mysql issue? I tried mysql with this user and works fine on the database; checked the config and credentials are ok. I gave this user full access to this database. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Young Sent: Friday, August 8, 2008 12:26 PM To: Nagios User list Subject: Re: [Nagios-users] problem running ndoutils Hi Seth, On Aug 8, 2008, at 10:58 AM, Seth Simmons wrote: Support for the specified database server is either not yet supported, or was not found on your system. I think that you may have compiled NDOutils without the necessary mysql development libraries. When you configured the installation were there any errors listed concerning mysql? An easy solution would be to use a package manager and install mysql, mysql-server, mysql- devel. You will then need to create and initialize the database you are going to use. I hope this will get you started. Mark Young ___ Nagios Enterprises, LLC Web:www.nagios.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] problem running ndoutils
nagios 3.0.3 ndo 1.4b7 mysql 5.0.51a [EMAIL PROTECTED] ~]# /usr/local/nagios/bin/ndo2db-3x -c /usr/local/nagios/etc/ndo2db.cfg Support for the specified database server is either not yet supported, or was not found on your system. The only thing I modified in ndo2db.cfg is the database name, username, password. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcus Sent: Friday, August 8, 2008 8:27 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] problem running ndoutils -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seth Simmons schrieb: I'm trying this for the first time and have gone through the manual to configure it. So far everything looks good. However, when I try to start ndo2db, it fails saying the specified database server is either not yet supported or not found. Seth, you have to provide just a little more information. What version of nagios and ndo2db are you using? What is the exact error message? What kind of database are you trying to use, etc... Regards Marcus. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInDub+qVaNRZYOakRAsQLAJ9HAuOy/L96AKUMZhx0woLGU7O2CQCdE5TR gl5a5P7faPX0HhnvIlLYl+A= =+JAK -END PGP SIGNATURE- - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] problem running ndoutils
I did use package manager to install mysql. The problem was missing mysql-devel. Compiled again and no errors. Thanks. Now the problem I have is this in the Nagios log. [08-08-2008 12:51:00] ndomod: Error writing to data sink! Some output may get lost... [08-08-2008 12:51:00] ndomod: Successfully flushed 80 queued items to data sink. I'm guessing this is more of a mysql issue? I tried mysql with this user and works fine on the database; checked the config and credentials are ok. I gave this user full access to this database. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Young Sent: Friday, August 8, 2008 12:26 PM To: Nagios User list Subject: Re: [Nagios-users] problem running ndoutils Hi Seth, On Aug 8, 2008, at 10:58 AM, Seth Simmons wrote: Support for the specified database server is either not yet supported, or was not found on your system. I think that you may have compiled NDOutils without the necessary mysql development libraries. When you configured the installation were there any errors listed concerning mysql? An easy solution would be to use a package manager and install mysql, mysql-server, mysql- devel. You will then need to create and initialize the database you are going to use. I hope this will get you started. Mark Young ___ Nagios Enterprises, LLC Web:www.nagios.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Can I monitor a host without defining any services for it?
It probably does serve a purpose, just not for what you are trying to accomplish. Though warnings are given about not having services associated, you should be fine with just host checks if that is what you want. As far as the checks go, I have 101 servers and over 1200 service checks and have never noticed a time lag with any of them. Would be best to use check_ping with your check_command directive for your hosts. If you leave this argument blank, the host will not be actively checked. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Masters Sent: Thursday, August 7, 2008 9:40 PM To: Thomas Guyot-Sionnest Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Can I monitor a host without defining any services for it? Thomas Thanks for your reply. You can use check_dummy for the service... In Nagios 3 with regularly scheduled hosts checks it should work. Well, at the moment I only have about 20 hosts being tested, and even though I have check_interval set to 1 in the host definition, looking at the scheduling queue, I can see that host checks are only occurring every 80 seconds. When I've added about 200 more hosts I'm wondering if this time lag will increase. If that is the case, then I guess I will have to use check_ping after all. In Nagios 2 hosts check were normally on-demand so it wouldn't work if your service always returns OK. Interesting. I never used Nagios 2. According to check_dummy -h: This plugin will simply return the state corresponding to the numeric value of the state argument with optional text Am I right in thinking that this does not actually perform a test? It just returns a state (OK, Warning etc) depending on the argument you give to check_dummy. Is that correct? If that is the case, is there really any point in using it for my purposes. Obviously it prevents the Nagios warnings, but other than that is it really serving any purpose? Thanks Ian - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Can I monitor a host without defining any services for it?
So...if you click on a specific host, you see a 70 second difference between last check time and next scheduled active check? -Original Message- From: Ian Masters [mailto:[EMAIL PROTECTED] Sent: Thursday, August 7, 2008 10:44 PM To: Seth Simmons Cc: Thomas Guyot-Sionnest; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Can I monitor a host without defining any services for it? Seth Thanks for your reply. It probably does serve a purpose, just not for what you are trying to accomplish. Though warnings are given about not having services associated, you should be fine with just host checks if that is what you want. OK ... As far as the checks go, I have 101 servers and over 1200 service checks and have never noticed a time lag with any of them. Would be best to use check_ping with your check_command directive for your hosts. The default check_command, check-host-alive is a ping check is it not? I presume that is sufficient. If you leave this argument blank, the host will not be actively checked. As long as check_command is defined in one of the host definition templates I'm using, I presume that will be OK. I still don't quite know why my host checks are being scheduled every 70 seconds. In my host definition, I've set check_interval to 1... any ideas? Thanks Ian - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] problem running ndoutils
I'm trying this for the first time and have gone through the manual to configure it. So far everything looks good. However, when I try to start ndo2db, it fails saying the specified database server is either not yet supported or not found. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagvis giving me hell
Try posting to nagvis list. https://lists.sourceforge.net/lists/listinfo/nagvis-devel -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Assaf Flatto Sent: Wednesday, August 6, 2008 11:45 AM To: Nagios User list Subject: [Nagios-users] nagvis giving me hell Hello I am trying to remove an old map in Nagvis . I've entered the interface and found the map management options , and selected Delete map , first there is a typo in the code /usr/local/nagios/share/nagvis/wui/form_handler.php line 325 function isste() - needs to be isset(). after fixing that i run the delete procedure again, and it reports that the delete is done successful . when i try to see the relevant remaining maps i get the following error : mapCfgNotExists: Map configuration file does not exists The map configuration file /usr/local/nagios/share/nagvis/etc/maps/MHL2-6.cfg does not exists. (of course map MHL2-6 Does not exist - i just told Nagvi to delete it ). Anyone have any idea how to solve this issue ? Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] strange problem with service check rescheduling
I have a strange problem with some service checks. We have a number of customer sites that are being monitored. There is a group in asia that often will recycle sites during the night (US) and so the monitoring schedule of these checks is 24x7 with exclusion of 4am-5:30am. Here is the problem. Last 3 days I get up in the morning and Nagios shows a number of service checks in a critical state. The last 2 days it was only a few, but today is 42 (all customer sites). The last check of the service is showing 3:55am which is right before the exclusion period starts. However, it never started again at 5:30am. In addition, the next scheduled check is midnight tomorrow. I know they are not doing this (manual reschedule) because I have user authentication enabled and the apache log shows no access the last several hours. I've had this exclusion in place for over a month and this just started on Monday. I did not make any changes over the weekend. Very strange... - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] unknown option in nrpe.cfg
lol...yeah RHEL 5 I'm not aware of any syslog changes in 5 I compared syslog.conf with an RHEL AS 4 system and there is no difference. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jay R. Ashworth Sent: Sunday, July 6, 2008 12:43 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] unknown option in nrpe.cfg On Fri, Jul 04, 2008 at 06:23:37AM -0400, Seth Simmons wrote: nrpe[18038]: Unknown option specified in config file '/usr/local/nagios/etc/nrpe.cfg' - Line 17 On line 17 it states: log_facility=daemon It’s exactly the same as the other systems and I’m not getting this error there. It’s running nrpe 2.12. The only thing unique about this box is that it’s the only one running red hat 5 so not sure if that makes any sort of difference or if anyone else has seen this. I'll assume you mean RHEL 5, not Red Hat Linux 5... :-) Did they switch syslogs in RHEL5? Cheers, -- jra -- Jay R. Ashworth Baylink [EMAIL PROTECTED] Designer The Things I Think RFC 2100 Ashworth Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Joseph Stalin) - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] unknown option in nrpe.cfg
I have a strange problem here. I have a box where an error is constantly being reported by syslog. The actual nagios checks are running fine. This is what shows during every service check: nrpe[18038]: Unknown option specified in config file '/usr/local/nagios/etc/nrpe.cfg' - Line 17 On line 17 it states: log_facility=daemon It's exactly the same as the other systems and I'm not getting this error there. It's running nrpe 2.12. The only thing unique about this box is that it's the only one running red hat 5 so not sure if that makes any sort of difference or if anyone else has seen this. - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] problem with trends cgi
I have a problem trying to create a report for a particular service. Seems when I get passed step 3 and try to create the report it tells me that I'm not authorized to view information for the specified service. In the documentation, it says that if you are authorized for all hosts you can view trends for all hosts and all services. I checked cgi config and I'm in there in authorized_for_all _hosts and authorized_for_all_services. However, I can create a report for a host...just not a service. I'm probably missing something stupid here. Running nagios 3.0.2 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] using $ in service definition
I have a problem when trying to use $ in a service definition. I understand that $ is used with macros so not sure how to get around this. There is a sql express 2005 service I want to monitor, however the service is created as MSSQL$SQLEXPRESS and Nagios shows a warning saying MSSQL is unknow. How do I format the service name in the command so the $ is not an issue? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] using $ in service definition
ahh that did it I knew with $ used for macros there had to be some special character to get around it and that was it. Thanks -Original Message- From: Tim Wilson [mailto:[EMAIL PROTECTED] Sent: Monday, June 23, 2008 10:03 PM To: Seth Simmons; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] using $ in service definition On Mon, Jun 23, 2008 at 8:17 PM, in message [EMAIL PROTECTED], Seth Simmons [EMAIL PROTECTED] wrote: There is a sql express 2005 service I want to monitor, however the service is created as MSSQL$SQLEXPRESS and Nagios shows a warning saying MSSQL is unknow. Seth, Try MSSQL$$SQLEXPRESS -Tim -- Tim Wilson, Director of Technology Buffalo-Hanover-Montrose Schools 214 1st Ave NE Buffalo, MN 55313 ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.us - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Windows Uptime question
This shows me days, hours, minutes using check_nt!UPTIME command. define service{ use generic-service host_name server service_description Uptime is_volatile 0 check_period24x7 max_check_attempts 2 normal_check_interval 3 retry_check_interval5 contactsnagiosadmin notification_interval 30 notification_period 24x7 notification_optionsw,c,r check_command check_nt!UPTIME } The result for the service shows: Current Status: OK (for 0d 18h 31m 4s) Status Information: System Uptime - 25 day(s) 17 hour(s) 9 minute(s) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wim De Geeter Sent: Saturday, June 21, 2008 11:08 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Windows Uptime question Hi, I would like to monitor the Uptime of our windows 2003 servers and tried it with 'check_uptime.exe' (from NagiosPluginsNT). But I only got the output in seconds. Someone knows how to get the output in Days, Hours, Minute ? Maybe I forgot something. Many thanks - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] multiple downtime alerts on restart
Has anyone noticed that if a host is in downtime and you restart or reload nagios that notifications are automatically sent out again regarding the downtime? For example, right now I have a linux host that is being moved to a different location and I have it in downtime for a few days. I made some changes to a few windows services and restarted nagios a couple times and each time it restarted it sent an email stating that downtime started for that one linux host (though it's been in downtime for a couple days already). I noticed this doesn't happen if it's a service in downtime, only for a host. I couldn't find anything in the documentation or faq on this. Is this supposed to be like that? Running Nagios 3.0.1 - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitor web server run multiple virtual web site
Have you tried using -a with check_http? -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Victor Lanza Sent: Wednesday, June 04, 2008 1:14 PM To: 'Marc Powell'; 'nagios Mailinglist' Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site Thanks for the reply, Sorry I didn't reply earlier but I had email problems..I've tried your suggestion already, the issue I face with that is that some of these virtual sites require authentication, some simple and some Windows Authentication. This causes Nagios to get a ...401 unauthorized error message (since check_http can only handle simple authentication). Is there no way to just check in IIS if the site is in an started or stopped state? I think this would be the ideal solution.. Thanks again, Victor.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Friday, May 30, 2008 3:37 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On May 30, 2008, at 1:12 PM, Victor Lanza wrote: Hi all, I have a similar setup and same issue here and I'm trying to use check_http but it doesn't seem to be working correctly. I have IIS setup with multiple virtual sites with different IPs all running on the same port (80) My command is: check_http -H 10.10.5.12 -u http://10.10.5.111 However I get the following results whether that site is up or down: HTTP OK HTTP/1.1 200 OK - 1828 bytes in 0.013 seconds... I really wanted to avoid having to create a host definition for each site. suggestion -- define host { host_name websites alias Virtual Site Container address 127.0.0.1 ... } define service { host_name websites service_description site-10.10.5.111 check_command check_http_sites!10.10.5.111 ... } define service { host_name websites service_description site-othersite check_command check_http_sites!10.10.5.200 ... } define command { command_namecheck_http_sites command_line$USER1$/check_http -H $ARG1$ -u http://$ARG1$ } The above assumes that your web server can properly answer for and differentiate between http://10.10.5.111 and http://10.10.5.200 (or whatever other address is valid). -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitor web server run multiple virtual web site
Have you tried -a with [EMAIL PROTECTED] I just tried it on my exchange server's owa and it worked. I have ssl enabled so this is the syntax I used. check_http -H mail.company.com -u /exchange/user -a [EMAIL PROTECTED]:password --ssl The results are a 302, which is ok...if I omit the -a and/or --ssl I get either a 401 or 403 but using the domain logon as above worked...not sure if that helps you at all. -Original Message- From: Victor Lanza [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 2:43 PM To: Seth Simmons; 'Marc Powell'; 'nagios Mailinglist' Subject: RE: [Nagios-users] Monitor web server run multiple virtual web site Yes, but this only works with those sites that use basic authentication..and as far as I understand, no one has been able to get the windows authentication to work with the check_http plugin.. Thanks though.. I guess I can a simple ping on those sites that I can't use check_http with -Original Message- From: Seth Simmons [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 1:53 PM To: Victor Lanza; Marc Powell; nagios Mailinglist Subject: RE: [Nagios-users] Monitor web server run multiple virtual web site Have you tried using -a with check_http? -a, --authorization=AUTH_PAIR Username:password on sites with basic authentication -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Victor Lanza Sent: Wednesday, June 04, 2008 1:14 PM To: 'Marc Powell'; 'nagios Mailinglist' Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site Thanks for the reply, Sorry I didn't reply earlier but I had email problems..I've tried your suggestion already, the issue I face with that is that some of these virtual sites require authentication, some simple and some Windows Authentication. This causes Nagios to get a ...401 unauthorized error message (since check_http can only handle simple authentication). Is there no way to just check in IIS if the site is in an started or stopped state? I think this would be the ideal solution.. Thanks again, Victor.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell Sent: Friday, May 30, 2008 3:37 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Monitor web server run multiple virtual web site On May 30, 2008, at 1:12 PM, Victor Lanza wrote: Hi all, I have a similar setup and same issue here and I'm trying to use check_http but it doesn't seem to be working correctly. I have IIS setup with multiple virtual sites with different IPs all running on the same port (80) My command is: check_http -H 10.10.5.12 -u http://10.10.5.111 However I get the following results whether that site is up or down: HTTP OK HTTP/1.1 200 OK - 1828 bytes in 0.013 seconds... I really wanted to avoid having to create a host definition for each site. suggestion -- define host { host_name websites alias Virtual Site Container address 127.0.0.1 ... } define service { host_name websites service_description site-10.10.5.111 check_command check_http_sites!10.10.5.111 ... } define service { host_name websites service_description site-othersite check_command check_http_sites!10.10.5.200 ... } define command { command_namecheck_http_sites command_line$USER1$/check_http -H $ARG1$ -u http://$ARG1$ } The above assumes that your web server can properly answer for and differentiate between http://10.10.5.111 and http://10.10.5.200 (or whatever other address is valid). -- Marc - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace
Re: [Nagios-users] Nagios help!!
windows.cfg is for all hosts and services for windows boxes that host definition can be copied and pasted for each host you add; just change the host name and address for each box take a look at the documentation for all available options; those listed below are only the base sample http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, April 10, 2008 2:27 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios help!! Importance: High Hi I am new to nagios ! I have added my first windows machine as stated below , now i want to add more machines , so do i need to add one more windows.cfg file with new host definations or simply add hostname in present file windows.cfg seperated by comma , like host_nameserver1,server2, This might seem a very stupid questions to many but still as i am new to this, so i need some help. Add a new host http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host definition for the Windows machine that you're going to monitor. If this is the *first* Windows machine you're monitoring, you can simply modify the sample host definition in windows.cfg. Change the host_name, alias, and address fields to appropriate values for the Windows box. define host{ use windows-server ; Inherit default values from a Windows server template (make sure you keep this line!) host_name winserver alias My Windows Server address 192.168.1.2 } Good. Now you can add some service definitions (to the same configuration file) in order to tell Nagios to monitor different aspects of the Windows machine. If this is the *first* Windows machine you're monitoring, you can simply modify the sample service definitions in windows.cfg. The information contained in this e-mail message is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you should return it to the sender immediately. Please note that while we scan all e-mails for viruses we cannot guarantee that any e-mail is virus-free and accept no liability for any damage caused by any virus transmitted by this email. ATT279705.gif- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Monitoring in different time periods
Currently I'm using the default 24x7 time for monitoring. We have a support group in India where we want to shift monitoring there during off hours. Since service definition is currently using 24x7, would I have to create separate services for each time period since the notifications would go to two different groups? What is the best way to accomplish this? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring in different time periods
I understand the first part about adding all to the same contact groups. The second part I can't see how they would have their own hours, unless I have a separate service defined? For example if I have this (below) what line(s) would I need to add/modify? I'm thinking I would have to have a different service defined for each check/notification period? define service{ use generic-service host_name servername service_description Free Space on / is_volatile 0 check_period24x7 max_check_attempts 2 normal_check_interval 3 retry_check_interval5 contact_groups admins notification_interval 30 notification_period 24x7 notification_optionsu,r check_command check_nrpe!check_root } -Original Message- From: Wojciech Kocjan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 2:44 PM To: Seth Simmons; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring in different time periods On Thu, 03 Apr 2008 20:34:32 +0200, Seth Simmons [EMAIL PROTECTED] wrote: Currently I'm using the default 24x7 time for monitoring. We have a support group in India where we want to shift monitoring there during off hours. Since service definition is currently using 24x7, would I have to create separate services for each time period since the notifications would go to two different groups? What is the best way to accomplish this? Hi, You can simply add both India and non-India users to the same contact groups you're currently using. India team will have their notification timeperiod set to their working hours whereas the other team would have the remaining hours as their notification timeperiod. -- Wojciech Kocjan - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring in different time periods
Ok I understand now. I'm looking at this in the wrong place. I'm thinking I need to modify the actual services, (which I will have to to some extent) though the solution is in the contacts and timeperiods cfg. I just stumbled across p.234 of the manual on adding the host/service notification_period. It makes sense now. -Original Message- From: Wojciech Kocjan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2008 3:24 PM To: Seth Simmons; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring in different time periods On Thu, 03 Apr 2008 21:12:21 +0200, Seth Simmons [EMAIL PROTECTED] wrote: I understand the first part about adding all to the same contact groups. The second part I can't see how they would have their own hours, unless I have a separate service defined? For example if I have this (below) what line(s) would I need to add/modify? I'm thinking I would have to have a different service defined for each check/notification period? No, I assume what you actually want is to: 1/ Monitor the service 24x7 2/ For India working hours, notify India 3/ For remaining hours, notify someone else So, define single service, two contact groups and for India group members configure them for Indiaworkinghours time period and for someone else configure them for a timeperiod defining remaining hours. Then if a problem comes in during Indiaworkinghours, India staff will get the message. On remaining hours someone else will get the message. -- Wojciech Kocjan - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] missing cgi scripts
I noticed trends, statusmap, histogram cgi scripts are missing. I just installed gd-devel so I'm assuming those modules are what was missing in the initial install (someone correct me if other modules might be required). I came across this article... http://www.nagios.org/faqs/viewfaq.php?faq_id=55 ...problem is, I don't know what folder it is referring to when it says to run make devclean from nagios source code distribution and rerun the configuration script. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Windows server
You need to install and configure the agent on the Windows server. http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Rickard Sent: Wednesday, April 02, 2008 4:56 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Windows server Hi, I am relatively new to nagios so here goes. I have nagios 3 install on ubuntu server 7.10, I do not have any nagios plug-ins installed. I added my windows servers (server 2003) to the windows.cfg file. It is able to ping the servers, however, I am getting a connection refused for all the service checks. What do I need to do to be able to check these services? Do I need to install a plug-in or do something to the windows server? Thanks -Kevin - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null