LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-12-2011, 08:44 AM   #1
ravikiran189
Member
 
Registered: Mar 2011
Posts: 45

Rep: Reputation: 4
Help me with Nagios


Hi There,

Does Nagios have ability to restart any failed process?
 
Old 04-12-2011, 08:57 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
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
 
Old 04-19-2011, 02:47 AM   #3
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by EricTRA View Post
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.....
 
Old 04-19-2011, 03:11 AM   #4
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by centosboy View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 1 05-31-2016 07:26 AM
LXer: April Nagios Training Dates Include Advanced Nagios Class LXer Syndicated Linux News 0 03-18-2011 09:30 AM
Fail to install Nagios Pluggin nagios-plugins-1.4.15.tar.gz fred_xlf Linux - Software 1 11-27-2010 06:09 AM
Nagios Daemon, PID not found but rc.nagios runs agentc0re Slackware 1 07-03-2007 02:47 PM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration