Re: [Nagios-users] Is it possible to recieve a single global notification for all checks?
I've built a few checks that monitor say 5 partitions or ping 5 ip addresses and will report back if one or more are down. results line says 1 is ok, 2 is ok, 3 is down,,, etc. Is that what you are looking for? I could send the check to you on Tues when I am back in work Date: Sat, 31 Aug 2013 14:17:19 -0600 From: aflex...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Is it possible to recieve a single global notification for all checks? Hello Nginx, I have a single host, and dozens of services of the same type (http check) monitored. When a service goes down it is normal for others to report CRITICAL at the same time. Intead of generating a notification for each independant service can I have a SINGLE email consolidate the report on whats on CRITICAL? Perhaps using a global handler, however how would this work with the part of one email per minute if my understanding is that the global event handler runs independtly for each service? Anything creative is welcome. Alex -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ 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 -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___ 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] Use different mail ids for each service
You could create a separate contact for each admin and then add a line in each service definition for a contact / contact_group: contacts contact name contact_groups contact group name Steve : sandeepvre...@outlook.com To: nagios-users@lists.sourceforge.net Date: Wed, 17 Jul 2013 14:28:25 +0530 Subject: [Nagios-users] Use different mail ids for each service Hi, I have multiple hosts and in each host there are multiple service. Here each service monitored by an individual person. Can some one suggest me how to configure nagios to send alert mail to concerned. Example: admin1 should get only alerts related service1 only.admin2 should get only alerts related service2 only.admin3 should get only alerts related service3 only...adminn should get only alerts related servicen only. Thanks,Sandeep. -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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 -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ 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] WARNING HTTP
try this create index.html file under http root directory. #cd /var/www/html #touch index.html Restart web services. #service httpd restart Now restart you nagios services. #/etc/init.d/nagios restart HTTP OK HTTP/1.1 200 OK - 265 bytes in 0.004 seconds. Date: Sun, 14 Jul 2013 19:22:38 + From: lemagefran...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] WARNING HTTP Salut cher utilisateur de nagios. Je suis débutant dans nagios et apres un long boulot j'ai pu installer Nagios et cacti. Mais pour la supervision je rencontre l'erreur suivante avec mon apache. HTTP WARNING: HTTP/1.1 403 Forbidden - 5244 bytes in 0.003 second response time. Merci de votre aide -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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 -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___ 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] Upgrading to 3.5 Fixing Histograms/Status Maps
Running Nagios 3.2 for a while but never got the histogram statusmaps configured, get the 404 error as none of the cfg files are there. Since I want to upgrade to 3.5, once I have all my libraries installed, and do the upgrade will the needed cfg files install or do I still have to run the following after I upgrade to 3.5 : make devclean ./configure --with-gd-lib=LIBDIR --with-gd-inc=INCDIR Thanks, Steve -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] Question on adding additional user to Web cgi
Hello All, Think I am missing something obvious here. Running core 3.2 and an trying to add a user to the web console. I only want this user to have rights to the hosts that he is a contact for. I have a host group called broadband which has no services associated with it . I am only using the host ping to the ip of the broadband interface to check if my remote broadbands are up running. I have a contact set up for this hostgroup which gets an email if a broadband interface goes down. I wanted to give the contact access to the nagios web console for this host group only to be able to acknowledge alerts. I added a new user via htpasswd and have use-authentication=1 in the cgi.cfg file. The user can log into the web console but sees all hosts and can run commands on other hosts outside of the broadband hostgroup Looks like everything in the cgi.cfg file is ok, the contact is not listed anywhere under any of the authorized_for_ access. What did I miss ?? From what I read, Authenticated contacts* are granted the following permissions for each host for which they are contacts (but not for hosts for which they are not contacts)... If the contact broadband is not a contact for anything but the hostgroup store_broadband, why can he get into other hosts and put them in scheduled down time let alone see them? Thanks, Steve -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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 on adding additional user to Web cgi
Just posting that I figured out my issue. I had the broadband contact group still listed as a contact in the linux-server template from when I orig set this up. I am using a separate host template entry for the broadband check. Once I removed the broadband contact from the linux-server host template restarted nagios, it worked as its supposed to. Steve From: a31mod...@hotmail.com To: nagios-users@lists.sourceforge.net Date: Tue, 2 Jul 2013 14:24:29 -0400 Subject: [Nagios-users] Question on adding additional user to Web cgi Hello All, Think I am missing something obvious here. Running core 3.2 and an trying to add a user to the web console. I only want this user to have rights to the hosts that he is a contact for. I have a host group called broadband which has no services associated with it . I am only using the host ping to the ip of the broadband interface to check if my remote broadbands are up running. I have a contact set up for this hostgroup which gets an email if a broadband interface goes down. I wanted to give the contact access to the nagios web console for this host group only to be able to acknowledge alerts. I added a new user via htpasswd and have use-authentication=1 in the cgi.cfg file. The user can log into the web console but sees all hosts and can run commands on other hosts outside of the broadband hostgroup Looks like everything in the cgi.cfg file is ok, the contact is not listed anywhere under any of the authorized_for_ access. What did I miss ?? From what I read, Authenticated contacts* are granted the following permissions for each host for which they are contacts (but not for hosts for which they are not contacts)... If the contact broadband is not a contact for anything but the hostgroup store_broadband, why can he get into other hosts and put them in scheduled down time let alone see them? Thanks, Steve -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ 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 Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev___ 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] Log rotation issues...
hows your space on the server? Steve Date: Wed, 13 Feb 2013 17:47:02 -0600 From: uce_m...@yahoo.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Log rotation issues... For some reason the loggin with nagios has stopped rotating. I have changed my setting to rotate hourly to see if that would give me a clue but no joy. I normally use daily. log_rotation_method=h I am using nagios version 3.4.3 on RHEL 6.2. I find no errors in the logs related to rotation. Anyone have any tips on how to track down the problem? -- Mike Wilson -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ 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 -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb___ 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] Exclude monitoring in holidays
You could probably set up a time period object with a series of exclusion dates. Have the check(s) run every day except the days you dont want to run. Or you could, just before the holiday in question, put the check into scheduled down time. That could be time consumong depending on how many hosts / checks you have Here is info on doing the time period set up http://nagios.sourceforge.net/docs/3_0/timeperiods.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod Good Luck, Steve From: leona...@lbasolutions.com Date: Thu, 3 May 2012 09:03:19 -0300 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Exclude monitoring in holidays Hey people! I don't want that nagios monitoring hosts/services in holidays that I specified. Does anyone know if is it possible, if so, how can I do that ? Many thanks! -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ 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] try it out for yourself...
Hola friend. despite the circumstances I stayed positive this came at perfect timing for me this showed that money is power I just had to share it with you http://leosta.home.pl/JustinMurphy11.html see you -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ 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] What happened to my check_http all of the sudden?
We have been running a check_http to our website and just today it started alerting. I fixed it but was looking for an explanation of why it failed. The check was check_http -L www.somesite.com -c 30 -w 15, which was running with no problem. Today we switched over content to Akamai and as soon as we did, this check starting alerting a warning as follows : A HREF=http://www.somesite.com:80/; target=_blankHTTP WARNING: HTTP/1.0 400 Bad Request - 402 bytes in 0.061 second response time /A|time=0.061278s;15.000 000;30.00;0.00 size=402B;;;0 I switched the check to the following check_http -H www.somesite.com -c 30 -w 15 and everything went back to green HTTP OK: HTTP/1.1 200 OK - 40004 bytes in 0.247 second response time |time=0.246 539s;15.00;30.00;0.00 size=40004B;;;0 I know from the documentation that the -L means Wrap output in HTML link (obsoleted by urlize) not sure exactly what that means. If memory servers me correct, way back when I set this check up, the -H didn't work but the -L did. Can someone school me on the details of what happened? Thanks, Steve -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ 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] What happened to my check_http all of the sudden?
Thanks Patrick for the info So technically, since I never specified a host with -H in the check, it was working almost by accident I guess. Appreciate the feedback Steve -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1___ 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] Questions on snmp checks
Good Morning All, 1st off, please don't laugh at me, we do EVERYTHING the hard way here. I am in need to check 600 + remote Cisco routers for their primary port secondary port. I am running Nagios Core in a distributed environment, 600 + locations. Each location running a Nagios dist server for 12 local clients. All clients and servers are running SuSE Linux I do not have snmp running on the remote distributed server , SNMP is running on the central server and its running on the remote clients. Here's where the fun starts : 1. I assume I can't run an snmp check to the snmp enabled router from the distributed Nagios server since the server does not have snmp installed ( BTW, NOT an Option ) 2. Could I run a check from the distributed server to one of the clients ( who has snmp installed ) to the router ? ( I know, Rube Goldberg ) 3. If I run the check from my central server out to the 600 Cisco routers, how manageable would that be? Any other thoughts on how I could monitor 2 separate ports on these routers? The primary reason for the check is the secondary port is Broadband we run some security camera stuff thru that port only. I need to know when the broadband connection goes down for obvious reasons. Have not tried any of my solutions as there is some configuration needed for the routers to talk to someone via snmp. Didn't want my Comm guys to do any config work if this idea wouldn't work. Thanks, Steve -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1___ 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] Email notifications not getting Out - RESOLVED
Appreciate the support for this problem. Got it fixed and wanted to put the info here hoping it helps someone in the future. Problem was a missing double quote from the notify-service-by-email command. I could see the Notification being generated in nagios.log but thats all. From the command line as the Nagios user, I ran the following exactly as is with the addition of a $CONTACTEMAIL$: /usr/bin/printf %b * Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $ SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAddition al Info:\n\n$SERVICEOUTPUT$\n | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $S ERVICESTATE$ ** $CONTACTEMAIL$ The result was a prompt. I the ran the same command up to the pipe for/usr/sbin/mail and still got the prompt. Once I added the after the n$SERVICEOUTPUT$\n, it worked. I did run a verify a couple of times (/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg ) during troubleshooting but the verify did not pick up the error. Thanks Again for the help, hope this helps someone in the future. Steve Date: Sun, 4 Sep 2011 11:29:54 +0530 From: dey.ran...@gmail.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Email notifications not getting Out also, check if sendmail is running, On Sun, Sep 4, 2011 at 7:23 AM, Terry Carmen te...@cnysupport.com wrote: Verified in nagios.log, the notification was created but nothing ever shows up in /var/log/mail. Last time I show something in /var/log/mail, was Aug 23. What does your etc/objects/commands.cfg notify-service-by-email command definition look like? What does /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg say when it runs? Terry -- Terry Carmen CNY Support, LLC Web. Database. Business. http://www.cnysupport.com -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ 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 -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ 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 -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] Email notifications not getting Out
Running nagios Core on SUSE linux 11. Nothing changed at LEAST to Nagios, and everything was working fine. Had an alert happen but never got an email for the alert. Verified in nagios.log, the notification was created but nothing ever shows up in /var/log/mail. Last time I show something in /var/log/mail, was Aug 23. Here is notification in nagios.log : [1314995299] SERVICE NOTIFICATION: nagiosadmin;localhost;Check BI Web;CRITICAL;notify-service-by-email;RESPONSE: CRITICAL - XXX.pepboys.com/d/ does not contain any data ( I tweaked the check to fail on purpose ) And as I said, nothing goes into /var/log/mail and our sendmail does not see the email request. I can send a mail message from the command line from the nagios server with no problem using the mail command. I have done a verify restart of Nagios but still no email. Is there anything else I can check from the Nagios side as to why the notification is not getting out? Thanks, Steve -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] wiki spam?
h I COULD stand to lose a few lbs. you didnt see anything there for Viagra tablets did you ;) Date: Wed, 3 Aug 2011 14:01:25 -0400 From: erek...@digiraticonsulting.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] wiki spam? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I was looking for something in the wiki, and happened upon this page: http://wiki.nagios.org/index.php/Diet_Coffee_-_How_To_Combine_Green_Tea_And_Weight_Loss Nagios Enterprises is really branching out, eh? - -- Keith Erekson Systems Engineer Digirati Consulting erek...@digiraticonsulting.com -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk45jPQACgkQNYHf3mzWKbFxlgCfVDG4smXj3RKUe0IIMbxVKTnw j00An09VK52WICT4FnkxYeaMobbVUpDY =4qEC -END PGP SIGNATURE- -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ 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 -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1___ 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] A question on status.cgi and resources
I am working on a pretty large distributed Nagios core deployment and have a question regarding resources. It appears that almost every morning @ about 7:20 am, my cpu usage goes from about 4% to about 25-40% . It will do this for a few hours and then go back to 4%. It appears to me that the issue is with wwwrun running status.cgi. I was wondering what would be going on during the morning at about the same time every day as opposed to 24hrs / day. I was looking for some kind of maintenance it could be doing or something but am not finding anything. I know there are no consoles open, 99.5 % of the checks the core server is processing are remote checks. I know my environment will require multiple core servers ( 700 remote sites, 15 clients / site , 20 +/- checks per client ) but have been working all along to tune the servers for the best efficiency. Are there any tuning parameters for status.cgi?? Thanks, Steve -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Mass Acknowledge a Service
I have a check that checks the size of multiple partitions and we recently added some data that surpassed the threshold value and I have over 100 clients alerting. There is nothing I can do about the space issue, it will go back to normal in a few weeks. Is it possible to acknowledge all 100 at once? I do have a service group associated with this check but dont see that it can be ack'ed all at once. Is it possible to edit the status.dat file with a reference to a host group instead of a host name to accomplish this? : servicecomment { host_name=str host_group = GROUPNAME HERE service_description=Legacy Partition Size entry_type=4 comment_id=129 source=0 persistent=0 entry_time=1305654252 expires=0 expire_time=0 author=Nagios Admin comment_data=known issue } -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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] Mass Acknowledge a Service
Hey Dan, Thanks for the heads up on multisite. Gonna dig into it and maybe install it or something like it. Thanks, Steve From: daniel.wittenberg.r...@statefarm.com To: nagios-users@lists.sourceforge.net Date: Tue, 17 May 2011 18:06:40 + Subject: Re: [Nagios-users] Mass Acknowledge a Service If you are using multisite for your interface you can filter the view to only show those and then ack them all at once. Dan From: steve f [mailto:a31mod...@hotmail.com] Sent: Tuesday, May 17, 2011 1:00 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Mass Acknowledge a Service I have a check that checks the size of multiple partitions and we recently added some data that surpassed the threshold value and I have over 100 clients alerting. There is nothing I can do about the space issue, it will go back to normal in a few weeks. Is it possible to acknowledge all 100 at once? I do have a service group associated with this check but dont see that it can be ack'ed all at once. Is it possible to edit the status.dat file with a reference to a host group instead of a host name to accomplish this? : servicecomment { host_name=str host_group = GROUPNAME HERE service_description=Legacy Partition Size entry_type=4 comment_id=129 source=0 persistent=0 entry_time=1305654252 expires=0 expire_time=0 author=Nagios Admin comment_data=known issue } -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ 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] A Question on wwwrun account httpd2-forks
I am just starting to deploy my production nagios core environment and have a question on wwwrun nagios. I have a distributed environment, 12 remote sites ( so far) each with 6-10 local hosts , one of which is the nagios distributed server. On my Nagios core server, I am looking at resources to see what the server is doing so I can plan out how many servers I ultimately need. I notice that I have 11 httpd2-fork processes running constantly, each using .3% of memory. Is the httpd2-prefork running only to allow external commands to be run from the web interface? Since I am running in a distributed environment, and all my checks are passive, do I need this to be running and or part of the nagcmd group? If I were to go into the web interface console to put a service or host into scheduled downtime for example, aren't I making that change on the core server ? Thanks, Steve -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd___ 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] A question on using a wildcard in a hostgroup.cfg file
I am trying to simplify my admin work for a large deployment we are doing right now of Nagios 3.2 Core in a SuSE Linux environment I have multiple hostgroups set up and wanted to use a wildcard in the member name since all of the devices that will be in a hostgroup are named the same except for the actual location part of the name. If I have each remote server listed explicitly ion the hostgroup file uder members, everything is fine. I turned on use_true_regexp_matching and use_regexp_matching and added this to my hostgroup.cfg file: define hostgroup{ hostgroup_name Remote_servers alias Remote Servers members *sa } I then did a verify of the nagios config it replied with this: Error: Could not find any host matching '*sa' (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) Error: Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) I tried multiple variations with wildcards both ? and * to no avail. If I STARTED the members list with the 1st couple of letters of the name of the hosts or just put only a* there, it works. Can anyone explain why I cant do this str*sa or strsa or *sa but I can do str* or * All of the hosts are named as such : strsa - were is a 4 digit number for the server location Thanks, Steve -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo___ 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] A question on using a wildcard in a hostgroup.cfg file
Gonna answer my own question. looks like if I do .sa it works. Thanks, Steve From: a31mod...@hotmail.com To: nagios-users@lists.sourceforge.net Date: Wed, 13 Apr 2011 11:36:18 -0400 Subject: [Nagios-users] A question on using a wildcard in a hostgroup.cfg file I am trying to simplify my admin work for a large deployment we are doing right now of Nagios 3.2 Core in a SuSE Linux environment I have multiple hostgroups set up and wanted to use a wildcard in the member name since all of the devices that will be in a hostgroup are named the same except for the actual location part of the name. If I have each remote server listed explicitly ion the hostgroup file uder members, everything is fine. I turned on use_true_regexp_matching and use_regexp_matching and added this to my hostgroup.cfg file: define hostgroup{ hostgroup_name Remote_servers alias Remote Servers members *sa } I then did a verify of the nagios config it replied with this: Error: Could not find any host matching '*sa' (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) Error: Could not expand members specified in hostgroup (config file '/usr/local/nagios/etc/objects/hostgroups.cfg', starting on line 47) I tried multiple variations with wildcards both ? and * to no avail. If I STARTED the members list with the 1st couple of letters of the name of the hosts or just put only a* there, it works. Can anyone explain why I cant do this str*sa or strsa or *sa but I can do str* or * All of the hosts are named as such : strsa - were is a 4 digit number for the server location Thanks, Steve -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ 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 -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo___ 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] Question on encryption for send_nsca
I have a small test Nagios 3.2 environment on a Suse platform ( 11 10 boxes )and was wondering about the encryption methods used. I am working fine with no encryption configured on host or central server. I am getting all of the checks on the console. Once I set it to any value other than 0 on both the server host, I no longer get anything on the central server. I've tried using the simple XOR and 3DES DES If I send a test job from the command line as per the instructions, with no encryption set ( not even simple XOR ) I see the reply in the nagios.log file on the Nagios server. If I set the encryption on both send the test job again,( restarting nagios on both) it says 1 packet was sent successfully but nothing shows up on the central server. I am still learning my way thru Suse Nagios so not sure if the encryption process is part of the send_nsca or Suse. I don't know what encryption is installed on the suse boxes or even how to check. Is there a way to test or check what encryption(s) are installed on the boxes? Since this is ultimately a totally private network, can I use the value of 0 for no encryption ? I know the cfg file explicitly says its not recommended Sorry for the stupid questions, but Nagios will do alot for my environment if I can get it squared away. Thanks for your time. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ 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] A question on using send_nsca
I am trying to send a test job to my nagios server from a monitored client using send_nsca. I am running suse linux 10 on both client nagios server. Currently, everything is working correctly from within nagios using send_nsca as I am set up as distributed environment. I am now in the process of taking some in house built scripts trying to send the results to nagios via send_nsca. My issue is, if I do this from the command line : /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg /tmp/test I see the check come across to the nagios server ( granted it doesn't know what to do with it as the info is not set up in Nagios. The /tmp/test file is nothing more than a tab delimited file as this : HOSTNAME TestMessage 0 This is a test message. What I have been trying to do is run the same thing above, without the redirect to a discrete file. Every way I try it it fails and just shows me the help page for send_nsca. Should I be able to do this some way like this ? /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg HOSTNAME TestMessage 0 This is a test message It appears that the format of the message is incorrect. I am not getting any tab in between the parameters. I have tried using a \t and [tab] but still not working. Also tried doing an echo -e of the above with a xargs but not correct. Blaming this actually on my scripting skills more than Nagios :) Can anyone shed some light / point me in a direction what I am doing wrong here? Thanks, Steve -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ 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] A question on using send_nsca
Thanks very much Jar, that worked regards, Steve From: jarlath.ly...@tideworks.com To: nagios-users@lists.sourceforge.net Date: Tue, 22 Mar 2011 17:22:05 + Subject: Re: [Nagios-users] A question on using send_nsca This example on a linux system should help …. [root@jlyonslx test_harness]# /usr/bin/printf HOST\tSERVICE\tCRITICAL\tMy Message \n | /usr/local/nagios/addons/nsca/send_nsca -H localhost -p 5667 -c ./nsca_send.cfg 1 data packet(s) sent to host successfull Jar Lyons Senior Software Engineer Tideworks Technology, Inc. (206) 344-3016 From: steve f [mailto:a31mod...@hotmail.com] Sent: Tuesday, March 22, 2011 10:09 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] A question on using send_nsca I am trying to send a test job to my nagios server from a monitored client using send_nsca. I am running suse linux 10 on both client nagios server. Currently, everything is working correctly from within nagios using send_nsca as I am set up as distributed environment. I am now in the process of taking some in house built scripts trying to send the results to nagios via send_nsca. My issue is, if I do this from the command line : /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg /tmp/test I see the check come across to the nagios server ( granted it doesn't know what to do with it as the info is not set up in Nagios. The /tmp/test file is nothing more than a tab delimited file as this : HOSTNAME TestMessage 0 This is a test message. What I have been trying to do is run the same thing above, without the redirect to a discrete file. Every way I try it it fails and just shows me the help page for send_nsca. Should I be able to do this some way like this ? /usr/local/nagios/bin/send_nsca -H NAGIOSSERVER -c /usr/local/nagios/etc/send_nsca.cfg HOSTNAME TestMessage 0 This is a test message It appears that the format of the message is incorrect. I am not getting any tab in between the parameters. I have tried using a \t and [tab] but still not working. Also tried doing an echo -e of the above with a xargs but not correct. Blaming this actually on my scripting skills more than Nagios :) Can anyone shed some light / point me in a direction what I am doing wrong here? Thanks, Steve -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ 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 attachment: image001.png-- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___ 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] ServiceGroup Best Practices Question
hello David, Not saying its the best way but I have a separate file in my objects dir called servicegroup.cfg where I set up as follows : define servicegroup{ servicegroup_name Legacy Checks alias Store Legacy Checks } then in my services.cfg file, I have a line added as follows : define service{ use generic-service servicegroups Legacy Checks I have multiple checks that I wanted to group together under a single service group heading. This is the only (?) way I found to do it. You can add the members ( hosts) to the servicegroup file and the checks but I found this way to be easier. if you create a separate file, dont forget to be sure its identified in your nagios .cfg file. If anyone has a better way to do this, would love to hear about it. This way does work for my config your mileage may vary. Good Luck, Steve From: d...@cayuga-cc.edu To: nagios-users@lists.sourceforge.net Date: Thu, 10 Mar 2011 15:25:32 -0500 Subject: [Nagios-users] ServiceGroup Best Practices Question I’m new to Nagios. Running Nagios 3.2.3. I want to start using Service Groups, but I’m not sure of the best place to put the service group definitions. What is making me question the location is eventually I will want to create a service group that contains services hosted on both Linux and Windows machines, so I’m thinking of creating a new config file to hold the service groups, then in nagios.cfg use cfg_file= to load it in after the Windows and Linux machines are loaded. Where do you create service groups? -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ 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 -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d___ 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] Ho to Deploy massively Nagios on more than 200 Windows servers?
We use SMS for Windows distributions and in our Linux world, we use Stratacache Omnicast. We deploy almost daily to 1000's of Linux boxes using Omnicast with almost 100% success. Best sw delivery method I have ever used. Steve From: ntou...@hotmail.com To: nagios-users@lists.sourceforge.net Date: Fri, 4 Mar 2011 10:53:52 + Subject: [Nagios-users] Ho to Deploy massively Nagios on more than 200 Windows servers? Hi Gurus,I have to deploy Nagios plugins on more than 200 Windows servers. Configuration: Nagios Server runs Nagios3.06 on linux Centos 5.5.So i would like to know how to do it massively instead of server by server ?Thanks for your help. ntou...@hotmail.com -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ 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 -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d___ 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 Core Remedy Ticketing Integration
Hello All, Has anyone integrated Nagios with BMC Remedy for ticket creation? I am looking at ARCPerl for this since our Remedy infrastructure is not set up to receive e-mails. Has anyone tried this? Any info / horror stories would be appreciated. Thanks, Steve -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ 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 on setting up a specialized status.cgi page
I stumbled upon the answer to my issue for a custom status page. What I was doing wrong was I created in the servicegroups.cfg file with a line called members members HOSTNAME1,check_1, check_2, check_3,check_4,check_5,HOSTNAME2, SAME 5 CHECKS AS HOST #1,HOSTNAME3,SAME This method did not work. I wound up removing the members line from the servicegroups.cfg file, just leaving the service group name the alias in the file and added the service group name to each define service for the 5 legacy_checks as follows : define service{ use generic-service servicegroups Legacy Checks hostgroup_name APP_servers contact_groups admins,legacy notification_optionsw,c active_checks_enabled 0 service_description Legacy CPU Load check_command check_legacy_cpu } This allowed me to get the service group for all different legacy checks I wanted. Then If I run the following url http://NAGIOS_SERVER/nagios/cgi-bin/status.cgi?servicegroup=Legacy+Checksservicestatustypes=16 I get the list of all legacy checks for all hosts and the critical ones only. Hopefully someone else can benefit from this info. Regards, Steve From: a31mod...@hotmail.com To: nagios-users@lists.sourceforge.net Date: Mon, 14 Feb 2011 17:35:57 -0500 Subject: Re: [Nagios-users] Question on setting up a specialized status.cgi page Thanks for your reply Jim, I tried to set up the servicegroup as follows : define servicegroup { servicegroup_name Legacy_Checks aliasLegacy Checks members HOSTNAME1,check_1, check_2, check_3,check_4,check_5,HOSTNAME2, SAME 5 CHECKS AS HOST #1,HOSTNAME3,SAME } I assume that the service group will only work with a single check for multiple hosts as if I removed all of the checks but 1, it will work. This however will not work for what I am trying to do. Thanks, Steve Date: Sat, 12 Feb 2011 10:09:26 + From: j...@jimavery.me.uk To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Question on setting up a specialized status.cgi page What was is about servicegroups which didn't work for you? That's what I'd look at first. Jim -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ 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] A question on my distributed server set up
So far everything has been working fine in my test distributed environment. Getting ready to go live with it as soon as a new server is build for the central server. On my distributed set up however. In /var/log/nagios/nagios.log, I see 2 entries for every check as shown below. Are these both supposed to be in there or am I checking my services twice ? EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;7924server102;POS Queue File Size;0;OK - All POS queue files are fine then a few lines further down I see PASSIVE SERVICE CHECK: 7924server102;POS Queue File Size;0;OK - All POS queue files are fine I am starting to 2nd guess my configuration here. In my haste to get it running, am I configured incorrectly?? Thanks, Steve -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ 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] A question on my distributed server set up
hey Daniel, Thanks for the follow up, it does make sense but as I get closer to going into production with this , I start looking at stuff trying to make sure I am as streamlined as possible and seeing stuff like that makes me wonder if its right or not. Just me being anal I hope, Thanks Again for the input. Steve Date: Tue, 15 Feb 2011 15:00:36 -0700 From: daniel.wittenberg.r...@statefarm.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] A question on my distributed server set up That looks right. First nagios is telling you that it has received an external command, and the value is X. Then it is telling you that it is processing the results of the passive check. Does that make sense? Dan From: steve f [mailto:a31mod...@hotmail.com] Sent: Tuesday, February 15, 2011 3:51 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] A question on my distributed server set up So far everything has been working fine in my test distributed environment. Getting ready to go live with it as soon as a new server is build for the central server. On my distributed set up however. In /var/log/nagios/nagios.log, I see 2 entries for every check as shown below. Are these both supposed to be in there or am I checking my services twice ? EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;7924server102;POS Queue File Size;0;OK - All POS queue files are fine then a few lines further down I see PASSIVE SERVICE CHECK: 7924server102;POS Queue File Size;0;OK - All POS queue files are fine I am starting to 2nd guess my configuration here. In my haste to get it running, am I configured incorrectly?? Thanks, Steve -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ 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] Question on setting up a specialized status.cgi page
Hello All, I have say 20 hosts that among their checks they each run the same 5 checks on a SCO Unix machine at their location via an rsh script. For example, I rsh to the sco box, do a sar on it and report the results back and determine if the cpu on the sco box is high. These check reports as a check from the host and is called Legacy CPU. I wanted to set up a status.cgi page that the people responsible for the legacy stuff could look at and see the status of all 5 Legacy_XXX checks on one status page. I have not been able to figure out how to get this page to display. I have tried setting up a servicegroup, manually playing with the statustypes, looking into doing it via extinfo.cgi and have come up empty handed. These hosts have a bunch of checks coming back from them into the console but I wanted to just have some sort of Legacy Check Service group screen. I think I am missing something easy here and may be trying to over engineer this Thanks, Steve -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ 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_procs
I assume you want check_procs -w ( warning value ) -c ( critical value ) -C ( NAME OF PROCESS TO CHECK) do check_procs --help to see all of the options From: s...@247emaildata.com To: nagios-users@lists.sourceforge.net Date: Thu, 10 Feb 2011 10:58:46 + Subject: [Nagios-users] check_procs HiI have installed nagios software to monitor my network, I want to know that if there is a plugin to monitor a specific process, for example I want to monitor the pmta or tcp or apache, please guide me as I have no idea how to do that, Thanks Regards Sajjad AliNetwork Administrator247EmailData.com Tel: 0800 043 2460Fax: 01246 351258Email: s...@247emaildata.com VAT No. 918 3521 24 Registered in England No. 6411606 Registered office address: Tapton Park Innovation Centre, Brimington Road, Chesterfield, S41 0TZ Email Disclaimer This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of 247EmailData.com. 247EmailData.com does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the 247EmailData.com finance office. __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 attachment: image001.jpgattachment: image002.jpg-- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ 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] Manage notifications
BR, Try setting your service notification setting as follows to allow notification of only critical when you define your service : notification_option c Steve Date: Wed, 9 Feb 2011 14:41:32 +0100 From: luc.maig...@winxpert.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Manage notifications Hi, On my configuration, all notifications (warning + error) are sent. Is there a way to notify errors but not warnings ? BR -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ 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] Manage notifications
You could do it for individual contacts then put those contacts into a contact group define contact{ service_notification_options[w,u,c,r,f,s,n] service_notification_options: This directive is used to define the service states for which notifications can be sent out to this contact. Valid options are a combination of one or more of the following: w = notify on WARNING service states, u = notify on UNKNOWN service states, c = notify on CRITICAL service states, r = notify on service recoveries (OK states), and f = notify when the service starts and stops flapping. If you specify n (none) as an option, the contact will not receive any type of service notifications. Steve Date: Wed, 9 Feb 2011 09:22:34 -0500 From: aengelm...@libertymgt.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Manage notifications I have yet to customize that. But here is what I got from Yueh-Hung Liu on that subject: http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details -Original Message- From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] Sent: Wednesday, February 09, 2011 9:09 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Manage notifications OK, fine. Is it possible to do this only for a contact_group ? (one contact_group that will receive all alerts, and one that will receive only criticals ) Many thanks Le 09/02/11 14:54, Engelmann, Austin a écrit : In my templates.cfg under Service Templates I changed notification_options w,c,r, take the w out and that leaves Critical and Recovery -Original Message- From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] Sent: Wednesday, February 09, 2011 8:42 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Manage notifications Hi, On my configuration, all notifications (warning + error) are sent. Is there a way to notify errors but not warnings ? BR -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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] Warning Alerts
You could set up a Nagios Escalation Notification AKA The Throw you Under the Bus Notification where a secondary group ( tertiary, quaternary, quinary, senary, septenary, octonary, nonary, etc ) of people ( techs, managers, etc ) get notified if an alert has not been addressed for x amount of time. http://nagios.sourceforge.net/docs/1_0/escalations.html Steve Date: Mon, 7 Feb 2011 09:54:52 -0500 From: aengelm...@libertymgt.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Warning Alerts I have an admin that does not pay very much attention to our Nagios and Cacti servers. If he paid any attention he would have noticed a warning about disk space on our email server and would have investigated and solved the problem before it became critical. Is it possible to setup different alerts for warnings? I would like to setup a warning template to have a quick message like, Better Check Nagios!!! And I would send these alerts to all of our admins because this individual is more responsive when light is shed on issues. On that subject, is it possible to monitor and alert for a sudden change in disk space? Our situation is that within 2 days we lost over 80 GB of space and it wasn't until I looked at Nagios that we became aware of the issue. Regards, Austin -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ 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 modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb___ 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] Warning Alerts
Another possible option that may help keep the problems in the faces of the admin is the Firefox or Chrome plugin called Nagios Checker. A statusbar indicator of the Nagios console shows warnings, criticals in the browser taskbar. Its a nice little tool Steve Date: Mon, 7 Feb 2011 10:55:29 -0500 From: aengelm...@libertymgt.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Warning Alerts I definitely considered escalations; I was actually reading more about it this morning. At the moment I have alerts for Hosts and Services alerting every 10 minutes (I am keeping the very simple function of acknowledgements a secret for now). The other guys on my team know not to acknowledge anything until some real work is done toward troubleshooting. I was thinking of keeping it simple and hoping that a separate command can be setup to email on warnings (I will customize the MSG that is sent out). I figure that if this person is not keen on browsing the monitoring systems on a daily basis, that alerting on the warnings would be a good training mechanism for him. Can there be a separate command for alerting on warnings only? From: steve f [mailto:a31mod...@hotmail.com] Sent: Monday, February 07, 2011 10:41 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Warning Alerts You could set up a Nagios Escalation Notification AKA The Throw you Under the Bus Notification where a secondary group ( tertiary, quaternary, quinary, senary, septenary, octonary, nonary, etc ) of people ( techs, managers, etc ) get notified if an alert has not been addressed for x amount of time. http://nagios.sourceforge.net/docs/1_0/escalations.html Steve Date: Mon, 7 Feb 2011 09:54:52 -0500 From: aengelm...@libertymgt.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Warning Alerts I have an admin that does not pay very much attention to our Nagios and Cacti servers. If he paid any attention he would have noticed a warning about disk space on our email server and would have investigated and solved the problem before it became critical. Is it possible to setup different alerts for warnings? I would like to setup a warning template to have a quick message like, Better Check Nagios!!! And I would send these alerts to all of our admins because this individual is more responsive when light is shed on issues. On that subject, is it possible to monitor and alert for a sudden change in disk space? Our situation is that within 2 days we lost over 80 GB of space and it wasn't until I looked at Nagios that we became aware of the issue. Regards, Austin -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ 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 modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ 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 modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb___ 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
Most plugins time out after 10 seconds of not being able to contact a service (FTP, HTTP, etc). If the plugins are timing out after a short period of time, increase the timeout value for the plugin using the appropriate command line argument for that plugin. Try using a -t 12. I think that only the plugin timeout default value is 10 seconds, the other timeouts are higher. Someone else smarter than me can verify that. Is this check_http failing every time now or only occasionally ? Try running the check to a different site and see if those fail as well. Is the server possibly busy at the same time?? Let us know what you find out. Steve Date: Tue, 1 Feb 2011 18:30:55 -0500 From: akpg...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds Hi all - I have been using nagios for a while to check whether some our web sites are up and running following is the line from the commands.cfg command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u /siteName -S -v It was working fine. Starting this afternoon, it started giving Socket time out. Logs have no information. Can you please share your experiences ? Regards -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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 -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ 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] Unique Email Notification for Service Escalation??
Is it possible to create a unique email notification for a serviceescalation ? I defined my serviceescalation and the contact group and verified after the set number of first_notification, my escalation group got the email notification of the alert. What I want to do, is send a unique email message if its an escalation. In commands.cfg I added the following : # 'service-escalation-by-email' command definition define command{ command_nameservice-escalation-by-email command_line/usr/bin/printf %b * Nagios Service Escalation *\n\nNotification Type: $NOTIFICATIONTYPE$ Escalation\n\nService: $ SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nT HIS IS A SERVICE ESCALATION. YOU ARE BEING NOTIFIED BECAUSE THE ALERT HAS NOT BEEN ADDRESSED YET. | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert Escalation: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } Now, I see in the contact definition, there is service_notification_commands where I assume I could define the server-escalation-by-email and get the new email sent to the contact, but that option is not shown in the contact group definition. Can I just add the service_notification_command directive in the group definition?? Thanks, Steve -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ 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 printer status with nagios?
FYI http://nagios.sourceforge.net/docs/3_0/monitoring-printers.html This document describes how you can monitor the status of networked printers. Specifically, HP printers that have internal/external JetDirect cards/devices, or other print servers (like the Troy PocketPro 100S or the Netgear PS101) that support the JetDirect protocol. The check_hpjd plugin (which is part of the standard Nagios plugins distribution) allows you to monitor the status of JetDirect-capable printers which have SNMP enabled. The plugin is capable of detecting the following printer states: Paper JamOut of PaperPrinter OfflineIntervention RequiredToner LowInsufficient MemoryOpen DoorOutput Tray is Fulland more... Steve -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ 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] AKCP plugin
If the error you are talking about is the too few options , then the problem appears to be that you did not include a -P for the port did not include a critical and warning values [r...@nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Steve Date: Tue, 4 Jan 2011 07:48:08 -0600 From: alexdeha...@gmail.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] AKCP plugin What is the error message? On Tue, Jan 4, 2011 at 7:38 AM, moses neah mssn...@yahoo.com wrote: Hi All, Has any one use this plugin? I run the below command and got error. I have install the plugin and defined the command. [r...@nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Usage: check_akcp.pl -h check_akcp.pl --man check_akcp.pl -H host -P Port [-w warning] [-c critical] Options: -h Display this helpmessage. -H The hostname or ipaddress of the akcp device. -C The snmp community of the akcp device. -P The port where the probe is connected to. -w The warning threshold. -c The critical threshold. --man Displays the complete perldoc manpage. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ 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] The right value check_ping comm and
The 5 ping value is written in the check as the default value. If you do not add any -p value, it pings the host 5x. Just like if you do not add a -t value for a timeout for a check, it defaults to 10 seconds. You can look at the source code for the check_ping here : http://nagios-plugins.sourcearchive.com/documentation/1.4/check__ping_8c-source.html Steve -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ 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] A Question on Console Alerts for a Help Desk
Thanks very much for the replies. This is the answer I was looking for with the external commands. After reading my orig posting, I did realize I didnt want to ack it but schedule/reschedule the check. Your answers will put me where I need to be. Thanks Jim Joerg Happy New Years All Steve Date: Wed, 29 Dec 2010 18:10:17 +0100 From: pitchf...@ederdrom.de To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] A Question on Console Alerts for a Help Desk Jim Avery wrote: On 29 December 2010 15:51, steve fa31mod...@hotmail.com wrote: The Help Desk uses a menu to stop restart services, etc. Is it feasible ( realistic ) for the menu command to add a snippet of code to put the nagios check for that service/host in awk mode for say 5 minutes so anyone who sees the alert on the screen would know that its being addressed? Is there an easier way to do this? There isn't an easy way to ack it for 5 minutes, as you can't ack it until it's in a hard state. I would instead get your menu script to schedule downtime in Nagios for that service for 5 minutes by submitting an external command to Nagios. I would say this is a feasible and realistic thing to do, yes. But .. I don't know how you operate your distributed Nagios setup. So long as only one of your Nagios servers is used for the web front-end this should be easy. If various people use various of the distributed Nagios servers for their web front end it could be a challenge setting up your menu system to submit the external command to the right server. See: http://nagios.sourceforge.net/docs/3_0/extcommands.html Instead of scheduling downtime its also possible reschedule the next service checks to now + 15minutes for example. http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=30 Joerg -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ 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] tracing nagios actions
Mark, I think Salvatore means run the check manually from the command line , make sure you run it as the nagios user and try setting tha warning critical values to something that will make it fail also: /usr/local/nagios/libexec ./check_disk -w 50 -c 70 -p /home DISK OK - free space: /home 440 MB (95% inode=99%);| /home=20MB;436;416;0;486 The -p just checks a specific path. ( FYI ) Steve Date: Mon, 20 Dec 2010 11:50:14 -0500 From: gopearl...@gmail.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] tracing nagios actions Hi Salvatore, They're all Unix (Redhat) servers. By check command do you mean nagios -v? I've done that and I do not get an errors. Thanks,Mark On Mon, Dec 20, 2010 at 11:35 AM, Polifemo, Salvatore polife...@conedsolutions.com wrote: Are these Windows or *nix server? Either wau run the check command manually from a console and see what the results are. Salvatore Polifemo Sr. Systems Security Specialist ConEdison Solutions 100 Summit Lake Drive Valhalla, NY 10595 From: mark bradley [mailto:gopearl...@gmail.com] Sent: Monday, December 20, 2010 11:14 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] tracing nagios actions Hi, I have a small-ish number of servers and I've tried to configure Nagios to warn me about disk-space running low. The problem is that, although disk space is above both warning and critical levels I'm not getting any notifications. The nagios.log file is silent on the topic and nagios -v does not produce any errors or warnings. Is there a way to trace what actions nagios is considering (much like make -n) in order to debug this problem? Is there a debugging methodology defined somewhere? If it's in your head can you share? Thanks, Mark -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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 -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ 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 -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d___ 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 training?
if you have not yet picked it up, I would recommend getting Learning Nagios 3.0 ( assuming you are using 3.0 ) by Wojciech Kocjan. Has clarified alot ( but not all ) questions I have. Steve Date: Fri, 29 Oct 2010 09:15:01 -0500 From: chrishud...@gmail.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Nagios training? Well yes, that is what I am currently doing (grin). Just wanted to see if anyone knew of anything a bit more structured. :-) Thanks, Chris On Fri, Oct 29, 2010 at 9:08 AM, Assaf Flatto nag...@flatto.net wrote: I was unaware that such a thing exist , most of us just read the documentation , buy a book and muck about and learn it as we go along ( oh, and annoy the other members of the group for help :-) ). Assaf On 29/10/10 14:57, Chris Hudson wrote: My employer has ok'ed me getting Nagios training, and has told me that web-based training is preferred. Anyone have any suggestions for good Nagios training courses? Thanks, Chris -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ 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 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ 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] Question on setting up my own check
Hello All, I have the following script created to check free space on a remote legacy box via rsh. used=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $4}'` free=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $5}'` full=`echo $(($used+$free))` percent=`echo $((( $free * 100 ) / $full))` warn=`echo $((( $full * $2 ) / 100 ))` crit=`echo $((( $full * $3 ) / 100 ))` if [ $warn -gt $crit -o $warn -eq $crit ]; then echo Unknown: [crit] must be larger than [warn] exit 3 fi if [ $used -lt $warn -o $used -eq $warn ]; then echo OK. Free Space: `sudo rsh $1 df -v |grep starlite6 |head -1 | awk '{print $5}'`B, $percent% exit 0 elif [ $used -gt $warn -a $used -lt $crit ]; then echo Warning. Free Space: `sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $5}'`B, $percent% exit 1 elif [ $used -gt $crit ]; then echo Critical. Free Space: `sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $5}'`B, $percent% exit 2 else echo Unknown exit 3 fi If I run this from the command line, I get the following response: /usr/local/nagios/libexec # ./check_starlite_size LEGACYBOX 70 80 Critical. Free Space: 51090B, 2% if nagios runs the script , I keep getting an unknown result on the central server ( distributed environment btw) from nagios.log on central server: [1287511053] PASSIVE SERVICE CHECK: strsa;Starlite Size;3;Unknown I assume that the issue is an incorrect format for the send_nsca file but cant figure out how to set it up correctly. I have the check added on the distributed server the central server in command.cfg services.cfg and the check does run so I assume its correct from that aspect, just not an expected format/info .. Can anyone tell me what I am missing here ? Thanks, Steve -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ 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 on setting up my own check
Spent some more time with it now getting a little closer I added this to my script on the dist server running the check: CLOCK=`date +%s` HOST=$1 SVC=Starlite Size STATUS=$3 OUTPUT=$4 Changed the following lines exit 0 toSTATUS=0 exit 1 toSTATUS=1 exit 2 toSTATUS=2 exit 3 to STATUS=3 the line(s) echo OK. Free Space: `sudo rsh $1 df -v |grep starlite6 |head -1 | awk '{print $5}'`B, $percent% to OUTPUT=OK. Free Space: `sudo rsh $1 df -v |grep starlite6 |head -1 | awk '{print $5}'`B, $percent% running the script manually gives me : [1287522364] PROCESS_SERVICE_CHECK_RESULT;str;Starlite Size;2;Critical. Free Space: 51050B, 2% Up on the central server, I am still getting unknown but a value of null Closer I think but still not there. Does the central server have to have the exact same check script on it or in a passive check, does the central server only care about the results? Thanks, Steve -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev___ 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] Question on Distributed Setup for hosts hostgroups
I am building a package to send out to 500 locations to set up a distributed Nagios 3.2 environment. I have scripts written that when the nagios package is dropped in a location, the script creates a hosts.cfg a hostgroup.cfg file on the remote distributed server for the hosts he will monitor. I just want to be 100 % sure that if the central server is not doing active checks, does the central server still have to have every remote host listed in its hosts.cfg and the hostgroup.cfg files? Thanks, Steve -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ 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] Question on Using check_disk for multiple partitions
I have a need to check about 10 server partitions on 1200 servers in a distributed Nagios environment. Down the road, I would probably use event handlers to correct known space issues for certain partitions. My question is is it significantly more efficient to check all of the partitions in a single check or seperate checks ? All of the servers being checked are identical in configuration build and all have the same partitions. If I run this service check : check_command check_space!15%!10%!/opt!/tmp!/VMware!/test!/var!/work!/steve!/partition1 With this in commands.cfg : define command { command_namecheck_space command_line$USER1$/check_by_ssh -H $HOSTNAME$ -C /usr/local/nagios /libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -p $ARG4$ -p $ARG5$ -p $ARG6$ -p $ARG7$ -p $ARG8$ -q } This does work, but I am wondering if I am running the check 1x for each partition listed or is it running 1x and giving me back all partition info. ( kind of like a df -h ) Also, if I run it like this, is there an easy way to configure event handlers to run for the specific partition that has alerted? Since a space issue in /tmp is not due to the same issue that /work fills up. Thanks, Steve -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd___ 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] Host Groups / Definitions
Gonna take a stab at this for you. Newer Nagios guy here as well. Here is a basic start You use a hostgroup.cfg file to create a group i.e define hostgroup{ hostgroup_name Remote_Hosts alias Remote Hosts members list names of all the windows servers here seperated by commas } Now in your service.cfg or command.cfg file, where it says host_name, you replace the entire host_name line with the following : # host_name some windows server name hostgroup_name Remote_Hosts Make sure your nagios.cfg file shows the path top the hostgroup.cfg file Verify the config restart/reload nagios. Now the check you do will run against the hostgroup instead of a rambling list of hosts. Hope this helps, Steve From: shane.kill...@irishjobs.ie To: nagios-users@lists.sourceforge.net Date: Tue, 17 Aug 2010 16:13:32 +0100 Subject: [Nagios-users] Host Groups / Definitions Hi guys, I’m monitoring a number of Windows servers and so far I am using only the templates provided. I would like to split my servers up using host groups so I will have each site and then the datacentre.I’m not sure how to go about this… although I have read the documentation I’m not understanding. Could someone please briefly outline this? Thanks for your help! Kind Regards, Shane E-mail Disclaimer: The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. This mail and any attachments have been scanned for viruses prior to leaving the network of saongroup.com saongroup.com will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on. saongroup.com reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorized use of its system and ensuring its effective operation. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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 Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ 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] ? on Distributed Server Config
I was hoping to find some more detailed info on setting up nsca for distributed server config. Anyone know of some documentation besides whats in the Nagios 3.x docs, either on line or book ? I just seem to be missing the connection between the send_nsca plugin and the actual plugin running on the box I want to monitor from the central server. Here is my issue: I have my central server set up ( call it nagios1), 1 dist server with bare bones nagios set up running on it ( call it nagiosdist1). I have been able to send an nsca message to central server by running the following from a script : #!/bin/bash CFG=//usr/local/nagios/etc/send_nsca.cfg CMD=nagiosdist1;named;3;UNKNOWN - just an NSCA test /bin/echo $CMD | /usr/local/nagios/bin/send_nsca -H nagios1 -d ';' -c $CFG So now that I have nsca communication, what I want to be able to do is this using nsca from nagiosdist1, send check results from a linux pc to the central server. I have all of the plugins on the linux pc and have successfully run the following from the command line from the nagiosdist1 server ( before I configured it as a nsca server) ./check_by_ssh -H IP_OF_LINUX_PC -C '/usr/local/nagios/libexec/check_load -w 5.0 -c 10.0' -q I assume I should be able to run this with an nsca wrapper get it up to the central server would t be as simple as this in the services.cfg on the dist server? define service { use generic-service host_name LINUX_PC service_description Current Load via ssh check_command submit_check_result!check_ssh_load!5.0,4.0,3. 0!10.0,6.0,4.0 } Thanks, Steve _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Going Nuts trying to get check_by_ssh to work
Thanks for your help with this. I commented out the sshd.conf section calling for a banner resent the following successfully: /usr/local/nagios/libexec ./check_by_ssh -H 10.X.XXX.XXX -C '/usr/local/nagios/libexec/check_load -w 5.0 -c 10.0' OK - load average: 0.12, 0.15, 0.16|load1=0.120;5.000;10.000;0; load5=0.150;5.000;10.000;0; load15=0.160;5.000;10.000;0; Edited the nagios cfg files looks good now. I cannot run my clients without the banner , due to SOX PCI compliance. So, what I was able to do is run the check_by_ssh plugin with the -q option and after putting the banner piece back in, the check works perfect. ./check_by_ssh -H 10.xxx.xxx.xxx -C '/usr/local/nagios/libexec/check_load -w 5.0 -c 10.0' -q OK - load average: 0.55, 0.33, 0.22|load1=0.550;5.000;10.000;0; load5=0.330;5.000;10.000;0; load15=0.220;5.000;10.000;0; Again, thanks for your involvement getting this resolved, Rod Benny. Hopefully it helps someone else down the road. Regards, Steve Date: Tue, 13 Jul 2010 16:57:49 -0700 From: raand...@cyber-office.net To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work On 07/13/2010 04:03 PM, C. Bensend wrote: If I remember, that line is in the sshd.config for the auth users banner. I should be able to comment it out to test it. Didn't think about that... I'll dial in when I get home try it.. If you're running a recent release of OpenSSH, you might be able to use a match directive to skip the banner for connections originating with your Nagios server... Off the top of my head, I don't recall if that is one of the options you can override with match. The simplest way I've found to avoid the banner is to do it like this. ssh r...@host.example.com 'cat /etc/rsyslog.conf' \\||/ Rod -- Please let us know what happens! Benny -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Going Nuts trying to get check_by_ssh to work
Hello All, have been banging my head against the wall trying to get check_by_ssh to work. No matter what I try to do, I keep getting Remote command execution failed: . I have verified that I can ssh to the remote pc from the server as both root the nagios user with no problem or password request so the key gen is fine. If I run check_ssh -H hostname, I gt back a response so I also know ssh is running ok on the target machine. Do not see any issues in the logs, as far as I can tell, it should be working fine. Am I missing something here? I have tried running the check_by_ssh plugin from the command line with no success , specifying ports, protocol, user, etc ./check_by_ssh -H pbylinux7 -C '/usr/local/nagios/libexec/check_ssh' -2 -4 -p 22 and have created the following check : services.cfg define service { use local-service ; check current load on machine hostgroup_name ssh-nagios-services service_description Current Load check_command check_ssh_load!5.0,4.0,3.0!10.0,6.0,4.0 } in command.cfg # 'check_ssh_load' command definition define command { command_namecheck_ssh_load command_line$USER1$/check_by_ssh -H $HOSTADDRESS$ -C /usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$ } hostgroup has also been added _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Going Nuts trying to get check_by_ssh to work
Thanks for the reply, yes I have tried it with both ip name with the same results. I assume that the command line check should work as I have written it here correct? /usr/local/nagios/libexec ./check_by_ssh -H 172.xx.xx.xx -C '/usr/local/nagios/libexec/check_users -w 5 -c 8' -l nagios -2 -4 Remote command execution failed: I do see on the client in /var/log/secure log : sshd[7044]: Accepted publickey for nagios from 172.xx.xx.xx port 42117 ssh2 so this should mean the ssh was successful correct? Steve _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Going Nuts trying to get check_by_ssh to work
yes running the check on the client works fine : /usr/local/nagios/libexec ./check_users -w 5 -c 8 USERS OK - 1 users currently logged in |users=1;5;8;0 I am beginning to think it has to be something really stupid... Thanks, Steve Date: Tue, 13 Jul 2010 15:52:06 -0500 From: be...@bennyvision.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work Thanks for the reply, yes I have tried it with both ip name with the same results. I assume that the command line check should work as I have written it here correct? /usr/local/nagios/libexec ./check_by_ssh -H 172.xx.xx.xx -C '/usr/local/nagios/libexec/check_users -w 5 -c 8' -l nagios -2 -4 Remote command execution failed: I do see on the client in /var/log/secure log : sshd[7044]: Accepted publickey for nagios from 172.xx.xx.xx port 42117 ssh2 so this should mean the ssh was successful correct? If that's the case, yes, your authentication is fine. As the nagios user on the remote host, *copy-and-pasting* that exact command (inside the single quotes) into the shell works? Benny -- Well, we *could* hunt down the perpetrators, pool some $$, and hire 3 or 4 baseball-bat wielding professional explainers to go explain our position to them. Figuring out how to do so without breaking any laws is the tough part... -- Valdis Kletnieks, 2009-01-23 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Going Nuts trying to get check_by_ssh to work
I also tried this as well from the server , which does work ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8 Authorized users only. USERS OK - 0 users currently logged in |users=0;5;8;0 This tells me that 1. ssh as Nagios works 2. the check_users script runs on the remote client fine 3. 2 - way communication is good between the client sever as I got the response back I am thinking there has to be something funky in the check_by_ssh script. Sound right ?? Date: Tue, 13 Jul 2010 15:52:06 -0500 From: be...@bennyvision.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work Thanks for the reply, yes I have tried it with both ip name with the same results. I assume that the command line check should work as I have written it here correct? /usr/local/nagios/libexec ./check_by_ssh -H 172.xx.xx.xx -C '/usr/local/nagios/libexec/check_users -w 5 -c 8' -l nagios -2 -4 Remote command execution failed: I do see on the client in /var/log/secure log : sshd[7044]: Accepted publickey for nagios from 172.xx.xx.xx port 42117 ssh2 so this should mean the ssh was successful correct? If that's the case, yes, your authentication is fine. As the nagios user on the remote host, *copy-and-pasting* that exact command (inside the single quotes) into the shell works? Benny -- Well, we *could* hunt down the perpetrators, pool some $$, and hire 3 or 4 baseball-bat wielding professional explainers to go explain our position to them. Figuring out how to do so without breaking any laws is the tough part... -- Valdis Kletnieks, 2009-01-23 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 _ Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Going Nuts trying to get check_by_ssh to work
If I remember, that line is in the sshd.config for the auth users banner. I should be able to comment it out to test it. Didn't think about that... I'll dial in when I get home try it.. Thanks Benny for the info, Steve Date: Tue, 13 Jul 2010 17:22:35 -0500 From: be...@bennyvision.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Going Nuts trying to get check_by_ssh to work I also tried this as well from the server , which does work ssh 172.xx.xx.xx /usr/local/nagios/libexec/check_users -w 5 -c 8 Authorized users only. USERS OK - 0 users currently logged in |users=0;5;8;0 This tells me that 1. ssh as Nagios works 2. the check_users script runs on the remote client fine 3. 2 - way communication is good between the client sever as I got the response back I am thinking there has to be something funky in the check_by_ssh script. Sound right ?? Waitaminute... Where did that Authorized users only part come from? Nagios expects a single line of text, and SSH commands typically don't display banners (in my experience). Is that a banner that appears from the remote host? I wonder if that is confusing things. Can it be temporarily disabled to see if it changes the behavior? Benny -- Well, we *could* hunt down the perpetrators, pool some $$, and hire 3 or 4 baseball-bat wielding professional explainers to go explain our position to them. Figuring out how to do so without breaking any laws is the tough part... -- Valdis Kletnieks, 2009-01-23 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Questions on Distributed / Remote Monitoring
In my environment, I have over 400 remote locations, each with 2 servers 15 linux clients. I have set up a Nagios 3 host server here at corporate running NRPE to monitor the servers at each location. I also want to monitor the 15 linux clients at each location, I wanted to have one of the servers in each remote location check the clients and report to the host Nagios server instead of having all report back. Would each local server have to have nagios core installed to monitor the local clients? And then report back to the main core server ? Can the NRPE running on the local server be used to check the client then report it back to the host server? Could I use a check_by_ssh from the local server to the client and still get the info back to the main Nagios server? Should I run NSCA to get passive checks from the clients to the main server? I assume with nsca, each client would have to still report back, if so, I might as well just use active checks. Could I do a multiple parent-child with the main server being a parent to each remote server each remote server being a parent to all of the local clients? I am looking for the most straightforward least taxing way to the admin ( me ) and the systems/network to do this. Thanks, Steve _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Can I Configure the NRPE Plugins without check_pgsql?
So I am installing the Nagios NRPE addon on a SuSE 8 server. When I try to do the nagios-plugins-1.4.14 configure, I error out every time for missing pg_config_manual.h If I am not running pgsql on the box, is there a way to get the plugins compiled? I know I can do the config with the --with-pgsql=DIR option to point to the correct location but how can I not install the check_pgsql plugin? Can I remove it from the plugins dir in the nagios-plugins-1.4.14/plugins dir before I do the configure? Can I ignore the error for this during the ./configure just continue on with the configure? ( I assume when the error happens, it stops the config at that point) gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include/pgsql -I/usr/include -DNP_VERSION='1.4.14' -g -O2 -MT check_pgsql.o -MD -MP -MF .deps/check_pgsql.Tpo -c -o check_pgsql.o check_pgsql.c check_pgsql.c:40:30: pg_config_manual.h: No such file or directory make[2]: *** [check_pgsql.o] Error 1 make[2]: Leaving directory `/home/tech/fiedle/nagios_downloads/nagios-plugins-1.4.14/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tech/fiedle/nagios_downloads/nagios-plugins-1.4.14' make: *** [all] Error 2 Thanks, Steve _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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 Configure the NRPE Plugins without check_pgsql?
That did it ! Thanks Darren Steve Date: Wed, 30 Jun 2010 14:22:01 -0400 From: dar...@brucetelecom.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Can I Configure the NRPE Plugins without check_pgsql? ./configure --without-pgsql On 6/30/2010 2:12 PM, steve f wrote: So I am installing the Nagios NRPE addon on a SuSE 8 server. When I try to do the nagios-plugins-1.4.14 configure, I error out every time for missing pg_config_manual.h If I am not running pgsql on the box, is there a way to get the plugins compiled? I know I can do the config with the --with-pgsql=DIR option to point to the correct location but how can I not install the check_pgsql plugin? Can I remove it from the plugins dir in the nagios-plugins-1.4.14/plugins dir before I do the configure? Can I ignore the error for this during the ./configure just continue on with the configure? ( I assume when the error happens, it stops the config at that point) gcc -DLOCALEDIR=\/usr/local/nagios/share/locale\ -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include/pgsql -I/usr/include -DNP_VERSION='1.4.14' -g -O2 -MT check_pgsql.o -MD -MP -MF .deps/check_pgsql.Tpo -c -o check_pgsql.o check_pgsql.c check_pgsql.c:40:30: pg_config_manual.h: No such file or directory make[2]: *** [check_pgsql.o] Error 1 make[2]: Leaving directory `/home/tech/fiedle/nagios_downloads/nagios-plugins-1.4.14/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tech/fiedle/nagios_downloads/nagios-plugins-1.4.14' make: *** [all] Error 2 Thanks, Steve The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. Get busy. -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ 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 Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3-- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ 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] Regarding receiving the mail from Nagios
Have you verified that the server Nagios is running on can send a test email from the command line? Steve From: navee...@philips.com To: nagios-users@lists.sourceforge.net Date: Tue, 15 Jun 2010 17:55:07 +0200 Subject: [Nagios-users] Regarding receiving the mail from Nagios Dear All, I newly configured Nagios and I’m very new to this tool. I have configured my email address (i.e. navee...@philips.com), and when I try to send the test mail, it says But till now I have not received any mails as such. I also tried changing the email address to my general email ( I.e. naveen...@gmail.com), but no go. Can you please guide me in receiving the mail to my inbox. Thank you in advance. Warm regards, Naveen.R., Philips Consumer Lifestyle, Philips Innovation Campus, Philips Electronics India Ltd, Manyata Tech Park, Nagavara, Bangalore - 560045. Ph: +91 80 40162000 Extn: 2718 Mobile: 9663320455 Email: navee...@philips.com intranet: http://pww.bangalore.philips.com, internet: http://www.bangalore.philips.com The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. _ Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_2attachment: image001.pngattachment: image002.png-- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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 Postemsg
Hello All, I am currently looking for an alternative to using Tivoli , TEC postemsg for a rather large ( 6000 + ) remote environment. I have had great success with Nagios in my small local/remote test environment and the obvious cost savings without having TEC anymore is huge. Can I use the existing postemsg tests that are running on the boxes and via I guess External Commands have Nagios process the messages? For those familiar with both Tivoli Nagios, Is there anything that Tivoli gives me that I cant do with Nagios? I don't see it if there is. Thanks for the help, Steve _ The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5-- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] (no subject)
If you open it as a new page, it will only show the tac screen. you can use the url as your path to the screen. Steve Date: Tue, 11 May 2010 08:49:37 -0500 From: lflac...@cps.k12.il.us To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] (no subject) Good Day every one, I am looking for a way to present the Tactical Monitoring Overview page as part of a dashboard (without the left hand column) can any one point me in the direction to achieve this. Thanks, Luis -- ___ 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 Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multicalendarocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5-- ___ 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] A question on check_http to over 100 sites
I have a need to verify that vendor urls for my company do not change. Since we only allow our locations to see approved urls, this is important. I was hoping there was some way I could use a macro to do the check_http and have all of the urls for the sites listed as the macro contents . Something like this - define url{ url_namewww.test.com,www.test2.com,www.test3.com. check_command check_http ... } define command{ command_namecheck_http command_line/usr/local/nagios/plugins/check_http -L $URL$ -c $ARG1$ -w $ARG2$ } Can I create a $URL$ macro for use here? Would doing something like this work? Is there an easier way for me to have a single host ( localhost) to verify the list of 100 + urls ? The plan is to do it 1 time a day send a notification of it fails to get there. They can then update the approved list of the new url. Is it not advisable to use check_http in this manner? I am using it to watch a corporate now it has been reliable. Thanks, Steve _ The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. http://www.windowslive.com/campaign/thenewbusy?tile=multiaccountocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4-- ___ 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] state change question
Hey Fritz, Maybe this is the issue ? Steve F. http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg18874.html You are specifying 'Sticky Acknowledgement'. Command Description This command is used to acknowledge a service problem. When a service problem is acknowledged, future notifications about problems are temporarily disabled until the service changes from its current state. If you want acknowledgement to disable notifications until the service recovers, check the 'Sticky Acknowledgement' checkbox. Date: Thu, 1 Apr 2010 10:40:21 -0400 From: neuf...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] state change question I'm trying to track down an issue and am not sure If I'm following what is happening correctly. We had a service go critical and start sending alerts. The service was then acknowledged so it would stop sending notifications. The problem with that service was then resolved by getting the service into a WARN state instead of getting it back to OK. The service then ended up going critical again but it never sent a notification on the hard state change from WARN to CRITICAL. Is it possible that because it never went back to OK the acknowledgement never went away? I'm reading through the docs and I don't see anything that covers this scenario. Is this expected behavior or am I missing something and need to do more digging? _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/210850553/direct/01/-- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Customization
Are you referring to the main page for the Nagios web console? I have modified both the main page the side bar by editing either side.php or main.php Steve Date: Mon, 8 Mar 2010 15:17:43 +0100 From: werty...@gmail.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Customization Hello all, good job by every one of you, i just want to know how can i remove the nag...@3.0.6 in the headers of this application cos i'm newbee to this application and the documentation that talks about this after trying it, it does not work. Thanks for your response with time. _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/201469229/direct/01/-- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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 Plugins glibc
I have been building a sandbox to set up Nagios 3.2.0 and so far everything has been fine. I am using the nagios-plugins-1.4.13 with Nagios 3. A large number of the clients we need to monitor ( about 1200 ) are running SuSE SLES-8 (i386) VERSION = 8.1 I was trying to set up one of these servers to run a check_disk via check_by_ssh and was having a problem. I tried to run the check_disk locally on one of these test servers and got the message that the plugin needed glibc 2.4 ./check_disk: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./check_disk) We are running glibc-2.2.5-235 I copied the plugin from the plugin directory on my host server which is running glibc 2.4. Is my problem that I copied a plugin that was compiled on a server running glibc 2.4? Can I run an older set of plugings on the servers with the older glibc? Anyone know the nagios-plugin version # ? Can I continue to keep my host server running 3.2 and have clients running older versions of the plugins? Thanks, Steve _ Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. http://clk.atdmt.com/GBL/go/196390709/direct/01/-- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ 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 Integration with IBM TEC ( Tivoli )
Hello, We have IBM TEC ( Tivoli Enterprise Console) for alot of our current monitoring. Does anyone have any experience / history integrating Nagios with IBM TEC? We use postd messages to get the info from the clients back to TEC. Can Nagios read the postd messages? I guess I could somehow use a passive check to do this correct ?? Would Nagios be considered a viable replacement for TEC? I have not been able to find any Marketing type of info as far as Nagios as a replacement for other monitoring solutions. Thanks, Steve _ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/196390710/direct/01/-- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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] Notification Question
Hello Happy New Year, Is it possible to have Nagios notify me of a service problem once an hour AND tell me how many times it alerted during that hour time frame? For example, if I run a plugin, I don't necessarily want to have a notification every time the threshold was met but after 1 hour, send me a notification that during that hour time period, the threshold was exceeded 10 times? I know that via the notification cfg I can set the time frame for sending a notification but can I keep a running total of the number of alerts for that 1 hour timeframe? Thanks, Steve _ Hotmail: Trusted email with powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141665/direct/01/-- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ 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