Dear Cacti Community,
I'm happy to release the initial version of a new plugin called "Cacti SNMPagent" today.
All in all it is a pretty small base plugin, that allows you to monitor Cacti on its own or by using a foreign application in combination with SNMP. Therefore Cacti got its own MIB.
I'm pretty sure that some of you will directly notice that this initial release does not support SNMP notifications as well as other Cacti plugins.
This will be part of the second release I'm currently working on.
From my point of view BOOST and THOLD are the most interesting plugins in that case and I will write an additional MIB for both of them after consultation with the other core developers.
However, I'm looking for your specific feedback on this plugin and probably some of you will have a good mind to create some sweet templates for it.
One example has already been included.
Best regards
-Browniebraun
Code: Select all
browniebraun@ubuntudevbox:~$ snmpwalk -v 2c -c cacti_get localhost -m CACTI-SMI .1.3.6.1.4.1.23925
CACTI-SMI::cactiApplLastUpdate.0 = Gauge32: 1361994605 seconds
CACTI-SMI::cactiApplVersion.0 = STRING: 0.8.8a
CACTI-SMI::cactiApplSnmpVersion.0 = INTEGER: netsnmp(1)
CACTI-SMI::cactiApplRrdtoolVersion.0 = STRING: rrd-1.4.x
CACTI-SMI::cactiApplPollerEnabled.0 = INTEGER: true(1)
CACTI-SMI::cactiApplPollerType.0 = INTEGER: cmd(1)
CACTI-SMI::cactiApplPollerInterval.0 = Gauge32: 300 seconds
CACTI-SMI::cactiApplPollerMaxProcesses.0 = Gauge32: 2 processes
CACTI-SMI::cactiApplPollerLoadBalance.0 = INTEGER: true(1)
CACTI-SMI::cactiApplSpineMaxThreads.0 = Gauge32: 1 threads
CACTI-SMI::cactiApplSpineScriptServers.0 = Gauge32: 1 instances
CACTI-SMI::cactiApplSpineScriptTimeout.0 = Gauge32: 25 seconds
CACTI-SMI::cactiApplSpineMaxOids.0 = Gauge32: 10 oids
CACTI-SMI::cactiApplDeviceIndex.1 = Gauge32: 1
CACTI-SMI::cactiApplDeviceIndex.3 = Gauge32: 3
CACTI-SMI::cactiApplDeviceIndex.7 = Gauge32: 7
CACTI-SMI::cactiApplDeviceIndex.8 = Gauge32: 8
CACTI-SMI::cactiApplDeviceIndex.9 = Gauge32: 9
CACTI-SMI::cactiApplDeviceIndex.10 = Gauge32: 10
CACTI-SMI::cactiApplDeviceIndex.13 = Gauge32: 13
CACTI-SMI::cactiApplDeviceDescription.1 = STRING: VM Ubuntu Enterprise Server
CACTI-SMI::cactiApplDeviceDescription.3 = STRING: Draytek
CACTI-SMI::cactiApplDeviceDescription.7 = STRING: Netgear GS108Tv2
CACTI-SMI::cactiApplDeviceDescription.8 = STRING: Netgear GS108Tv1
CACTI-SMI::cactiApplDeviceDescription.9 = STRING: TP-LINK AP 901
CACTI-SMI::cactiApplDeviceDescription.10 = STRING: Brother HL-2250DN
CACTI-SMI::cactiApplDeviceDescription.13 = STRING: VM Windows Host
CACTI-SMI::cactiApplDeviceHostname.1 = STRING: 127.0.0.1
CACTI-SMI::cactiApplDeviceHostname.3 = STRING: 192.168.1.1
CACTI-SMI::cactiApplDeviceHostname.7 = STRING: 192.168.1.3
CACTI-SMI::cactiApplDeviceHostname.8 = STRING: 192.168.1.2
CACTI-SMI::cactiApplDeviceHostname.9 = STRING: 192.168.1.254
CACTI-SMI::cactiApplDeviceHostname.10 = STRING: 192.168.1.15
CACTI-SMI::cactiApplDeviceHostname.13 = STRING: 192.168.1.50
CACTI-SMI::cactiApplDeviceStatus.1 = INTEGER: up(3)
CACTI-SMI::cactiApplDeviceStatus.3 = INTEGER: down(1)
CACTI-SMI::cactiApplDeviceStatus.7 = INTEGER: up(3)
CACTI-SMI::cactiApplDeviceStatus.8 = INTEGER: up(3)
CACTI-SMI::cactiApplDeviceStatus.9 = INTEGER: up(3)
CACTI-SMI::cactiApplDeviceStatus.10 = INTEGER: up(3)
CACTI-SMI::cactiApplDeviceStatus.13 = INTEGER: unknown(0)
CACTI-SMI::cactiApplDeviceEventCount.1 = Gauge32: 0
CACTI-SMI::cactiApplDeviceEventCount.3 = Gauge32: 3873
CACTI-SMI::cactiApplDeviceEventCount.7 = Gauge32: 0
CACTI-SMI::cactiApplDeviceEventCount.8 = Gauge32: 0
CACTI-SMI::cactiApplDeviceEventCount.9 = Gauge32: 0
CACTI-SMI::cactiApplDeviceEventCount.10 = Gauge32: 0
CACTI-SMI::cactiApplDeviceEventCount.13 = Gauge32: 0
CACTI-SMI::cactiApplDeviceFailDate.1 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceFailDate.3 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceFailDate.7 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceFailDate.8 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceFailDate.9 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceFailDate.10 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceFailDate.13 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceRecoveryDate.1 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceRecoveryDate.3 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceRecoveryDate.7 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceRecoveryDate.8 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceRecoveryDate.9 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceRecoveryDate.10 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceRecoveryDate.13 = STRING: 0000-00-00 00:00:00
CACTI-SMI::cactiApplDeviceLastError.1 = STRING: Host did not respond to SNMP
CACTI-SMI::cactiApplDeviceLastError.3 = STRING: Host did not respond to SNMP
CACTI-SMI::cactiApplDeviceLastError.7 = STRING:
CACTI-SMI::cactiApplDeviceLastError.8 = STRING:
CACTI-SMI::cactiApplDeviceLastError.9 = STRING:
CACTI-SMI::cactiApplDeviceLastError.10 = STRING: Host did not respond to SNMP
CACTI-SMI::cactiApplDeviceLastError.13 = STRING:
CACTI-SMI::cactiApplPollerIndex.1 = Gauge32: 1
CACTI-SMI::cactiApplPollerHostname.1 = STRING: localhost
CACTI-SMI::cactiApplPollerIpAddress.1 = STRING: 127.0.0.1
CACTI-SMI::cactiApplPollerLastUpdate.1 = STRING: 1359307502
CACTI-SMI::cactiApplPluginIndex.1 = Gauge32: 1
CACTI-SMI::cactiApplPluginIndex.2 = Gauge32: 2
CACTI-SMI::cactiApplPluginIndex.3 = Gauge32: 3
CACTI-SMI::cactiApplPluginIndex.4 = Gauge32: 4
CACTI-SMI::cactiApplPluginType.1 = INTEGER: system(1)
CACTI-SMI::cactiApplPluginType.2 = INTEGER: system(1)
CACTI-SMI::cactiApplPluginType.3 = INTEGER: default(2)
CACTI-SMI::cactiApplPluginType.4 = INTEGER: default(2)
CACTI-SMI::cactiApplPluginName.1 = STRING: snmpagent
CACTI-SMI::cactiApplPluginName.2 = STRING: settings
CACTI-SMI::cactiApplPluginName.3 = STRING: weathermap
CACTI-SMI::cactiApplPluginName.4 = STRING: evolution
CACTI-SMI::cactiApplPluginStatus.1 = INTEGER: active(1)
CACTI-SMI::cactiApplPluginStatus.2 = INTEGER: installed(4)
CACTI-SMI::cactiApplPluginStatus.3 = INTEGER: disabledold(-2)
CACTI-SMI::cactiApplPluginStatus.4 = INTEGER: notinstalled(0)
CACTI-SMI::cactiApplPluginVersion.1 = STRING: 0.1
CACTI-SMI::cactiApplPluginVersion.2 = STRING: 0.71
CACTI-SMI::cactiApplPluginVersion.3 = STRING: 0.97a
CACTI-SMI::cactiApplPluginVersion.4 = STRING: 0.1
CACTI-SMI::cactiStatsLastUpdate.0 = Gauge32: 1361994605 seconds
CACTI-SMI::cactiStatsRecacheTime.0 = Gauge32: 0 seconds
CACTI-SMI::cactiStatsRecachedHosts.0 = Gauge32: 0
CACTI-SMI::cactiStatsLocalPollerRuntime.0 = STRING: 3.1879 seconds
CACTI-SMI::cactiStatsTotalsDevices.0 = Gauge32: 7
CACTI-SMI::cactiStatsTotalsDataSources.0 = Gauge32: 32
CACTI-SMI::cactiStatsTotalsGraphs.0 = Gauge32: 24
CACTI-SMI::cactiStatsTotalsDeviceStatusIndex.unknown = INTEGER: unknown(0)
CACTI-SMI::cactiStatsTotalsDeviceStatusIndex.down = INTEGER: down(1)
CACTI-SMI::cactiStatsTotalsDeviceStatusIndex.recovering = INTEGER: recovering(2)
CACTI-SMI::cactiStatsTotalsDeviceStatusIndex.up = INTEGER: up(3)
CACTI-SMI::cactiStatsTotalsDeviceStatusIndex.disabled = INTEGER: disabled(4)
CACTI-SMI::cactiStatsTotalsDeviceStatusCounter.unknown = Gauge32: 1
CACTI-SMI::cactiStatsTotalsDeviceStatusCounter.down = Gauge32: 1
CACTI-SMI::cactiStatsTotalsDeviceStatusCounter.recovering = Gauge32: 0
CACTI-SMI::cactiStatsTotalsDeviceStatusCounter.up = Gauge32: 5
CACTI-SMI::cactiStatsTotalsDeviceStatusCounter.disabled = Gauge32: 0
CACTI-SMI::cactiStatsDeviceIndex.1 = Gauge32: 1
CACTI-SMI::cactiStatsDeviceIndex.3 = Gauge32: 3
CACTI-SMI::cactiStatsDeviceIndex.7 = Gauge32: 7
CACTI-SMI::cactiStatsDeviceIndex.8 = Gauge32: 8
CACTI-SMI::cactiStatsDeviceIndex.9 = Gauge32: 9
CACTI-SMI::cactiStatsDeviceIndex.10 = Gauge32: 10
CACTI-SMI::cactiStatsDeviceIndex.13 = Gauge32: 13
CACTI-SMI::cactiStatsDeviceHostname.1 = STRING: 127.0.0.1
CACTI-SMI::cactiStatsDeviceHostname.3 = STRING: 192.168.1.1
CACTI-SMI::cactiStatsDeviceHostname.7 = STRING: 192.168.1.3
CACTI-SMI::cactiStatsDeviceHostname.8 = STRING: 192.168.1.2
CACTI-SMI::cactiStatsDeviceHostname.9 = STRING: 192.168.1.254
CACTI-SMI::cactiStatsDeviceHostname.10 = STRING: 192.168.1.15
CACTI-SMI::cactiStatsDeviceHostname.13 = STRING: 192.168.1.50
CACTI-SMI::cactiStatsDeviceMinTime.1 = STRING: 0.07000 milliseconds
CACTI-SMI::cactiStatsDeviceMinTime.3 = STRING: 7.17000 milliseconds
CACTI-SMI::cactiStatsDeviceMinTime.7 = STRING: 6.53000 milliseconds
CACTI-SMI::cactiStatsDeviceMinTime.8 = STRING: 7.03000 milliseconds
CACTI-SMI::cactiStatsDeviceMinTime.9 = STRING: 4.90000 milliseconds
CACTI-SMI::cactiStatsDeviceMinTime.10 = STRING: 5.06000 milliseconds
CACTI-SMI::cactiStatsDeviceMinTime.13 = STRING: 9.99999 milliseconds
CACTI-SMI::cactiStatsDeviceMaxTime.1 = STRING: 40.31000 milliseconds
CACTI-SMI::cactiStatsDeviceMaxTime.3 = STRING: 64.82000 milliseconds
CACTI-SMI::cactiStatsDeviceMaxTime.7 = STRING: 87.15000 milliseconds
CACTI-SMI::cactiStatsDeviceMaxTime.8 = STRING: 193.36000 milliseconds
CACTI-SMI::cactiStatsDeviceMaxTime.9 = STRING: 175.94000 milliseconds
CACTI-SMI::cactiStatsDeviceMaxTime.10 = STRING: 85.11000 milliseconds
CACTI-SMI::cactiStatsDeviceMaxTime.13 = STRING: 0.00000 milliseconds
CACTI-SMI::cactiStatsDeviceCurTime.1 = STRING: 21.18 milliseconds
CACTI-SMI::cactiStatsDeviceCurTime.3 = STRING: 30.33000 milliseconds
CACTI-SMI::cactiStatsDeviceCurTime.7 = STRING: 16.6 milliseconds
CACTI-SMI::cactiStatsDeviceCurTime.8 = STRING: 14.95 milliseconds
CACTI-SMI::cactiStatsDeviceCurTime.9 = STRING: 13.91 milliseconds
CACTI-SMI::cactiStatsDeviceCurTime.10 = STRING: 22.83 milliseconds
CACTI-SMI::cactiStatsDeviceCurTime.13 = STRING: 0.00000 milliseconds
CACTI-SMI::cactiStatsDeviceAvgTime.1 = STRING: 4.6414624542429 milliseconds
CACTI-SMI::cactiStatsDeviceAvgTime.3 = STRING: 19.76352 milliseconds
CACTI-SMI::cactiStatsDeviceAvgTime.7 = STRING: 13.103881423326 milliseconds
CACTI-SMI::cactiStatsDeviceAvgTime.8 = STRING: 12.688725465991 milliseconds
CACTI-SMI::cactiStatsDeviceAvgTime.9 = STRING: 18.995640591012 milliseconds
CACTI-SMI::cactiStatsDeviceAvgTime.10 = STRING: 17.304720375751 milliseconds
CACTI-SMI::cactiStatsDeviceAvgTime.13 = STRING: 0.00000 milliseconds
CACTI-SMI::cactiStatsDeviceTotalPolls.1 = Gauge32: 3051
CACTI-SMI::cactiStatsDeviceTotalPolls.3 = Gauge32: 7421
CACTI-SMI::cactiStatsDeviceTotalPolls.7 = Gauge32: 5719
CACTI-SMI::cactiStatsDeviceTotalPolls.8 = Gauge32: 5719
CACTI-SMI::cactiStatsDeviceTotalPolls.9 = Gauge32: 5719
CACTI-SMI::cactiStatsDeviceTotalPolls.10 = Gauge32: 5716
CACTI-SMI::cactiStatsDeviceTotalPolls.13 = Gauge32: 0
CACTI-SMI::cactiStatsDeviceFailedPolls.1 = Gauge32: 647
CACTI-SMI::cactiStatsDeviceFailedPolls.3 = Gauge32: 3886
CACTI-SMI::cactiStatsDeviceFailedPolls.7 = Gauge32: 0
CACTI-SMI::cactiStatsDeviceFailedPolls.8 = Gauge32: 0
CACTI-SMI::cactiStatsDeviceFailedPolls.9 = Gauge32: 0
CACTI-SMI::cactiStatsDeviceFailedPolls.10 = Gauge32: 553
CACTI-SMI::cactiStatsDeviceFailedPolls.13 = Gauge32: 0
CACTI-SMI::cactiStatsDeviceAvailability.1 = STRING: 78.793838085873 percent
CACTI-SMI::cactiStatsDeviceAvailability.3 = STRING: 47.635089610565 percent
CACTI-SMI::cactiStatsDeviceAvailability.7 = STRING: 100 percent
CACTI-SMI::cactiStatsDeviceAvailability.8 = STRING: 100 percent
CACTI-SMI::cactiStatsDeviceAvailability.9 = STRING: 100 percent
CACTI-SMI::cactiStatsDeviceAvailability.10 = STRING: 90.325402379286 percent
CACTI-SMI::cactiStatsDeviceAvailability.13 = STRING: 100.00000 percent
CACTI-SMI::cactiStatsPollerIndex.1 = Gauge32: 1
CACTI-SMI::cactiStatsPollerHostname.1 = STRING: localhost
CACTI-SMI::cactiStatsPollerRunTime.1 = STRING: 3.1879 seconds
CACTI-SMI::cactiStatsPollerMethod.1 = INTEGER: cmd(1)
CACTI-SMI::cactiStatsPollerConcurrentProcesses.1 = Gauge32: 2
CACTI-SMI::cactiStatsPollerThreads.1 = Gauge32: 0
CACTI-SMI::cactiStatsPollerHosts.1 = Gauge32: 8
CACTI-SMI::cactiStatsPollerHostsPerProcess.1 = Gauge32: 4
CACTI-SMI::cactiStatsPollerItems.1 = Gauge32: 49
CACTI-SMI::cactiStatsPollerRrrdsProcessed.1 = Gauge32: 27
CACTI-SMI::cactiStatsPollerUtilization.1 = STRING: 1.0626333333 percent
browniebraun@ubuntudevbox:~$