Skip to content

Icinga Plugin for pull Icinga Host variables from SNMP data

Notifications You must be signed in to change notification settings

Aleksey-Maksimov/snmp_vars_discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

About

snmp_vars_discovery - Icinga Plugin Script (Check Command) for pull Icinga Host variables from SNMP data

Tested on:

  • Debian GNU/Linux 10.13 (Buster) with Icinga r2.14.2-1 / Director 1.11.1 / NET-SNMP 5.7.3
  • Debian GNU/Linux 12.5 (Bookworm) with Icinga r2.14.2-1 / Director 1.11.1 / NET-SNMP 5.9.3

PreReq: snpmget tool

Usage

Options:

$ ./snmp_vars_discovery.sh [OPTIONS]

Option  GNU long option   Meaning
------  ---------------   -------
 -H     --hostname        Host name (Icinga object Host.name)
 -h     --hostaddr        Host address (Icinga object Host.address)
 -P     --protocol        SNMP protocol version. Possible values: 1|2c|3
 -C     --community       SNMPv1/2c community string for SNMP communication (for example,public)
 -L     --seclevel        SNMPv3 securityLevel. Possible values: noAuthNoPriv|authNoPriv|authPriv
 -a     --authproto       SNMPv3 auth proto. Possible values: MD5|SHA
 -x     --privproto       SNMPv3 priv proto. Possible values: DES|AES
 -U     --secname         SNMPv3 username
 -A     --authpassword    SNMPv3 authentication password
 -X     --privpasswd      SNMPv3 privacy password
 -q     --help            Show this message
 -v     --version         Print version information and exit

Usage example for SNMPv1:

$ ./snmp_vars_discovery.sh -H netdev10.holding.com -h 10.10.10.10 -P 1 -C public

Usage example for SNMPv3:

$ ./snmp_vars_discovery.sh -H netdev10.holding.com -h 10.10.10.10 \
-P 3 -L authPriv -U icinga -a MD5 -A myAuthPwD -x DES -X myPrivPwd

Icinga Director integration manual (in Russian):

Icinga плагин snmp_vars_discovery для инвентаризации расширенного набора свойств Хостов по данным, полученным по SNMP (для использования с Icinga Director)

About

Icinga Plugin for pull Icinga Host variables from SNMP data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages