Changeset e94ac86cedca471ff4fd242d9f1e2d27d4259428

Show
Ignore:
Timestamp:
02/24/08 22:34:43 (7 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1203892483 +0000
git-parent:

[4dccf830640c308658d62f7896f78488734381bc]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1203892483 +0000
Message:

oids for extended switch metrics

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/sample.conf

    r4dccf83 re94ac86  
    8282      </resmon> 
    8383      <switches module="snmp" period="30000"> 
    84         <config inherit="SwitchPort" /> 
     84        <config inherit="SwitchPortX" /> 
    8585        <switch target="10.80.116.3"> 
    8686          <check uuid="1b4e28ba-2fa1-11d2-883f-e9b761bde3fb" name="1" /> 
     
    9393  <config_templates> 
    9494    <config id="SwitchPort"> 
    95           <oid_description>IF-MIB::ifDescr.%[name]</oid_description> 
    96           <oid_alias>IF-MIB::ifAlias.%[name]</oid_alias> 
    97           <oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed> 
    98           <oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus> 
    99           <oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus> 
    100           <oid_inoctets>IF-MIB::ifInOctets.%[name]</oid_inoctets> 
    101           <oid_outoctets>IF-MIB::ifOutOctets.%[name]</oid_outoctets> 
    102           <oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors> 
    103           <oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors> 
    104           <oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards> 
    105           <oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards> 
    106           <oid_inucastpkts>IF-MIB::ifInUcastPkts.%[name]</oid_inucastpkts> 
    107           <oid_outucastpkts>IF-MIB::ifOutUcastPkts.%[name]</oid_outucastpkts> 
    108           <oid_innucastpkts>IF-MIB::ifInNUcastPkts.%[name]</oid_innucastpkts> 
    109           <oid_outnucastpkts>IF-MIB::ifOutNUcastPkts.%[name]</oid_outnucastpkts> 
     95      <oid_description>IF-MIB::ifDescr.%[name]</oid_description> 
     96      <oid_alias>IF-MIB::ifAlias.%[name]</oid_alias> 
     97      <oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed> 
     98      <oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus> 
     99      <oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus> 
     100      <oid_inoctets>IF-MIB::ifInOctets.%[name]</oid_inoctets> 
     101      <oid_outoctets>IF-MIB::ifOutOctets.%[name]</oid_outoctets> 
     102      <oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors> 
     103      <oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors> 
     104      <oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards> 
     105      <oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards> 
     106      <oid_inucastpkts>IF-MIB::ifInUcastPkts.%[name]</oid_inucastpkts> 
     107      <oid_outucastpkts>IF-MIB::ifOutUcastPkts.%[name]</oid_outucastpkts> 
     108      <oid_inbcastpkts>IF-MIB::ifInNUcastPkts.%[name]</oid_inbcastpkts> 
     109      <oid_outbcastpkts>IF-MIB::ifOutNUcastPkts.%[name]</oid_outbcastpkts> 
     110    </config> 
     111    <config id="SwitchPortX"> 
     112      <oid_description>IF-MIB::ifName.%[name]</oid_description> 
     113      <oid_alias>IF-MIB::ifAlias.%[name]</oid_alias> 
     114      <oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed> 
     115      <oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus> 
     116      <oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus> 
     117      <oid_inoctets>IF-MIB::ifHCInOctets.%[name]</oid_inoctets> 
     118      <oid_outoctets>IF-MIB::ifHCOutOctets.%[name]</oid_outoctets> 
     119      <oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors> 
     120      <oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors> 
     121      <oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards> 
     122      <oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards> 
     123      <oid_inucastpkts>IF-MIB::ifHCInUcastPkts.%[name]</oid_inucastpkts> 
     124      <oid_outucastpkts>IF-MIB::ifHCOutUcastPkts.%[name]</oid_outucastpkts> 
     125      <oid_inbcastpkts>IF-MIB::ifHCInBroadcastPkts.%[name]</oid_inbcastpkts> 
     126      <oid_outbcastpkts>IF-MIB::ifHCOutBroadcastPkts.%[name]</oid_outbcastpkts> 
    110127    </config> 
    111128  </config_templates>