Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
hi,
can anyone help me how to install "NAGIOS". some say it is the best network monitoring tool. i am using debian 2.6 kernel. once i tried to install by #apt-get install nagios-common , it got installed but cant run, or i want to know how to make it run.
I recently installed Nagios on a little test server here at home, just to see it in action. It's not for the faint of heart, and my distro is Fedora 4, but I'd be happy to share with you any of my config settings. I have it monitoring a single host -- the host the server is installed on -- not multiple hosts. I got sidetracked onto something else before I could get it set up on a second host.
In general, you'll need a nagios server that runs apache, and you'll need to install the nagios plugins that provide the commands nagios uses to monitor processes, network connections, and so on.
thanx alot for your reply. i understand what you said. but, can you pls. give it detail how to start working on nagios.i installed it and the nagios service is running. but i can't get the monitoring screen. may be there is a command for that? pls. can you give it in detail.
I've been using Nagios for about 4-5 months now and it really is an incredible tool, though I know I've just barely scratched the surface in using it. You can monitor almost anything on local and remote hosts like ping and http services. You can even run disk and CPU load checks on remote hosts. Awesomeness.
There is actually a forum dedicated to Nagios which I know you will find helpful. I am registered there under the username SonOfThunder. I'll be happy to help you as well, and there are many many people there that can help you.
As a beginner's tip, do not install the beta versions of Nagios, or even the quote, un-quote "stable" 2.0 version, as the documentation is incomplete. The 1.X stable releases would be your best choice for now.
thanx alot for your reply. i understand what you said. but, can you pls. give it detail how to start working on nagios.i installed it and the nagios service is running. but i can't get the monitoring screen. may be there is a command for that? pls. can you give it in detail.
regds,
fay
Actually, if you've configured things correctly, pointing a browser to http://nagiosserver/cgi-bin/ should give you a Forbidden Error. You access the CGI's through the main web interface, which should be accessed as http://nagiosserver/nagios.
Actually, if you've configured things correctly, pointing a browser to http://nagiosserver/cgi-bin/ should give you a Forbidden Error. You access the CGI's through the main web interface, which should be accessed as http://nagiosserver/nagios.
~Myles
Mine behaves just the opposite; I get the forbidden error when I access nagios, but accessing cgi-bin directly works just fine. Goes to show that I don't really have a good handle on it yet.
Mine behaves just the opposite; I get the forbidden error when I access nagios, but accessing cgi-bin directly works just fine. Goes to show that I don't really have a good handle on it yet.
Hm...well, looking at what you've posted, I can see you set up your ScriptAlias wrong. You've made up a directory that, in your directory structure, should not exist. Also, you need quite a bit more than just those two lines (unless you're not showing your entire config for your web interface. Here's how the two aliases should be set up:
#Create an Alias for Nagios CGIs.
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory "/usr/local/nagios/sbin">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
#Make HTML files accessible via Apache web server.
Alias /nagios /usr/local/nagios/share
<Directory "/usr/local/nagios/share">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.