Page 1 of 1

Help Needed with Configuring Nagios for Monitoring Remote Servers

Posted: Fri Nov 22, 2024 5:50 am
by romie090
I’m relatively new to Nagios and am currently working on setting it up to monitor a group of remote servers in our environment. I’ve gone through some of the official documentation and forums, but I’m hitting a few roadblocks and was hoping to get some guidance here.

Here’s the setup I’m working with:
  • Nagios Core version: [insert version here]
  • OS: [insert OS and version here]
  • Remote servers to monitor: A mix of Linux (CentOS/Ubuntu) and Windows machines
My goal is to set up monitoring for basic metrics like CPU, memory, disk usage, and availability. Additionally, I’d like to set up email alerts for critical thresholds. I’ve managed to install Nagios Core and have it running, but I’m stuck on the following:

Agent Installation: What’s the best practice for installing and configuring NRPE (or other agents) on remote servers? Is there an alternative to NRPE that you’d recommend?
Check Configuration: How do I define checks in the nagios.cfg and services.cfg files effectively? Are there templates or examples for a mixed OS environment?
Windows Monitoring: I’ve seen mentions of using NSClient++ for Windows servers. Is this still the preferred method, and are there any common pitfalls I should be aware of?
Alert Notifications: How do I configure Nagios to send email alerts with detailed information about the issue?
I’d really appreciate it if someone could point me to any resources, templates, or share their experience with a similar setup.

Thanks in advance for your help! I’m excited to get Nagios fully operational and learn from this great community.

Regards
Romieservicenow

Re: Help Needed with Configuring Nagios for Monitoring Remote Servers

Posted: Sun Nov 24, 2024 1:05 am
by kg2857
Nagios is generally open source, openminded, and very configurable. Chances are the install came with a localhost and generic monitoring for it.

Nagios prefers ncpa but supports nrpe. You decide.
I define hosts and services to put as much info in templates as possible. An example would be a host has a name, address and template. For services, make them as generic as possible and use hostgroups.
Nagios recommends ncpa for Windows but nsclient is used by many.
Notification defs are in the docs.