Host Server Services Restart from Nagios Server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
epixelitsupport
Posts: 85
Joined: Fri Nov 08, 2019 2:40 am

Re: Host Server Services Restart from Nagios Server

Post by epixelitsupport »

scottwilkerson wrote:
epixelitsupport wrote:can i proceed with the Event Handler Script, Do i need to proceed it in the same way or do i need to change anything in it ?
Yes, you would proceed in the same way.
epixelitsupport wrote:is it possible to handle those commands from my Nagios Core GUI Dashboard itself?
In Nagios Core, you would need to create the commands manually, there isn't a GUI config. Nagios XI has a GUI config
https://www.nagios.com/products/nagios-xi/

From where i get those commands to configure it manually? could you please help me on it?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host Server Services Restart from Nagios Server

Post by scottwilkerson »

You would write them in a config file

https://assets.nagios.com/downloads/nag ... ml#command
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
epixelitsupport
Posts: 85
Joined: Fri Nov 08, 2019 2:40 am

Re: Host Server Services Restart from Nagios Server

Post by epixelitsupport »

Is it possible to create a link in my Nagios Dashboard to restart a particular service which is showing as failed, like a service command which i can see in my right side of dashboard?
https://prnt.sc/qh2lvy
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Host Server Services Restart from Nagios Server

Post by scottwilkerson »

This is not possible in Nagios Core without modifying the code yourself to do what you would like to do
https://github.com/NagiosEnterprises/nagioscore

However this is possible in Nagios XI through the Actions component
https://www.nagios.com/products/nagios-xi/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked