Changeset c04dcf560cc5f0df021d665247f1b6d34352c166
- Timestamp:
- 02/24/08 06:11:47
(5 years ago)
- Author:
- Theo Schlossnagle <jesus@omniti.com>
- git-committer:
- Theo Schlossnagle <jesus@omniti.com> 1203833507 +0000
- git-parent:
[ce72dc2cb9539d80628ed5642eaabe6e8bac9f0d]
- git-author:
- Theo Schlossnagle <jesus@omniti.com> 1203833507 +0000
- Message:
hoy cow, reminded of how not simple SNMP is
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re3c8f10 |
rc04dcf5 |
|
| 16 | 16 | top_srcdir=@top_srcdir@ |
|---|
| 17 | 17 | |
|---|
| 18 | | MODULES=ping_icmp.@MODULEEXT@ http.@MODULEEXT@ |
|---|
| | 18 | MODULES=ping_icmp.@MODULEEXT@ http.@MODULEEXT@ snmp.@MODULEEXT@ |
|---|
| 19 | 19 | |
|---|
| 20 | 20 | all: $(MODULES) |
|---|
| … | … | |
| 26 | 26 | $(CC) $(CPPFLAGS) $(SHCFLAGS) -I$(top_srcdir)/src/serf @SERFCFLAGS@ -c http.c -o $@ |
|---|
| 27 | 27 | |
|---|
| | 28 | snmp.@MODULEEXT@: snmp.lo |
|---|
| | 29 | $(MODULELD) $(LDFLAGS) -o $@ snmp.lo -lnetsnmp |
|---|
| | 30 | |
|---|
| 28 | 31 | .lo.@MODULEEXT@: |
|---|
| 29 | 32 | $(MODULELD) $(LDFLAGS) -o $@ $< |
|---|
| r2656d6c |
rc04dcf5 |
|
| 24 | 24 | </logs> |
|---|
| 25 | 25 | <modules directory="./modules"> |
|---|
| | 26 | <!-- |
|---|
| 26 | 27 | <module image="ping_icmp" name="ping_icmp" /> |
|---|
| 27 | 28 | <http image="http"> |
|---|
| 28 | 29 | <module name="resmon" /> |
|---|
| 29 | 30 | <module name="resmon_part" /> |
|---|
| 30 | | <module name="http" />> |
|---|
| | 31 | <module name="http" /> |
|---|
| 31 | 32 | </http> |
|---|
| | 33 | --> |
|---|
| | 34 | <module image="snmp" name="snmp" /> |
|---|
| 32 | 35 | </modules> |
|---|
| 33 | 36 | <listeners> |
|---|
| … | … | |
| 47 | 50 | </consoles> |
|---|
| 48 | 51 | </listeners> |
|---|
| 49 | | <checks> |
|---|
| | 52 | <checks max_initial_stutter="5"> |
|---|
| 50 | 53 | <check uuid="1b4e28ba-2fa1-11d2-883f-b9b761bde3fb" module="ping_icmp" target="10.80.116.4" period="15000" timeout="14000"/> |
|---|
| 51 | 54 | <dc1 timeout="30000" period="60000"> |
|---|
| … | … | |
| 78 | 81 | </parts> |
|---|
| 79 | 82 | </resmon> |
|---|
| | 83 | <switches module="snmp" period="30000"> |
|---|
| | 84 | <config> |
|---|
| | 85 | <oid_description>IF-MIB::ifDescr.%[name]</oid_description> |
|---|
| | 86 | <oid_alias>IF-MIB::ifAlias.%[name]</oid_alias> |
|---|
| | 87 | <oid_speed>IF-MIB::ifSpeed.%[name]</oid_speed> |
|---|
| | 88 | <oid_adminstatus>IF-MIB::ifAdminStatus.%[name]</oid_adminstatus> |
|---|
| | 89 | <oid_operstatus>IF-MIB::ifOperStatus.%[name]</oid_operstatus> |
|---|
| | 90 | <oid_inoctets>IF-MIB::ifInOctets.%[name]</oid_inoctets> |
|---|
| | 91 | <oid_outoctets>IF-MIB::ifOutOctets.%[name]</oid_outoctets> |
|---|
| | 92 | <oid_inerrors>IF-MIB::ifInErrors.%[name]</oid_inerrors> |
|---|
| | 93 | <oid_outerrors>IF-MIB::ifOutErrors.%[name]</oid_outerrors> |
|---|
| | 94 | <oid_indiscards>IF-MIB::ifInDiscards.%[name]</oid_indiscards> |
|---|
| | 95 | <oid_outdiscards>IF-MIB::ifOutDiscards.%[name]</oid_outdiscards> |
|---|
| | 96 | <oid_inucastpkts>IF-MIB::ifInUcastPkts.%[name]</oid_inucastpkts> |
|---|
| | 97 | <oid_outucastpkts>IF-MIB::ifOutUcastPkts.%[name]</oid_outucastpkts> |
|---|
| | 98 | <oid_innucastpkts>IF-MIB::ifInNUcastPkts.%[name]</oid_innucastpkts> |
|---|
| | 99 | <oid_outnucastpkts>IF-MIB::ifOutNUcastPkts.%[name]</oid_outnucastpkts> |
|---|
| | 100 | </config> |
|---|
| | 101 | <switch target="10.80.116.3"> |
|---|
| | 102 | <check uuid="1b4e28ba-2fa1-11d2-883f-e9b761bde3fb" name="1" /> |
|---|
| | 103 | <check uuid="1b4e28ba-3fa1-11d2-883f-e9b761bde3fb" name="2" /> |
|---|
| | 104 | <check uuid="1b4e29ba-3fa1-11d2-883f-e9b761bde3fb" name="3" /> |
|---|
| | 105 | </switch> |
|---|
| | 106 | </switches> |
|---|
| 80 | 107 | </dc1> |
|---|
| 81 | 108 | </checks> |
|---|