[racktables-users] Re: plugins/snmplive.php error :: Class 'SNMP' not found
- From: Adrian Sevcenco <Adrian.Sevcenco@xxxxxxxxxxxxxxx>
- To: Maik Ehinger <m.ehinger@xxxxxxx>
- Date: Thu, 20 Aug 2015 17:45:14 +0300
On 08/20/2015 05:04 PM, Maik Ehinger wrote:
Hi Adrian,
Hi!
you could also try the newest snmpgeneric plugin:
https://raw.githubusercontent.com/github138/myRT-contribs/develop-0.20.x/snmpgeneric.php
and change:
class sl_ifxsnmp extends SNMP
to
class sl_ifxsnmp extends SNMPgeneric
in snmplive.php.
i changed
class sl_ifxsnmp extends SNMPgeneric
and
if($version == SNMPgeneric::VERSION_3)
last one because of :
parsererror Invalid JSON:
Fatal error: Class 'SNMP' not found in
/export/racktables/plugins/snmplive.php on line 579
undefined
but i get a list of invalid indexes
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 639
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 641
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 641
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 643
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 643
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 645
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 649
Notice: Undefined index: 49 in /export/racktables/plugins/snmplive.php
on line 656
The switch is HP Procurve 2900 and 2810
Thanks a lot for help and for your work!
Adrian
Let me know if it works.
Regards,
Maik
Von: Maik Ehinger <m.ehinger@xxxxxxx>
An: Adrian Sevcenco <Adrian.Sevcenco@xxxxxxxxxxxxxxx>
Kopie: racktables-users@xxxxxxxxxxxxx
Datum: 20.08.2015 15:58
Betreff: [racktables-users] Re: plugins/snmplive.php error ::
Class 'SNMP' not found
Gesendet von: racktables-users-bounce@xxxxxxxxxxxxx
------------------------------------------------------------------------
HI Adrian,
SNMP Class is available since PHP 5.4.0.
Regards,
Maik
Von: Adrian Sevcenco <Adrian.Sevcenco@xxxxxxxxxxxxxxx>
An:
Datum: 20.08.2015 15:43
Betreff: [racktables-users] plugins/snmplive.php error :: Class
'SNMP' not found
Gesendet von: racktables-users-bounce@xxxxxxxxxxxxx
------------------------------------------------------------------------
Hi! I use 0.20.10 and i tried to use the plugins/snmplive.php plugin but
i get :
Fatal error: Class 'SNMP' not found in
/export/racktables/plugins/snmplive.php on line 553
with the code:
class sl_ifxsnmp extends SNMP
{
Anyone have any idea about this?
Thank you!
Adrian
--
----------------------------------------------
Adrian Sevcenco, Ph.D. |
Institute of Space Science - ISS, Romania |
adrian.sevcenco at {cern.ch,spacescience.ro} |
----------------------------------------------
Other related posts: