[Nagios-users] Use different mail ids for each service

2013-07-17 Thread Sandeep L
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

Re: [Nagios-users] Use different mail ids for each service

2013-07-17 Thread Sunil Sankar
thats easy create seperate contacts for each user and add them to related service On Wed, Jul 17, 2013 at 2:28 PM, Sandeep L sandeepvre...@outlook.comwrote: Hi, I have multiple hosts and in each host there are multiple service. Here each service monitored by an individual person. Can

Re: [Nagios-users] Use different mail ids for each service

2013-07-17 Thread Carlos de Santa-Ana Garcia
Hi. admin1 must be contact only in service1 admin2 must be contact only in service2 admin3 must be contact only in service3 Greets. El 17/07/2013 10:58, Sandeep L escribió: Hi, I have multiple hosts and in each host there are multiple service. Here each service monitored by an individual

Re: [Nagios-users] Use different mail ids for each service

2013-07-17 Thread Sandeep L
Is it possible to specify contact group in define service block? Thanks,Sandeep. Date: Wed, 17 Jul 2013 13:11:52 +0200 From: car...@dsag.jazztel.es To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Use different mail ids for each service Hi.

Re: [Nagios-users] Use different mail ids for each service

2013-07-17 Thread Sunil Sankar
yes give is as contact_group groupname under each service On Wed, Jul 17, 2013 at 5:24 PM, Sandeep L sandeepvre...@outlook.comwrote: Is it possible to specify contact group in define service block? Thanks, Sandeep. -- Date: Wed, 17 Jul 2013 13:11:52 +0200

Re: [Nagios-users] Use different mail ids for each service

2013-07-17 Thread steve f
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

[Nagios-users] check_by_ssh from nagios user

2013-07-17 Thread Mario Garcia
Hello i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp are not available. when i loggin from nagios user using simple ssh I can login when i execute check_by_ssh from root user and execute a command it does work when i execute check_by_ssh from the nagios user on the

Re: [Nagios-users] check_by_ssh from nagios user

2013-07-17 Thread MAHONEY, DANIEL
If the bluecoat is configured to allow root login, then make sure that the nagios machine's nagios user's public key is in the bluecoat machine's root user's authorized_keys file. Otherwise just log in as the nagios user. For security reasons it's most likely a better idea to work as a

Re: [Nagios-users] check_by_ssh from nagios user

2013-07-17 Thread Sunil Sankar
Can you do an ssh from nagios server as nagios user to the blue host server without password with -i option ssh -i .ssh/key bluehost On Wed, Jul 17, 2013 at 9:40 PM, Mario Garcia mar...@absi.be wrote: Hello i want to monitor a bluecoat reporter with check_by_ssh as nrpe or snmp are not