Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Jun 15, 2019 11:52 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Cacti and snmp over TCP
PostPosted: Fri Mar 01, 2019 1:43 pm 
Offline

Joined: Thu Jun 01, 2017 12:44 pm
Posts: 22
Does cacti support snmp over tcp?

I receive an error from cacti when attempting to use tcp in the hostname:

tcp:192.168.1.2

Error:

Session SNMP error - SNMP::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known

snmpwalk has no problem with this at all. tcp handles crappy network connections much better than udp.

Thanks


Top
 Profile  
 
 Post subject: Re: Cacti and snmp over TCP
PostPosted: Fri Mar 01, 2019 3:36 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 2499
Unfortunately, I believe this to be a problem with the php-snmp module more than anything. You can try disabling that to see if that helps things.

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group