Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-12-2011, 08:44 AM
|
#1
|
Member
Registered: Mar 2011
Posts: 45
Rep:
|
Help me with Nagios
Hi There,
Does Nagios have ability to restart any failed process?
|
|
|
04-12-2011, 08:57 AM
|
#2
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Hello,
AFAIK no, Nagios doesn't have this possibility since it's 'only' a monitoring software. It alerts you when something is wrong but doesn't automatically take action apart from sending out notification messages. If you want to automatically restart processes you'll need to set that up on the remote servers you're monitoring or write your own scripts that take action upon a certain exit status from Nagios plugins. I might be wrong though, but never heard of Nagios having this option build in.
Kind regards,
Eric
|
|
|
04-19-2011, 02:47 AM
|
#3
|
Senior Member
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137
Rep:
|
Quote:
Originally Posted by EricTRA
Hello,
AFAIK no, Nagios doesn't have this possibility since it's 'only' a monitoring software. It alerts you when something is wrong but doesn't automatically take action apart from sending out notification messages. If you want to automatically restart processes you'll need to set that up on the remote servers you're monitoring or write your own scripts that take action upon a certain exit status from Nagios plugins. I might be wrong though, but never heard of Nagios having this option build in.
Kind regards,
Eric
|
Eventhandler....???? Restarts processes fine for me....?? End user has to script it...but it works.....
|
|
|
04-19-2011, 03:11 AM
|
#4
|
LQ Guru
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
|
Quote:
Originally Posted by centosboy
Eventhandler....???? Restarts processes fine for me....?? End user has to script it...but it works.....
|
Hi,
You're right to mention eventhandler. But it's not standard included in Nagios and as you pointed out must be scripted by the user. That's why I mentioned
Quote:
If you want to automatically restart processes you'll need to set that up on the remote servers you're monitoring or write your own scripts that take action upon a certain exit status from Nagios plugins.
|
Should have mentioned the above in combination with eventhandlers. Thanks for pointing it out.
Kind regards,
Eric
|
|
|
All times are GMT -5. The time now is 03:20 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|