plugin:snmplive
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:snmplive [2010-10-09 10:11] – gturri | plugin:snmplive [2017-11-25 21:16] (current) – Aleksandr | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
author | author | ||
email : michael.luggen@unifr.ch | email : michael.luggen@unifr.ch | ||
Line 15: | Line 15: | ||
---- | ---- | ||
- | //based on the [[plugin: | + | //Based on the [[plugin: |
- | It gets the actual [[http:// | + | It gets the actual [[wp>Simple_Network_Management_Protocol|SNMP]] values out of any by the server reachable device (e.g. servers, printers, temp. sensors). I wrote this plugin to realize an easy to set-up server-admin dashboard. |
===== Usage ===== | ===== Usage ===== | ||
+ | |||
You need the IP of the device and the exact oid... NEW: You can now also set the community. | You need the IP of the device and the exact oid... NEW: You can now also set the community. | ||
Line 25: | Line 26: | ||
==== Collection of interesting OID's ==== | ==== Collection of interesting OID's ==== | ||
+ | |||
* http:// | * http:// | ||
* .1.3.6.1.2.1.43.16.5.1.2.1.1 as example shows whats on the Display | * .1.3.6.1.2.1.43.16.5.1.2.1.1 as example shows whats on the Display | ||
Line 66: | Line 68: | ||
' | ' | ||
' | ' | ||
- | ' | + | ' |
); | ); | ||
} | } | ||
Line 270: | Line 272: | ||
--- // | --- // | ||
+ | |||
+ | A prerequisite for this plugin is the snmp package for php5. | ||
+ | On a Debian system you could do | ||
+ | |||
+ | apt-get install php5-snmp | ||
+ | |||
+ | --- // | ||
+ | | ||
+ | Can anyone guide me how to sum several snmplive outputs in dokuwiki? | ||
+ | |||
+ | --- // | ||
+ | |||
+ | I finally figured it out. You will need [[plugin: | ||
+ | | ||
+ | |**PDU1**|< | ||
+ | |**PDU2**|< | ||
+ | |**PDU3**|< | ||
+ | |**PDU4**|< | ||
+ | |**Total input feed:**| ~~=r0c1+r1c1+r2c1+r3c1~~< | ||
+ | |**Annual cost estimate based on the total power consumption of the system at this load (11¢/ | ||
+ | | ||
+ | --- // | ||
+ | |||
+ | --- // | ||
+ | |||
+ | I am struggling to get any output. If I run the command for SNMPGET from command line I get the expected result\\ | ||
+ | But running in Dokuwiki I get\\ | ||
+ | Warning: snmpget(): No response from xxxxx in / | ||
+ | |||
+ | --- // |
plugin/snmplive.1286611889.txt.gz · Last modified: 2010-10-09 10:11 by gturri