Nagios::Plugin::SNMP Perl module suite : SNMP support project

Using most of Patrick Proy Nagios SNMP Plugins for professionnals projects, I'm looking for a Perl module that can simplify plugins writing. Nagios::Plugin is a project of the same team than release officials Nagios plugins. Its provide OO modules like following :

  • Nagios::Plugin::Getopt ;
  • Nagios::Plugin::Performance (append perfdata lines) ;
  • Nagios::Plugin::Threshold ;
  • etc..

This project aims to wrote a SNMP support for this suite of modules than help Nagios SNMP plugins writing in Perl language.

Features

  • Add a new module, Nagios::Plugin::SNMP than inherit of Nagios::Plugin and add defaults SNMP related options :
    • -H, --hostname : Hostname where SNMP agent is hosted
    • -p, --port : SNMP port number (default: 161)
    • -s, --snmp : SNMP version number (default: 2c)
    • -C, --community : SNMP community string (default: public)
    • -l, --seclevel : SNMPv3 seclevel (default: authNoPriv)
    • -u, --secname : SNMPv3 secname
    • -a, --authproto : SNMPv3 authentification algorithm (default: md5)
    • -A, --authpasswd : SNMPv3 authentification passphrase
    • -x, --privproto : SNMPv3 privacy algorithm (default: des)
    • -X, --privpasswd : SNMPv3 privacy passphrase

TODO