[racktables-users] Re: snmpgeneric.php

  • From: Samir Patrice <samir.patrice@xxxxxxxxx>
  • To: Rob Walker <rwalker@xxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 23 Jul 2012 13:25:38 -0300

Rob,
I think the version I use does not have the file local.php. See my inc/
directory:
root@oiapoque:/var/www/racktables/inc# ls -lh
total 1,5M
-rw-r--r-- 1 root root 5,9K Jul 19 17:41 ajax-interface.php
-rw-r--r-- 1 root root  19K Jul 19 17:41 auth.php
-rw-r--r-- 1 root root 3,4K Jul 19 17:41 caching.php
-rw-r--r-- 1 root root  30K Jul 19 17:41 code.php
-rw-r--r-- 1 root root  670 Jul 19 17:41 config.php
-rw-r--r-- 1 root root 142K Jul 19 17:41 database.php
-rw-r--r-- 1 root root  58K Jul 19 17:41 deviceconfig.php
-rw-r--r-- 1 root root 170K Jul 19 17:41 dictionary.php
-rw-r--r-- 1 root root 9,7K Jul 19 17:41 exceptions.php
-rw-r--r-- 1 root root 140K Jul 19 17:41 functions.php
-rw-r--r-- 1 root root  16K Jul 19 17:41 gateways.php
-rw-r--r-- 1 root root 4,8K Jul 19 17:41 init.php
-rw-r--r-- 1 root root  82K Jul 19 17:41 install.php
-rw-r--r-- 1 root root  19K Jul 19 17:41 interface-lib.php
-rw-r--r-- 1 root root 329K Jul 19 17:41 interface.php
-rw-r--r-- 1 root root 5,5K Jul 19 17:41 IPv6.php
-rw-r--r-- 1 root root  32K Jul 19 17:41 navigation.php
-rw-r--r-- 1 root root  93K Jul 19 17:41 ophandlers.php
-rw-r--r-- 1 root root  15K Jul 19 17:41 popup.php
-rw-r--r-- 1 root root 2,7K Jul 19 17:41 pre-init.php
-rw-rw-rw- 1 root root 1,5K Jul 19 17:55 secret.php
-rw-r--r-- 1 root root  66K Jul 23 13:16 snmp.php
-rw-r--r-- 1 root root  12K Jul 19 17:41 solutions.php
-rw-r--r-- 1 root root 8,9K Jul 19 17:41 triggers.php
-rw-r--r-- 1 root root  84K Jul 19 17:41 upgrade.php

I use Racktables 0.19.13 version.

Nikolay, I'll try to edit the snmp.php to detect the real error.

2012/7/23 Rob Walker <rwalker@xxxxxxxxxxxxxxxxxxx>

> Samir,
>
> On my server, I have the following:
>
> rwalker@hostname:~$ cat /var/www/html/racktables/inc/local.php
> <?php
> require_once "ping.php";
> require_once "snmpgeneric.php";
> require_once "extensions/reports/server-report.php";
> require_once "extensions/reports/vm-report.php";
> require_once "extensions/reports/local-report.php";
> ?>
>
> And I put the file here like so:
>
> rwalker@hostname:~$ find /var/www/html/racktables | grep snmpgeneric
> /var/www/html/racktables/inc/snmpgeneric.php
>
>
> Rob
>
>
> On 7/21/12 6:43 AM, Samir Patrice wrote:
> > Hi folks,
> >
> > First, Sorry for my English.
> > I downloaded the latest version of the racktables and I can't use the
> > tab snmpsync, I get the message "Fatal SNMP failure". In the properties
> > of the object I put the IP address of fqdn, this could be the problem?
> > An alternative that I saw on the internet was the use of plugins like
> > snmpgeneric.php, but how to install it?
> > I saw in the README that just put in local.php the line "include 'inc /
> > snmpgeneric.php" but I did not find the file local.php.
> > How to proceed?
> > --
> > Samir Patrice
> > Analista de Rede
> > PoP-AP/RNP
> >
>



-- 
Samir Patrice
Analista de Rede
PoP-AP/RNP

Other related posts: