Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have installed Nagios 2.0 in my Rhel 5 box.I want to monitor Windows servers (Active dirtectory+exchange server+dns) and all basic windows services likeMemory usage, CPU load, Disk usage, Service states, Running processes and few linux machine+all services of linux
For windows i have installed nsclient and for linux I have installed nrpe
i have configured the below mentioned cfg file
host,hostgroup,contact,contact group,timeperiod
I need to configure command.cfg and services.cfg as its very confusing.can anybody please help me.A sample template can help me to solve my problem.Thnks in advance
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800
Rep:
Quote:
I have installed Nagios 2.0 in my Rhel 5 box.
You might want to look for a newer version. Versions prior to 3.0.5 have security problems. The configuration files for 2.x and 3.x are the same as I recall.
Quote:
I want to monitor Windows servers (Active dirtectory+exchange server+dns) and all basic windows services likeMemory usage, CPU load, Disk usage, Service states, Running processes and few linux machine+all services of linux
For windows i have installed nsclient and for linux I have installed nrpe
I'd start by defining a basic ping service and getting that working first. Getting NSclient (also somewhat outdated but still usable) and NRPE up and running is just a bit more advanced. And NSclient configuration isn't the same as NRPE configuration. If you're not already aware of it, you'll need to install software on any systems that you're going to be doing any monitoring more than sophisticated than pinging.
Quote:
i have configured the below mentioned cfg file
host,hostgroup,contact,contact group,timeperiod
I need to configure command.cfg and services.cfg as its very confusing.
I would strongly recommend one of two books: Nagios System and Network Monitoring by Wolfgang Barth or Pro Nagios 2.0 by James Turnbull. Both a very good at helping get things set up. These texts (one I borrowed and the other I bought) were a big help when I inherited a Nagios monitoring system a while back. And they'll explain things better than I could do here. Sorry if this isn't what you're looking for but Nagios configuration is not exactly, IMHO, a newbie type of question.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.