SNMP error?

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

Moderators: Developers, Moderators

Post Reply
Spaz
Posts: 9
Joined: Tue Jan 09, 2007 4:41 am

SNMP error?

Post by Spaz »

I can't get the windows server monitoring to work :(

Configs:

Linux"Slackware" + Cacti
IP x.x.146.192 (Webserver<appache> IP)
(Multiple IP's)

Windows XP 64 bit, windows firewall enabled + SNMP windows component
IP x.x.146.206
(Multiple IP's)


Actions taken so far:
1)
* Installed snmp
* configured snmp like http://support.microsoft.com/kb/324263
* added IP of the webserver tot the windows firewall "netsh firewall add portopening all 161:162 snmp enable custom xxx.xxx.xxx.xxx/32
"
tried to add the windows server -> snmp error

2)
* reinstalled snmp component
* configured snmp like http://support.microsoft.com/kb/324263

tried to add the windows server -> snmp error

3)
* restarted server

tried to add the windows server -> snmp error

I have added screens of the config of the SNMP service and how I try to add the server.

I am doing something wrong.
But I don't know what :(

Thanks in advanced for the help
Grtz
Sebastian
Attachments
windowsADD.PNG
windowsADD.PNG (37.07 KiB) Viewed 2778 times
traps.PNG
traps.PNG (11.39 KiB) Viewed 2816 times
secur.PNG
secur.PNG (10.44 KiB) Viewed 2816 times
Last edited by Spaz on Tue Jan 09, 2007 1:09 pm, edited 2 times in total.
Spaz
Posts: 9
Joined: Tue Jan 09, 2007 4:41 am

Post by Spaz »

Still reading and trying
I found out that when i run this command on the linux server:
snmpwalk -v 1 -c public x.x.146.206 = working!
that the server is getting info back!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) your IP is public in the screenshot.

2) you don't need to configure the snmp trap stuff

3) Try running the snmpwalk from your cacti server against that x.146.206 box, I bet it doesn't work. Check for firewalls blocking snmp traffic (port 161).
Spaz
Posts: 9
Joined: Tue Jan 09, 2007 4:41 am

Post by Spaz »

* Thank you for reply on the same day :)

1. Ok thx :o

2. Ok removed those entries

3.

I can't help it but the command: snmpwalk -v 1 -c public x.x.146.206 = giving output?

The status that is geving in the device menu = down :S
Attachments
status.PNG
status.PNG (10.95 KiB) Viewed 2776 times
SNMPwalk.PNG
SNMPwalk.PNG (32.73 KiB) Viewed 2777 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

What Downed Host Detection method are you using? If ping, switch to icmp (from udp).

So looks like you've got two problems with Monty:
1) Cacti considers it down
2) No snmp response from the cacti->Monty.
Spaz
Posts: 9
Joined: Tue Jan 09, 2007 4:41 am

Post by Spaz »

Ok I have switch to icmp

I looks like that didn't help

So the problem is on the .192 side with the SNMP protocol?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

From the commandline, type: php -m and paste the output. You might have forgotten to enable the php_snmp module. Because if the *.192 box can get snmp info from the *.206 box, then so should cacti...
Spaz
Posts: 9
Joined: Tue Jan 09, 2007 4:41 am

Post by Spaz »

[PHP Modules]
bcmath
bz2
calendar
ctype
curl
dba
dbase
domxml
exif
ftp
gd
gettext
gmp
iconv
imap
mbstring
mhash
mysql
openssl
overload
pcntl
pcre
posix
session
shmop
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
yp
zlib

[Zend Modules]
Ok looks like that it :)
I will keep you inform if that solves the problem!
Spaz
Posts: 9
Joined: Tue Jan 09, 2007 4:41 am

Post by Spaz »

that was it!
Thanks a lot!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest