Hi!
I have nagios running on remote site.
Everything works just fine.
I've created an eventhandler, which should restart service on remote nagios client if it's down. But it not always helps me to solve the problem due some reasons.
now the question - is it possible to restart service on remote host using nagios web-interface?
If yes, could you give me a link.
Thank you
restart service from web-interface
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: restart service from web-interface
There is nothing that we have created directly to do this, you could build it in I'm sure, but you would need to tie it with an SSH command to access that system and run your commands. What is not working properly with your event handler?
Re: restart service from web-interface
We do a lot of work with remote hosts via SSH. Never tried restarting Nagios with it, but that's really you're only way. Then you have to build the script around the command, then you have to build the web site around the script, then you have to make sure your web site is authenticated so you only have people who are supposed to be restarting things actually restarting things, and then you have to manage those users and passwords.....
Really, why bother? If your event handler is capable of restarting things when they are broken, why would you want to restart them when they are working?
Really, why bother? If your event handler is capable of restarting things when they are broken, why would you want to restart them when they are working?
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: restart service from web-interface
Thank you guys,
I think we could close this thread
I think we could close this thread