Re: [Nagios-users] Codes for NRPE
Hi. I was looking for versions that can be compatible with following libssl version. libssl-dev : 0.9.8g-16ubuntu3 So , I was thinking older than v 2.12 might do so. Thanks, Yu Edwin Zoeller さんは書きました: What version are you looking for? - Original Message - From: Yu Watanabe [mailto:yu.watan...@jp.fujitsu.com] Sent: Sunday, July 29, 2012 07:55 PM To: nagios-users@lists.sourceforge.net nagios-users@lists.sourceforge.net Subject: [Nagios-users] Codes for NRPE Hello all. I tried to access for the old versions for NRPE but it seems that its depricated. http://sourceforge.net/projects/nrpe/files/ Is there any ways to access the old versions? Thanks, Yu -- 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 -- 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] How to deal with hosts that are not always on
If a host i down in known time period ,than create a new time period for that host to be monitored and exclude it from the 24x7 default time definition. you can also put your hosts in scheduled downtime - this will still show as faults on the CGI , but for reporting it will not have any impact as it is deliberate downtime On 29/07/12 09:51, Marc Haber wrote: Hi, I have a number of hosts that are not always turned on, such as my Notebook, my home server (which sleeps if not used) and a number of test VMs. To get a reasonable volume of checks in my test installation of Nagios, I would like to have those machines monitored by it. Obviously, I have notifications for those hosts turned off. This, however, leads to non-zero numbers in the critical, warning and unknown fields in the CGI, which gives a wrong impression of my health status since it is normal and expected that those hosts/services are down. Is there any solution for this dilemma? Can I have Nagios monitor hosts without reporting them as down when they are down? I know this may sound strange, but I would like to have statistics about how long the machines have been up and when. Greetings Marc -- 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
[Nagios-users] Differentiate receivers based on alert severity?
Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com - when CPU alerts are critical, they should go to us...@foo.com Ruslan -- 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] Differentiate receivers based on alert severity?
Yes , you can use two different contacts , one that has only warning , and the other only for critical . On 30/07/12 09:54, Ruslan Valiyev wrote: Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com mailto:us...@foo.com - when CPU alerts are critical, they should go to us...@foo.com mailto:us...@foo.com Ruslan -- 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] Differentiate receivers based on alert severity?
Does it mean I have to create two different service templates and specify my emails there? On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto nag...@flatto.net wrote: ** Yes , you can use two different contacts , one that has only warning , and the other only for critical . On 30/07/12 09:54, Ruslan Valiyev wrote: Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com - when CPU alerts are critical, they should go to us...@foo.com Ruslan -- 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 listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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
[Nagios-users] customizable php script
Hi, I have the php script which outputs the below variables along with the values. #php solr_discount_check.php PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0 OutOfStock:15105 DiffId:0 DiffAtbt:0 InSync:15257 Is there a way to set nagios sms/email alert for the above use case. Any specific nagios plugin which can address this typical usecase? Regards, Kaushal -- 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
[Nagios-users] Plug in to monitor apache status
Hi All, I need to get a plug-in to monitor Apache. I have server-status on and tried check_apache2. But pnp4nagios is giving below error. Please check the documentation for information about the following error. Template /usr/local/pnp4nagios/share/templates/check_apache2.php does not provide array $def[]. Read FAQ online http://docs.pnp4nagios.org/faq/13 + Can you please suggest me a plug-in with pnp4nagios template. -- 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] Differentiate receivers based on alert severity?
No , I think in same service definition , you can write notification_options w contact_group us...@foo.com notification_options c contact_group us...@foo.com us...@foo.com Thanks On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev linux...@gmail.com wrote: Does it mean I have to create two different service templates and specify my emails there? On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto nag...@flatto.net wrote: ** Yes , you can use two different contacts , one that has only warning , and the other only for critical . On 30/07/12 09:54, Ruslan Valiyev wrote: Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com - when CPU alerts are critical, they should go to us...@foo.com Ruslan -- 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 listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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 -- http://linuxmantra.com -- 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] Differentiate receivers based on alert severity?
Correction , you can not specify an email address in the service def. you will need to create a contact and then define the contact in the server : contacts foo or if he is part of a group contact_group Faa but you specify the service notifications as notification_options w,c and in the contact definition you say which statuses it will alert on . On 30/07/12 13:22, vishesh kumar wrote: No , I think in same service definition , you can write notification_options w contact_group us...@foo.com mailto:us...@foo.com notification_options c contact_group us...@foo.com mailto:us...@foo.com Thanks On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev linux...@gmail.com mailto:linux...@gmail.com wrote: Does it mean I have to create two different service templates and specify my emails there? On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto nag...@flatto.net mailto:nag...@flatto.net wrote: Yes , you can use two different contacts , one that has only warning , and the other only for critical . On 30/07/12 09:54, Ruslan Valiyev wrote: Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com mailto:us...@foo.com - when CPU alerts are critical, they should go to us...@foo.com mailto:us...@foo.com Ruslan -- 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 mailto: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 mailto: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 mailto: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 -- http://linuxmantra.com -- 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.
Re: [Nagios-users] Differentiate receivers based on alert severity?
On 7/30/2012 5:20 AM, Ruslan Valiyev wrote: Does it mean I have to create two different service templates and specify my emails there? No, you can have just one template for service check if you like. You determine what kinds of notifications a contact can receive with the service_notification_options directive in the contact definition. You just make two contact definitions with different notification options. Where I work the system administrators receive warning, critical, and recovery notifications via e-mail. Each of those guys has a separate contact defined for his pager, which is set to receive only critical and recovery. Also, you may want to check out service escalations as a flexible way of adding more recipients to a notification. If the system administrators here sleep through the first two notifications, their manager will start receiving them as well! -- -Chris Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. -- 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
[Nagios-users] check_file_age help
Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a local file system. When I specify the file name it works but using a wildcard fails saying it cannot find the file. I need to use the wildcard - the files have unique names based on the date created. Both work when run interactively from the command line as the Nagios service. My check command is: define command { command_namecheck_file_age_v1 command_line$USER1$/check_file_age -w $ARG1$ -c $ARG2$ -f $ARG3$ } The service command is: Works: define service{ host_name host.company.com service_descriptionbackup check - Is the file new in the past 24 hours check_command check_file_age_v1!86400!172800!/stuff/backup/2012-07-30-02-01-30_backup.xml usegeneric-service } Does not work: define service{ host_namehost.company.com service_descriptionbackup check - Is the file new in the past 24 hours check_commandcheck_file_age_v1!86400!172800!/stuff/backup/* usegeneric-service } Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment. -- 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] check_file_age help
Nagios probably doesn't use the shell, which is how wildcards get expanded, so the plugin is just seeing * instead of a filename. I suggest to use a shell wrapper, like #! /bin/sh set -e d=/stuff/backup pp=/usr/lib/nagios/plugins x=`ls -lt $d` 12 || exit 3 x=`echo $x |sed q` exec $pp/check_file_age -f $x -w .. -c .. -W .. -C .. Or you can keep a current symlink or such, pointing to the most recent backup. Justin On Mon, Jul 30, 2012 at 12:57:21PM -0400, Jeremy Page wrote: Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a local file system. When I specify the file name it works but using a wildcard fails saying it cannot find the file. I need to use the wildcard - the files have unique names based on the date created. Both work when run interactively from the command line as the Nagios service. My check command is: define command { command_namecheck_file_age_v1 command_line$USER1$/check_file_age -w $ARG1$ -c $ARG2$ -f $ARG3$ } The service command is: Works: define service{ host_name host.company.com service_descriptionbackup check - Is the file new in the past 24 hours check_command check_file_age_v1!86400!172800!/stuff/backup/2012-07-30-02-01-30_backup.xml usegeneric-service } Does not work: define service{ host_namehost.company.com service_descriptionbackup check - Is the file new in the past 24 hours check_commandcheck_file_age_v1!86400!172800!/stuff/backup/* usegeneric-service } Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment. -- 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] check_file_age help
On Mon, Jul 30, 2012 at 12:57:21PM -0400, Jeremy Page wrote: Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a local file system. When I specify the file name it works but using a wildcard fails saying it cannot find the file. I need to use the wildcard - the files have unique names based on the date created. Can you point it at the _directory_, to find the last time that was changed? -- 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
[Nagios-users] Derive service settings from hosts definition
Hello! Is there any way to derive certain service options from the host definition? Is there any default inheritance behavior for it? I.e.: --- cut --- define service { use production-service hostgroup_name ping contactsderive_from_host contact_groupsderive_from_host notification_period derive_from_host notifications_enabled derive_from_host notification_intervalderive_from_host } --- cut --- Below I will try to describe the actual problem, which lead me to this question. I have a number of services and hosts, tied up to each other via hostgroups (logically grouped by a service type). It's pretty convenient to manage them this way. For example: --- cut --- define host{ use production-host host_nameserver1 address 192.168.0.1 hostgroups ping,linux,web,mysql,snmp,nrpe } [...number of other hosts with similar definitions...] define hostgroup { hostgroup_name ping alias ICMP Ping Group } [...number of other hostgroups...] define service { use production-service hostgroup_name ping service_description PING check_command check_ping!200.0,20%!500.0,60% } [...number of other services, related to defined hostgroups...] --- cut --- From alerting prospective, all my environment can be grouped into production, development, qa and dummy, where each group has it's own contact list and notification options (matching for both service and host checks). So, I have 4 different host templates and 4 service templates with properly defined contacts and notification options (i.e. production-host/production-service, dev-host/dev-service, etc.). What is killing me at this moment, is the fact, that in order to send proper service alerts to these groups, I also have to keep 4 (nearly identical !) sets of services and hostgroups: --- cut --- define host{ use dev-host host_namedev-server1 address 192.168.1.1 hostgroups dev-ping,dev-linux,dev-web,dev-mysql,dev-snmp,dev-nrpe } [...number of other hosts with similar definitions...] define hostgroup { hostgroup_name dev-ping alias ICMP Ping Group for Development } [...number of other dev hostgroups...] define service { use dev-service hostgroup_name dev-ping service_description PING check_command check_ping!200.0,20%!500.0,60% } [...number of other services, related to dev hostgroups...] [...also repeated twice for qa and dummy groups...] --- cut --- I really wish, service notification/contact options could be derived from hosts definitions to avoid this mess. If anyone has a suggestion on how to better organize it, I would also appreciate your feedback. Vlad. -- 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] customizable php script
On Mon, Jul 30, 2012 at 4:05 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, I have the php script which outputs the below variables along with the values. #php solr_discount_check.php PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0 OutOfStock:15105 DiffId:0 DiffAtbt:0 InSync:15257 Is there a way to set nagios sms/email alert for the above use case. Any specific nagios plugin which can address this typical usecase? Regards, Kaushal Hi Can someone please reply to my earlier post to this mailing list. Regards Kaushal -- 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