Description
Nagios SNMP Plugins
Nagios SNMP Plugins are super handy! This package comes with two plugins you can use alongside Nagios. While they might still work with NetSaint, it’s pretty outdated, so I don't support that anymore. Just a heads up, you'll need a decent version of the Net SNMP Daemon to get started.
What Makes NET-SNMP Special?
Now, let’s talk about NET-SNMP. It has this cool feature that lets you check running processes and disk sizes right from the SNMP daemon. You can configure your checks in the snmpd.local.conf
file like this:
proc syslogd
proc klogd
disk / 5%
disk /usr 10%
This setup ensures that your system always has free space on crucial drives and keeps those important processes running smoothly!
Making Life Easier
Querying these stats from a monitoring tool can be tricky, but don’t worry—these plugins do all the heavy lifting for you. I created them mainly for Linux, but they should work on other *x operating systems too! If you manage to get them to compile elsewhere, please share your success!
Compatibility and Testing
I tested these plugins on several systems, including:
- RedHat Linux 9
- Fedora Core (1-6)
- RedHat Enterprise Linux (3-5)
- CentOS 5
If you're using *BSD, it should compile as long as you've got a GNU getline library.
The Installation Process
To install, just unpack the distribution and run these commands:
aclocal
autoheader
automake --add-missing
autoconf
./configure
make
You can also just run ./build.sh
. After that, you'll have two binaries: check_snmp_disk and check_snmp_proc.
Configuring Nagios Plugins
You can set up these plugins in Nagios in two ways. The old way is by adding lines to your /etc/nagios/command.cfg
. Here's how:
command[check_snmp_disk]=/usr/lib/nagios/plugins/check_snmp_disk -H $HOSTADDRESS$ -C $ARG1$
command[check_snmp_proc]=/usr/lib/nagios/plugins/check_snmp_proc -H $HOSTADDRESS$ -C $ARG1$
The new method involves editing /etc/nagios/checkcommands.cfg
. Remember to replace paths as needed!
Tags:
User Reviews for Nagios SNMP Plugins FOR LINUX 7
-
Nagios SNMP Plugins for Linux simplifies SNMP monitoring with easy configuration and efficient process checks. A must-have for Linux sysadmins.
-
These Nagios SNMP plugins are a game-changer! They simplify the monitoring of processes and disk space, making my setup much more efficient.
-
Absolutely love these plugins! They work flawlessly with Nagios and have saved me so much time managing system resources.
-
A must-have for anyone using Nagios! The ease of configuring checks for processes and disks is fantastic. Highly recommend!
-
5 stars for these SNMP plugins! They integrate smoothly with my existing Nagios setup and provide accurate monitoring without hassle.
-
Incredible functionality! The ability to monitor disk usage and running processes through SNMP makes this plugin invaluable for system admins.
-
This plugin package is excellent! It streamlines my monitoring process in Nagios, ensuring everything runs smoothly without constant manual checks.