Activate/Deactive services using a frontend.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Activate/Deactive services using a frontend.

Post 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,
Zajil NMS
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Activate/Deactive services using a frontend.

Post 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?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: Activate/Deactive services using a frontend.

Post by zaji_nms »

Enable/Disable service checks.
Zajil NMS
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Activate/Deactive services using a frontend.

Post 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."
zaji_nms
Posts: 616
Joined: Tue Oct 16, 2012 12:28 am

Re: Activate/Deactive services using a frontend.

Post by zaji_nms »

That will work. Thanks.
Zajil NMS
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Activate/Deactive services using a frontend.

Post by slansing »

Great, closing as resolved.
Locked