Linux technical support - [email protected]


collectd example SNMP HP 1910 switch

<Plugin snmp>
  <Data "traffic">
     Type "if_octets"
     Table true
     Instance "IF-MIB::ifDescr"
     Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
     Scale 8
  </Data> 
  <Data "CPU">
    Type "percent"
    Table false
    Instance "CPU"
    Values ".1.3.6.1.4.1.25506.2.6.1.1.1.1.6.8"
  </Data> 
  <Data "RAM">
    Type "memory"
    Table false
    Instance "RAM"
    Values ".1.3.6.1.4.1.25506.2.6.1.1.1.1.10.8"
  </Data> 
  #############################################
  <Host "sw0.alexlinux.lan">
    Address "sw0.alexlinux.lan"
    Version 1
    Community "public"
    Collect "traffic" "CPU" "RAM"
    Interval 15
  </Host>
  <Host "sw8.alexlinux.lan">
    Address "sw8.alexlinux.lan"
    Version 1
    Community "public"
    Collect "traffic" "CPU" "RAM"
    Interval 15
  </Host>
</Plugin>

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>