SNMP on Cacti?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
bintut

SNMP on Cacti?

Post by bintut »

Hello all,

I installed Cacti and RRDTool and works fine with me and provides graphs except for SNMP interfaces. When I checked my SNMP Interfaces, I got nothing. But my SNMP service is running. I'm using Mandrake Linux 8.2 and I have ucd-snmp-4.2.3-2mdk, libsnmp0-4.2.3-2mdk and ucd-snmp-utils-4.2.3-2mdk installed for SNMP related packages.

Please help me. I need my SNMP works with Cacti as early as possible because I have a deadline here. I really need the graphs for my SNMP.

By the way, this is also my problem with NTOP that SNMP is also absent.

Thank you very much in advance.

God bless you all...


---
MARVIN T. PASCUAL
bintut@softhome.net
Yahoo! Messenger ID: bintut
oss

No SNMP

Post by oss »

Hello,

same problem: got no SNMP data from all the SNMP devices.
There is nothing in the "View gathered Interfaces" list, if I try "Refresh Interface" the browser shows an error (page could not be displayed).

I installed Version 0.6.8a on SuSE Linux 7.3.
At the shell snmpget / snmpwalk show the expected results, the directories in cacti are set correct.

What more can I do to get some certain SNMP interfaces / parameters?

Thanks a lot,
Mario
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

I have seen a few cases where cacti tries to use built-in SNMP support, but that is broken for some reason or another. Try opening up your 'include/config.php' file and changing line 59 from:

Code: Select all

$config["php_snmp_support"] = function_exists("snmpget");
to

Code: Select all

$config["php_snmp_support"] = false;
See if that does the trick.

-Ian
Guest

Post by Guest »

I tried making the change and now I get Call to undefined function: get_snmp_interfaces() in /usr/local/cacti-0.6.8/snmp.php on line 70

This is my first attempt to use Cacti but I have used mrtg integrated with rrdtool.
Guest

Post by Guest »

I tried making the change and now I get Call to undefined function: get_snmp_interfaces() in /usr/local/cacti-0.6.8/snmp.php on line 70

This is my first attempt to use Cacti but I have used mrtg integrated with rrdtool.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests