Re: [Nagios-users] global event handler external commands not working
On Wed, 19 Jan 2011 17:23:47 -0500, Geoff Franks gfra...@synacor.com wrote: I'm trying to use the CHANGE_GLOBAL_SVC_EVENT_HANDLER and CHANGE_GLOBAL_HOST_EVENT_HANDLER external commands to modify the event handlers on a nagios server without restarting the nagios process. As far I can tell, I'm using them properly as defined in http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=103 . However, it doesn't seem like the command actually changes the global event handlers. Anyone know why this would happen? Am I using it wrong? Is the feature not really supported currently? Well. The fact that you are reading from ... old.nagios.org is kind of an indication that you are looking at historical information. Hugo. -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc -- 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] Checking a Web Site
On Wed, 19 Jan 2011 14:28:02 -0600, Edwin Zoeller wrote: I was wondering if someone out there can help me with this. I am trying to monitoring a website to which I login with a username/password then from there as that user access another site that I am allowed to see from my login name. If someone has done this I would very much appreciate the help. Also, what is the proper syntax for searching for a string that would appear only as an error. Example, all is good but if the phrase Denied appears on the web page, I want to report that as an error. Sounds like a job for: http://exchange.nagios.org/directory/Plugins/Websites,-Forms-and-Transactions/Check-website-response/details [1] Hugo. -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc Links: -- [1] http://exchange.nagios.org/directory/Plugins/Websites,-Forms-and-Transactions/Check-website-response/details -- 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
[Nagios-users] custom notifications for specific service groups
Dear community, I am trying to figure out how to satisfy infrastructure team supporting servers. Their request is two split services into two groups core and applications. In the core group the following services would be nested: CPU load Memory utilization Storage and in the applications groups they would like to see the following: Citrix sessions Citrix licences They have segregated duties within the team for OS,HW and for application part. They would need Nagios to send appropriate notification to OS team and the same for application team. Now, AFAIK if a contact is linked to the host then the notifications for all its services are sent out. So my question is if is there any way how to split notifications on the same host so that OS team will never receive notification for Application team and vice versa? thanks in advance for your help Michal -- 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] global event handler external commands notworking
I'm redirected there from http://nagios.sourceforge.net/docs/3_0/extcommands.html. The documentation says it works in nagios 2.x and 3.x. If this is not where I should be looking, can you tell me where I should look? Geoff Franks Monitoring and Reporting Engineer Synacor, Inc. 40 LaRiviere Dr. Suite 300 | Buffalo NY 14202 Office: 716-362-3765 -Original Message- From: Hugo van der Kooij [mailto:hvdko...@vanderkooij.org] Sent: Thursday, January 20, 2011 7:38 AM To: Nagios Users List Subject: Re: [Nagios-users] global event handler external commands notworking On Wed, 19 Jan 2011 17:23:47 -0500, Geoff Franks gfra...@synacor.com wrote: I'm trying to use the CHANGE_GLOBAL_SVC_EVENT_HANDLER and CHANGE_GLOBAL_HOST_EVENT_HANDLER external commands to modify the event handlers on a nagios server without restarting the nagios process. As far I can tell, I'm using them properly as defined in http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=103 . However, it doesn't seem like the command actually changes the global event handlers. Anyone know why this would happen? Am I using it wrong? Is the feature not really supported currently? Well. The fact that you are reading from ... old.nagios.org is kind of an indication that you are looking at historical information. Hugo. -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc -- 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 -- 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
[Nagios-users] check_http and authentication
I have 2 Nagios instances at the moment. On one I am using the chck_http pluging version 1.4.13, and on the other I have version 1.4.14. On both systems I am check agains Server Tecnology PDU's. The older one works fine. The newer plugin reports a warning HTTP Warning HTTP/1.1 401 Unauthorized 412 bytes ... But when run from the command line you get status OK, and a return code of 0. From the coomand line we are executingcheck_http -H hostname --authorization=:xxx. I think that maybe the newer plugin requires a different set of options to work with these units? Any sugestions as to debuging this? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- 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] check_http and authentication
I am having the same type of problem but mine is that when I enter a UID/PWD and change it to test it is always successful. What am I doing wrong. -Original Message- From: stan [mailto:st...@panix.com] Sent: Thursday, January 20, 2011 8:45 AM To: nagios List Subject: [Nagios-users] check_http and authentication I have 2 Nagios instances at the moment. On one I am using the chck_http pluging version 1.4.13, and on the other I have version 1.4.14. On both systems I am check agains Server Tecnology PDU's. The older one works fine. The newer plugin reports a warning HTTP Warning HTTP/1.1 401 Unauthorized 412 bytes ... But when run from the command line you get status OK, and a return code of 0. From the coomand line we are executingcheck_http -H hostname --authorization=:xxx. I think that maybe the newer plugin requires a different set of options to work with these units? Any sugestions as to debuging this? -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- 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 -- 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] monitoring file content
On Tue, Jan 18, 2011 at 10:40 AM, Maurer, Michael michael.mau...@mosolf.de wrote: hi folks, Hi, i`d like to monitor the content of a txt file on a remote windows host. The file will be formated like: value1: 1009 value2: 156 value3: 7889 value4: 9981 valueN: ….. I have to set warning and critical ranges for each value separately. (value1 warn=500, crit = 1500 / value2 warn = 100, crit = 500 etc…) The file will be deleted and newly created if one of the values changes. Does anybody know how to do that? thanks in advance! I use a check something similar, I (badly) wrote a Perl script for the check. It runs on Solaris though so would need fiddling for windows /ActivePerl. Plus its expecting data in the format 'value1:1234 value2:1234 value3:4567' So again would need playing with to work how you want it to... I have attached the script and some config files. HTH Ritchie -- Fnord... -- http://23.me.uk -- -- http://wiki.s23.org -- -- http://twitter.com/23me -- - -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. -- kind regards Michael -- 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 log_checker.tar.gz Description: GNU Zip compressed data -- 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] [BULK] - Re: monitoring file content
Thanks Ritchie! I´m going to try it next week kind regards Michael -Ursprüngliche Nachricht- Von: m...@catsnest.co.uk [mailto:m...@catsnest.co.uk] Gesendet: Donnerstag, 20. Januar 2011 17:19 An: Nagios Users List Betreff: [BULK] - Re: [Nagios-users] monitoring file content On Tue, Jan 18, 2011 at 10:40 AM, Maurer, Michael michael.mau...@mosolf.de wrote: hi folks, Hi, i`d like to monitor the content of a txt file on a remote windows host. The file will be formated like: value1: 1009 value2: 156 value3: 7889 value4: 9981 valueN: . I have to set warning and critical ranges for each value separately. (value1 warn=500, crit = 1500 / value2 warn = 100, crit = 500 etc...) The file will be deleted and newly created if one of the values changes. Does anybody know how to do that? thanks in advance! I use a check something similar, I (badly) wrote a Perl script for the check. It runs on Solaris though so would need fiddling for windows /ActivePerl. Plus its expecting data in the format 'value1:1234 value2:1234 value3:4567' So again would need playing with to work how you want it to... I have attached the script and some config files. HTH Ritchie -- Fnord... -- http://23.me.uk -- -- http://wiki.s23.org -- -- http://twitter.com/23me -- - -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. -- kind regards Michael -- 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 -- 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
[Nagios-users] check_http with auth issue
Hi, We're having problems with Nagios3 (3.2.0) reporting 'HTTP WARNING HTTP/1.1 401 Unauthorized' for check_http queries to a several switched CDUs of the same type. All these CDUs have HTTP Server = enabled, Authentication= Basic. Running check_http from the command line returns an OK status: /usr/lib/nagios/plugins/check_http -I ppcr23ps1 --authorization=user:passwd HTTP OK HTTP/1.1 200 OK - 763 bytes in 0.267 seconds check_http is reporting OK status for all the other devices we're checking from this Nagios3 server. This Nagios3 server is an internal server in a distributed nagios configuration, and we have 1 identical CDU configured on the main nagios server outside the firewall (the external nagios is 3.1.0). The check_http on the Nagios 3.1.0 server (external) does not give the WARNING 401 Unauthorized message. It displays HTTP OK HTTP 1.1 200 OK. To verify that the CDU config was not the problem or the firmware version wasn't the problem on the 2 new CDUs being configd for the internal server, we added the external CDU (already reporting OK on nagios 3.1.0) to the Nagios3 configuration did a check_http. Like the other 2 units, the command line reports HTTP OK but nagios displays the 401 warning. We've run from the command line check_http -v and it's identical on both servers (everything is OK). However, the header on the devices that do not get the 401 warning start with a Server: descrip and Connection: close before the Content-Type CDU: STATUS: HTTP/1.1 200 OK HEADER Content-Type: text/html (the rest of the header info follows) All other devices: STATUS: HTTP/1.1 200 OK HEADER Server: Embedded Web Server(or whatever server description per device) Connection: close Content-Type: text/html (the rest of the header info follows) Any ideas why it works on 3.1.0 and not 3.2.0? Thanks -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- 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] custom notifications for specific service groups
simply assign different contacts/contact_groups in different service definitions. On Thu, Jan 20, 2011 at 9:05 PM, michal.lacko...@cz.schneider-electric.com wrote: Dear community, I am trying to figure out how to satisfy infrastructure team supporting servers. Their request is two split services into two groups core and applications. In the core group the following services would be nested: CPU load Memory utilization Storage and in the applications groups they would like to see the following: Citrix sessions Citrix licences They have segregated duties within the team for OS,HW and for application part. They would need Nagios to send appropriate notification to OS team and the same for application team. Now, AFAIK if a contact is linked to the host then the notifications for all its services are sent out. So my question is if is there any way how to split notifications on the same host so that OS team will never receive notification for Application team and vice versa? thanks in advance for your help Michal -- 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 -- 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
Re: [Nagios-users] check_http with auth issue
On Jan 20, 2011, at 1:35 PM, stan wrote: Hi, We're having problems with Nagios3 (3.2.0) reporting 'HTTP WARNING HTTP/1.1 401 Unauthorized' for check_http queries to a several switched CDUs of the same type. All these CDUs have HTTP Server = enabled, Authentication= Basic. Running check_http from the command line returns an OK status: /usr/lib/nagios/plugins/check_http -I ppcr23ps1 --authorization=user:passwd HTTP OK HTTP/1.1 200 OK - 763 bytes in 0.267 seconds We had a similar problem. We have several CNAME entries for different names for some of our hosts. We were using a host definition that included the IP address. Then we switched to a host definition that was using the DNS name only. Also, be careful of certain characters in your password digest. If an ampersand appears in the password digest (and they seem to pop up about 1/3 of the time), you have to protect it with a backslash. We were running the check_http command the same way, but were of course putting single-quotes around the password digest and, gee, there is no problem. These may not be your issue, but they may point you to something else. Good luck. cheers - ray check_http is reporting OK status for all the other devices we're checking from this Nagios3 server. This Nagios3 server is an internal server in a distributed nagios configuration, and we have 1 identical CDU configured on the main nagios server outside the firewall (the external nagios is 3.1.0). The check_http on the Nagios 3.1.0 server (external) does not give the WARNING 401 Unauthorized message. It displays HTTP OK HTTP 1.1 200 OK. To verify that the CDU config was not the problem or the firmware version wasn't the problem on the 2 new CDUs being configd for the internal server, we added the external CDU (already reporting OK on nagios 3.1.0) to the Nagios3 configuration did a check_http. Like the other 2 units, the command line reports HTTP OK but nagios displays the 401 warning. We've run from the command line check_http -v and it's identical on both servers (everything is OK). However, the header on the devices that do not get the 401 warning start with a Server: descrip and Connection: close before the Content-Type CDU: STATUS: HTTP/1.1 200 OK HEADER Content-Type: text/html (the rest of the header info follows) All other devices: STATUS: HTTP/1.1 200 OK HEADER Server: Embedded Web Server(or whatever server description per device) Connection: close Content-Type: text/html (the rest of the header info follows) Any ideas why it works on 3.1.0 and not 3.2.0? Thanks -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- 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 -- 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