Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I have some problems with these !
1)I ran the php script manually, and it would complain about an "invalid object identifier: ifTable......". So I changed the script to contain $OID = "1.3.6.1.2.1.2.2.1.2". To check if that works, I added an ECHO of $val in the foreach loop, but I get nothing at all. The result of the script is nothing at all too.
I'm sure there are tunnels, and "snmpwalk -v 2c -c ***** 172.29.3.203 1.3.6.1.2.1.2.2.1.2" gives me the right result.
2) when I try to load the XML, it gives me an XML parse error. Could this be due to a different cacti version ?
Yeah, I think the XML problem is due to the version than.
I'm on a windows system, so that's where the other problems must come from. I changed the script and got it running fine on the command line, and than I made the necessary methods and templates in Cacti. Works fine now.
Thanks.
Trying to run this on a Windows installation - The graph is empty, although I get SNMP basic data in the device setup. When running the script from the command line, I get the following error:
Has anyone gotten this script to work? If so, can you share the changes you made to get this working? I have just started working on it again on my machine and this is the one script that does not seem to work.
I do not get anything from the script. I run the script as you mention and it just goes back to the prompt. If I uncomment your echo line I can see the script output the list of connections. The script is working but not outputting the data correctly.
I can give you more information if you need it. Just let me know as I would really like to get this script working.
Could you post the output you have when you uncomment the echo statement. Maybe it has something to do with uppercase lowercase since the count part of the script is pretty straightforward.
Anyone get this to work? I've modified the script a little bit to get the output for the variables, but its not graphing with the templates provided...
*UPDATE* I got it to work with the following code below and now am getting the data graphed.
I just wanted to confirm my success in using the code below, it is graphing up to a maximum of 100 connections on both my 3700 and 3600 series concentrators.
However, it does only graph to 100 concurrent connections, the most recent output of the script run manually is
ipec:121 pptp:0
Being as unfamiliar with PHP as I am; Is this a limitation of the script, or the data template within cacti itself? I've played briefly with modifying the template.. no luck as of yet.
td;dr - Has anyone managed to graph more than 100 connections?