LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   What is the best tool to monitor services on linux? (https://www.linuxquestions.org/questions/linux-software-2/what-is-the-best-tool-to-monitor-services-on-linux-634439/)

abefroman 04-10-2008 12:35 PM

What is the best tool to monitor services on linux?
 
What is the best tool to monitor services on linux?

By service I mean like exim, to monitor that port 25 is open, and /usr/sbin/exim is running, and accepting connections.

What would be best for that? Nagios?

thedonkdonk 04-10-2008 01:41 PM

I don't know if Nagios is the "best", but I have been using it for years and I can make it do what ever I want so Nagios is what I recommend.

dbmacartney 04-10-2008 03:17 PM

I'd second Nagios in this situation. its a great product.

Tinkster 04-10-2008 04:31 PM

Quote:

Originally Posted by abefroman (Post 3117044)
What is the best tool to monitor services on linux?

By service I mean like exim, to monitor that port 25 is open, and /usr/sbin/exim is running, and accepting connections.

What would be best for that? Nagios?

While I agree that nagios does a good job I'd like to
hear from you how many machines and/or services you
intend to monitor. If the number is small it may make
sense to do something manually via shell or perl-script,
rather than going to install nagios and configure it.

Its power comes at a cost - configuration ;}



Cheers,
Tink

abefroman 04-10-2008 05:11 PM

This would be for 1 machine.

Tinkster 04-10-2008 05:15 PM

Quote:

Originally Posted by abefroman (Post 3117297)
This would be for 1 machine.

And how many services?


If it's 1 machine and only smtp, I'd say it's complete
overkill to install nagios.


expect & telnet in a shell script would be sufficient,
or netcat ...


Cheers,
Tink

thedonkdonk 04-11-2008 09:45 AM

Quote:

Originally Posted by Tinkster (Post 3117302)
If it's 1 machine and only smtp, I'd say it's complete
overkill to install nagios.

I very much agree with this. A shell script on a remote machine would work just as well.


All times are GMT -5. The time now is 01:28 PM.