Page 1 of 1

Activate/Deactive services using a frontend.

Posted: Sun Apr 21, 2013 10:49 am
by zaji_nms
Hello,

I want to control the state of a service (activate/deactivate) using a custom frontend.
What methods does Nagios XI provide us to accomplish this action?

Is the Nagios CCM the only way todo this? If not, then kindly help us with the task.

Nagios XI 2012R1.7

Best Regards,

Re: Activate/Deactive services using a frontend.

Posted: Mon Apr 22, 2013 9:31 am
by abrist
You will probably want to look at event handlers. We have a few guides for using them to restart services below. You can use them as a starting point for creating more complex event handler actions:
Restart Linux Services
Restart Windows Services

EDIT: I was rereading your post, do you want to enable/disable service checks or start/stop services on hosts?

Re: Activate/Deactive services using a frontend.

Posted: Tue Apr 23, 2013 3:05 am
by zaji_nms
Enable/Disable service checks.

Re: Activate/Deactive services using a frontend.

Posted: Tue Apr 23, 2013 9:34 am
by slansing
You could disable active or passive checks on a host/service level from the front end service/host details page by clicking advanced, then clicking the "X" symbol next to either active or passive checks "depending on which you are using for the service/host."

Re: Activate/Deactive services using a frontend.

Posted: Wed May 01, 2013 9:45 am
by zaji_nms
That will work. Thanks.

Re: Activate/Deactive services using a frontend.

Posted: Wed May 01, 2013 9:46 am
by slansing
Great, closing as resolved.