LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Network monitoring : Nagios vs nmap (https://www.linuxquestions.org/questions/linux-software-2/network-monitoring-nagios-vs-nmap-481154/)

threelions66 09-07-2006 01:20 AM

Network monitoring : Nagios vs nmap
 
My goal is to find an effective way to know if a production server is down or has a failed servie.

As Nagios is somewhat popular, I figured that I may as well get on board with it. I went about configuring it, and at first glance, it seemed a bit complicated.

In contrast nmap is as simple as it gets, zero configuration. If nmap
can be used to scan a port and identify if a service is listening
,maybe as a cron job. What additional functionality would Nagios
be able to provide to make me want to use it.

keyF 09-07-2006 01:39 AM

with nmap you able only to check listening port. I.e. you trying to connect to port 80 and if it was successful you (your monitoring system in this case) think that everything is ok. but this is not true in some cases.
for example, if we are talking about some web site, web server can listen on port 80, and nmap will tell you that everything ok, but it cannot tell you what is response of your server, is it your site, or some error message?
Nagios, in contrast, has many plugins for such deep analyse service's state. for example it has http_check which can only connect to given port and report you the result and can read the response of the server, find there string which you need (title of the web site for example) and many more.
there are many plugins with reach functionality for almost all services which you can use (mail, mysql, apache, etc).

i've installed and configured nagios recently. it is very well documented and i had no thoubles with it, and i'm not guru, i'm just a regular guy :)

so, i advice you to use Nagios instead of nmap. don't reinvent the wheel :) use existing solutions.


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