https://github.com/dinotools/check_rittal_cmc3
Plugin to monitor Rittal CMC3 devices
https://github.com/dinotools/check_rittal_cmc3
cmc3-devices icinga monitoring monitoring-plugins nagios perl
Last synced: 28 days ago
JSON representation
Plugin to monitor Rittal CMC3 devices
- Host: GitHub
- URL: https://github.com/dinotools/check_rittal_cmc3
- Owner: DinoTools
- License: gpl-3.0
- Created: 2016-10-03T21:04:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-01-20T09:40:42.000Z (about 1 year ago)
- Last Synced: 2025-04-13T17:57:46.686Z (11 months ago)
- Topics: cmc3-devices, icinga, monitoring, monitoring-plugins, nagios, perl
- Language: Perl
- Size: 55.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
check_rittal_cmc3
=================
Monitoring plugin for [Icinga](https://www.icinga.org/), [Nagios](https://www.nagios.org/) etc. supporting [Rittal](https://www.rittal.com/) CMC3 devices.
Requriements
------------
**General**
- Perl 5
- Perl Modules
- Net::SNMP
- Class::Load
- Monitoring::Plugin or Nagios::Plugin
**RHEL/CentOS**
- perl
- perl-Class-Load
- perl-Monitoring-Plugin or perl-Nagios-Plugin
- perl-Net-SNMP
Installation
------------
Just copy the file `check_rittal_cmc3.pl` to your Icinga or Nagios plugin directory.
**Icinga 2**
Add a new check command
```
object CheckCommand "rittal-cmc3" {
import "plugin-check-command"
import "ipv4-or-ipv6"
command = [ PluginDir + "/check_rittal_cmc3.pl" ]
arguments = {
"-H" = {
value = "$rittal_cmc3_address$"
description = "Hostname of the CMCIII unit."
required = true
}
"-C" = {
value = "$rittal_cmc3_community$"
description = "SNMP community. Defaults to 'public' if omitted."
}
"-D" = {
value = "$rittal_cmc3_device$"
description = "ID of the device connected to the CMCIII"
required = true
}
"--sensor" = {
value = "$rittal_cmc3_sensors$"
repeat_key = true
}
}
vars.rittal_cmc3_address = "$check_address$"
}
```
License
-------
GPLv3