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.
First off I'm new to all things Cacti and snmp, although we have been running it it our company for some time I have only recently started administrating it.
The first step for us however is just to get one local server being monitored over TCP i.e. without the tunnelling.
I have followed the steps in the HOW TO and have managed to get as getting a successful response from a manual snmpwalk
However when I configure the host device in Cacti with the appropriate community and set the the hostname to tcp:10.xxx.xxx.xxx:1161 I get a SNMP error
BSOD2600 wrote:In the snmp port field, trying using: tcp:1161
unfortunately the SNMP port field can only accept 5 characters, so I can only get as far as tcp:1
If I go into Cacti Settings I can set the default SNMP port to tcp:1161, which then gets inserted into the snmp port field when I add a new device, however, I get an error on the field when I try save/create the device.
I had a similar problem with 0.8.7e. I'm using PHP 5.3.1, and SNMP v3. After some tracing, it looks like the PHP snmp3_get function was blowing up with the tcp:hostname syntax. I altered the snmp_get_method function in lib/snmp.php to force it to return SNMP_METHOD_BINARY and everything started working.