Free SAN and storage performance and capacity monitoring

Alerting via SNMP TRAP

Alerting via SNMP TRAP is supported since version 2.00.

Install Prerequisites (skip that in case of Virtual Appliance)

  • AIX
    Download Net-SNMP packages and install them.
    Do not use the latest packages for AIX, it does not work, use net-snmp-5.6.2.1-1! It will not work with AIX standard OS cmd /usr/sbin/snmptrap!
    # umask 0022
    # rpm -Uvh net-snmp-5.6.2.1-1 net-snmp-utils-5.6.2.1-1 net-snmp-perl-5.6.2.1-1
    
    Make sure
    • you use PERL=/opt/freeware/bin/perl in etc/stor2rrd.cfg
    • PERL5LIB in etc/stor2rrd.cfg contains /opt/freeware/lib/perl5/vendor_perl/5.8.8/ppc-thread-multi path
  • Linux
    # umask 0022
    # yum install net-snmp
    # yum install net-snmp-utils
    # yum install net-snmp-perl
    
  • Linux Debian/Ubuntu
    % umask 0022
    % apt-get install snmp libsnmp-perl snmp-mibs-downloader
    
    If apt-get does not find snmp-mibs-downloader package then enable contrib and non-free repositories.

MIB

Here you can find MIB: XORUX-MIB.txt

Trap examples

### TRAP 2016-12-19 14:37:10
192.168.1.1  40154   1       public  stor2rrdSendTrap.0.7
stor2rrdStorageName: storageXY
stor2rrdAlertType : io_rate
stor2rrdValue     : 9.9

Trap testing

You can test trap from cmd like (AIX example):
# export SNMP_PERSISTENT_DIR=/tmp
# /opt/freeware/bin/snmptrap -v 1 -c public 127.0.0.1 1.3.6.1.4.1.40540.2.0.1.0.7 '' 6 7 ''  1.3.6.1.4.1.40540.1.2 s storageXY  1.3.6.1.4.1.40540.1.4 s 'io_rate' 1.3.6.1.4.1.40540.1.5 s 9.9

 

Links

Download

Others

Contact