Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


ability to specify SNMP port number

 
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests
Author Message
bbice
Cacti User


Joined: 13 May 2002
Posts: 71

PostPosted: Wed Jul 10, 2002 4:10 pm    Post subject: ability to specify SNMP port number Reply with quote

One thing that might be useful is the addition of a port number field to the page that asks for data for doing an SNMP query. I sometimes have several SNMP agents running on a single machine (on separate ports) and I may want to monitor variables on each of them.

For instance, I may be running the SNMP software that comes with Solaris on one port, but also running net-snmp on another (so I can monitor things like the number of ClearCase licenses in use or the number of SPAM messages blocked or whatever), and I may also be running SQUID which also has SNMP queriable values on a third port.

Right now, in cacti all I can specify is IP/hostname, community, and OID, right?

Brent
Back to top
Guest






PostPosted: Tue Aug 06, 2002 12:22 am    Post subject: Reply with quote

Hello,

You have any solution yet for the port problem in cacti ?
I have the same problem here because i´m running portbased NAT
to reach different device vian SNMP.

Thanks,

Holger
Back to top
bbice
Cacti User


Joined: 13 May 2002
Posts: 71

PostPosted: Tue Aug 06, 2002 12:48 am    Post subject: Reply with quote

'Fraid not. I poked around in the guts enough to figure out how to make the snmp queries
work even using the built-in php routines which use the net-snmp libraries I compiled, and
also figured out how to make it do retries (which were necessary because I was also running
MRTG at the exact same time that cacti fired off it's data collection).

But the port really needs to be an option stored with each data object -- it would need to be
a new column in one or more of the tables and at least one form would need to be modified.
I didn't have time to dig into the code enough to implement it myself and haven't arranged
getting CVS access (so I could check in my changes).

I've got a few other projects on the back burner, but if nobody else takes this on, I may...
eventually...

Brent
Back to top
Bidds
Guest





PostPosted: Wed Aug 07, 2002 12:21 pm    Post subject: Squid and non-standard SNMP ports Reply with quote

Hi,

I found that the inbuilt SNMP code is happy to work with a fairly standard address:port syntax like most other applications.

I'm currently monitoring Squid's SNMP on port 3401 with the SNMP host set as localhost:3401, and the community and OID as you would normally use.

Hope this helps,

DJH.
Back to top
bbice
Cacti User


Joined: 13 May 2002
Posts: 71

PostPosted: Wed Aug 07, 2002 12:53 pm    Post subject: Thanks! Reply with quote

Aha! Thanks for that tidbit. It certainly DOES help. (grin) And it's a whale of a lot easier
than modifying the database schema and rewriting bunches of the PHP code.
Back to top
Koshatul



Joined: 16 Aug 2003
Posts: 1

PostPosted: Sat Aug 16, 2003 1:31 pm    Post subject: Reply with quote

is that in 0.8.2a ?
if i set the host, it's ok, but it keeps asking for the ip address to be filled in.
Back to top
xnet
Guest





PostPosted: Tue Aug 26, 2003 5:09 am    Post subject: Reply with quote

Hello!

Anybody got scripts for graphing squid data (cache hits, size...) on snmp-squid port 3410?
Back to top
evert



Joined: 21 Sep 2003
Posts: 27
Location: Sarpsborg, Norway

PostPosted: Sun Sep 28, 2003 1:24 am    Post subject: Re: Squid and non-standard SNMP ports Reply with quote

Bidds wrote:
Hi,

I'm currently monitoring Squid's SNMP on port 3401 with the SNMP host set as localhost:3401, and the community and OID as you would normally use.

Hope this helps,

DJH.


Can you give us some more info/details on this? IMHO there are quite some people who'd like to do this...
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Feature Requests All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group