Enable which ports for SNMP on Windows? [SOLVED]

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
cristiv
Posts: 9
Joined: Thu Aug 14, 2008 5:33 am

Enable which ports for SNMP on Windows? [SOLVED]

Post by cristiv »

Hello,
I have a CentOS 5.2 x86 machine running Cacti latest... after many many errors from the software and from me as well :)

Anyway, I have graphs for the local machine and I need to add a Win XP x86 machine for monitoring.
I configured SNMP on it correctly but the thing is that the graphs for it won't generate if I have the Windows Firewall enable.
I enabled port 23 for UDP ping and port 161 - which is the port for SNMP, but without luck.
If I turn completely off the firewall, then it works! :roll:
Note that those ports are enabled only for subnet network only (since both cacti and XP are on the same subnet).
I've looked all around the forum but couldn't find anyone with this problem.

Later Edits: for port 161 I added it both for TCP and UDP.
The SNMP agent is also configured to allow connections only from the cacti server.
I also allowed c:\windows......\snmp.exe but still nothing :(

Thanks!
Chris
Last edited by cristiv on Thu Aug 14, 2008 10:35 am, edited 1 time in total.
steagu
Posts: 37
Joined: Thu Nov 15, 2007 12:15 pm
Location: Manchester, United Kingdom

Post by steagu »

What are you using for your downed device detection? SNMP or PING?

When the firewall is enabled, and you click on the Device Properties, does it say "Host is alive" or the SNMP info or host is down?

What i've had to do with some of my hosts is use TCP Ping and change to a port that I know is open (3389 for Remote desktop, for example) and then my graphs would generate.
cristiv
Posts: 9
Joined: Thu Aug 14, 2008 5:33 am

Post by cristiv »

steagu wrote:What are you using for your downed device detection? SNMP or PING?

When the firewall is enabled, and you click on the Device Properties, does it say "Host is alive" or the SNMP info or host is down?

What i've had to do with some of my hosts is use TCP Ping and change to a port that I know is open (3389 for Remote desktop, for example) and then my graphs would generate.
Hey,
Under devices in Cacti it says Down for this XP, I tried both downed: ping AND 'ping and snmp'. Both report it as down.
ping method is UDP Ping on port 23 ...and as I first sayd, I enabled that port as well in the firewall.

The thing is that under associated data queries for the XP device profile I have SNMP - Interface statistics, get mounted partitions and CPU and the status for all is success...
I'll try now to open a port and configure it as TCP Ping as you said...let's see.
Thanks!
cristiv
Posts: 9
Joined: Thu Aug 14, 2008 5:33 am

Post by cristiv »

quick update log: I set under XP device in Cacti downed device detection: ping, ping method: tcp ping and port 3389 (RDP) + enabled it in Firewall and now it's with status recovering. :D
So I guess in the next few poller crons the graphs should update as well.
cristiv
Posts: 9
Joined: Thu Aug 14, 2008 5:33 am

SOLVED

Post by cristiv »

ha haa.. it's working now again!
Thanks steagu! you're the man.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

hmmm unconventional, but suppose it works. Personally, I'd just stick with ICMP ping...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest