non-default SNMP port definition not working

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
gpetme
Posts: 22
Joined: Wed Mar 28, 2007 5:48 pm

non-default SNMP port definition not working

Post by gpetme »

I have a host that uses port 161 for just about all of the Cacti polling that I do. However, the proprietary application that runs on this host also has an SNMP agent that listens on port 8001. This SNMP agent provides application-specific metrics that can be monitored. When I created my data templates I defined the "SNMP Port" as port 8001. But, Cacti still tries to query port 161 for this data. I think the problem is that you can only define a single port for the host, and that overrides anything in the template. But, this seems like it's a bug. Can someone confirm? I'm running Cacti 0.8.7b.

Thanks,

Greg
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Some times ago there was an issue with non-standard SNMP ports. But that should have been solved.
So please tell us
- which poller are you using (cmd.php or spine)
- how do you grap the data; via SCRIPT or via a copy of the "SNMP OID" template?
Reinhard
gpetme
Posts: 22
Joined: Wed Mar 28, 2007 5:48 pm

Post by gpetme »

I'm using cmd.php, and I'm graphing the data with an SNMP OID-style template. I can export it for you if you'd like.

Also, one other oddity that I notice is that the SNMP Port field is listed twice. I populated both fields, but this may be indicative of a bug...

Can you send me a link to the patch you mentioned?

Thanks,

Greg
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

gpetme wrote:I'm using cmd.php, and I'm graphing the data with an SNMP OID-style template. I can export it for you if you'd like.
Please do so.
Also, one other oddity that I notice is that the SNMP Port field is listed twice. I populated both fields, but this may be indicative of a bug...
strange, indeed
Can you send me a link to the patch you mentioned?
Unfortunately no. And I'm sure it's integrated into 087b. So we must have hit sth new
Reinhard
gpetme
Posts: 22
Joined: Wed Mar 28, 2007 5:48 pm

Post by gpetme »

Okay, it's attached. This should have given you a graph template and a data template called "Broadsoft - MS - Ports In Use".

If you look in the XML, there's two listings of port 8001 (that's my custom SNMP port). Strange indeed.

Thanks again for your help,

Greg
Attachments
cacti_graph_template_broadsoft_-_ms_-_ports_in_use.xml
(12.52 KiB) Downloaded 228 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please allow for some time of thinking ...
Reinhard
gpetme
Posts: 22
Joined: Wed Mar 28, 2007 5:48 pm

Post by gpetme »

Sure, no problem. Thanks!

Greg
gpetme
Posts: 22
Joined: Wed Mar 28, 2007 5:48 pm

Post by gpetme »

Reinhard -

Any thoughts on what could be wrong here?

Thanks a lot!

Greg
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Sorry. Now it's item#29 on my todo list.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests