DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:snmplive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:snmplive [2015-05-01 21:00] – [Discussion] 162.129.251.22plugin:snmplive [2017-11-25 21:16] (current) Aleksandr
Line 2: Line 2:
  
 ---- plugin ---- ---- plugin ----
-description: Fetches SNMP values on the network and displays them live through ajax.+description: Fetches SNMP values on the network and displays them live through Ajax
 author     : Michael Luggen author     : Michael Luggen
 email      : michael.luggen@unifr.ch email      : michael.luggen@unifr.ch
Line 15: Line 15:
 ---- ----
  
-//based on the [[plugin:xfortune|xfortune-plugin]]//+//Based on the [[plugin:xfortune|xfortune-plugin]].//
  
-It gets the actual [[http://en.wikipedia.org/wiki/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.+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://www.oidview.com/mibs/0/Printer-MIB.html   * http://www.oidview.com/mibs/0/Printer-MIB.html
   * .1.3.6.1.2.1.43.16.5.1.2.1.1 as example shows whats on the Display  of a Brother HL-2700CN   * .1.3.6.1.2.1.43.16.5.1.2.1.1 as example shows whats on the Display  of a Brother HL-2700CN
Line 280: Line 282:
 Can anyone guide me how to sum several snmplive outputs in dokuwiki?  Can anyone guide me how to sum several snmplive outputs in dokuwiki? 
  
- --- //[[wypierdalacz@yahoo.com|lolo]] 2015-03-14//+ --- //[[w*@yahoo.com|lolo]] 2015-03-14//
  
 I finally figured it out. You will need [[plugin:tablecalc|tablecalc plugin]] or something similar: I finally figured it out. You will need [[plugin:tablecalc|tablecalc plugin]] or something similar:
Line 290: Line 292:
   |**Total input feed:**| ~~=r0c1+r1c1+r2c1+r3c1~~<html>&nbsp;</html> watts|   |**Total input feed:**| ~~=r0c1+r1c1+r2c1+r3c1~~<html>&nbsp;</html> watts|
   |**Annual cost estimate based on the total power consumption of the system at this load (11¢/kW):**|$~~=round(r4c1*24*0.365*0.11,2)~~/year|   |**Annual cost estimate based on the total power consumption of the system at this load (11¢/kW):**|$~~=round(r4c1*24*0.365*0.11,2)~~/year|
 +  
 + --- //[[w*@yahoo.com|lolo]] 2015-05-1//
 +
 +  --- //[[na@googlemail.com|leeb]] 2015-06-17//
 +
 +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 /var/www/dokuwiki/lib/plugins/snmplive/syntax.php on line 104\\
  
 +  --- //[[na@googlemail.com|leeb]] 2015-06-17//
plugin/snmplive.1430506801.txt.gz · Last modified: 2015-05-01 21:00 by 162.129.251.22

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki