Page 1 of 1

how to stop sending SNMP for a service in Nagios console

Posted: Thu May 16, 2019 2:43 am
by deek
Hi,

Is it possible to stop sending SNMP traps from nagios for a specific service. We send nagios traps to BPPM which any service goes to critical state.
Say for a given server, we have 10 services and i want to stop sending the SNMP trap for only 2 services out of 10. Is there any option in Nagios console to disable sending the traps for those 2 services but monitoring should be in place.

I saw an option under CCM>services>Alert settings where there is a 'notification enabled' where i see 4 option ( On, Off, Skip, Null ). If i set this to OFF will it stop sending the traps? Please advice.

Thanks,
Deepan.

Re: how to stop sending SNMP for a service in Nagios consol

Posted: Thu May 16, 2019 9:34 am
by deek
Or can we use this option in Nagios core?

"Disable Notifications for this service"?

Re: how to stop sending SNMP for a service in Nagios consol

Posted: Fri May 17, 2019 1:37 pm
by benjaminsmith
Hi @deek,

One option is to put the services in recurring downtime. Go to Home > Incident Management > Recurring Downtime and select the services tab. Next go to Admin > Manage Components > SNMP Trap Sender and then enable the Don't Send During Downtime option.

However, if you simply want to disable notifications, then yes turn off notifications for those services as shown in your image from the Core Configuration Manager or CCM.

Reference:
Sending SNMP Traps

Let us know if that answers your questions or not.

Re: how to stop sending SNMP for a service in Nagios consol

Posted: Mon May 20, 2019 4:54 am
by deek
Thanks for the reply.
I want to know the usage of 'notification enabled ' option under alert settings. If i select the notification to off, will it stop sending the traps to BPPM?

Regards,
Deepan.

Re: how to stop sending SNMP for a service in Nagios consol

Posted: Mon May 20, 2019 10:04 am
by benjaminsmith
Hi Deepan,
I want to know the usage of 'notification enabled ' option under alert settings. If i select the notification to off, will it stop sending the traps to BPPM?
No when you set that to off, Nagios XI will not send notifications to the contact when the host or service is in a problem state, but it will still forward SNMP traps.

Re: how to stop sending SNMP for a service in Nagios consol

Posted: Tue May 21, 2019 1:33 am
by deek
This clears my doubt benjamin. Thanks for your support.

Re: how to stop sending SNMP for a service in Nagios consol

Posted: Tue May 21, 2019 9:08 am
by benjaminsmith
Hi @deek,
This clears my doubt benjamin. Thanks for your support.
Great. I will close this post. Please feel free to open a new one if you have any other questions.