"snmp error" server 2003 with Windows 2000/XP Hos

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

Moderators: Developers, Moderators

blueskies
Posts: 6
Joined: Thu Nov 02, 2006 3:35 pm

"snmp error" server 2003 with Windows 2000/XP Hos

Post by blueskies »

Can someone point me to the howto or other documentation to get 2k3 server statistics? First-time cacti user, have read the manual, have interface stats for Cisco 2800 routers using the 2600/3600 template and server stats for the Linux host that cacti is installed on.

Problem is I can't get cpu, memory, network statistics for W2k3 server using the "Windows 2000/XP Host" template. The status is shown as "unknown" and availability is 100%. Have captured traffic and see snmp exchanges to the server.

On the Console -> Devices -> Edit page, Using SNMP version1:
SNMP Information
SNMP error
Using SNMP version 2:
SNMP Information
System: No Such Object available on this agent at this OID
Uptime: No Such Object available on this agent at this OID (0 days, 0 hours, 0 minutes)
Hostname: No Such Object available on this agent at this OID
Location: No Such Object available on this agent at this OID
Contact: No Such Object available on this agent at this OID
Have seen lots of templates for Exchange, etc but assumed those aren't needed for basic status.

Help!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Read the FAQ in http://forums.cacti.net/viewtopic.php?t=11747

There is one that addresses configuring the snmp service. Sounds like you didnt specify a community or allowed hosts.
blueskies
Posts: 6
Joined: Thu Nov 02, 2006 3:35 pm

Post by blueskies »

bsod - thanks for your quick response

ok, got it now. sorry for not providing platform/version info. the cacti server is on centos 4 and the issue was the windows host i wanted to monitor.

problem was resolved when i uninstalled the snmp service (add/remove programs -> add/remove windows components) and then reinstalled it.

ciao .. alan
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

That SHOULDN'T be necessary - any ideas why it is? I can't really uninstall and reinstall as servers are being monitorred by another system too!!! (NetCrunch... yuk...).

BTW the FAQ didn't really help...

Hayelp...
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
blueskies
Posts: 6
Joined: Thu Nov 02, 2006 3:35 pm

Post by blueskies »

Er, it's Windows ??
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

argon0: Did you follow the FAQ and set up a community and allowed hosts for the SNMP agent? Do have have a firewall blocking the server? Do a basic SNMPwalk of the server and see if you get any data. Try: snmpwalk -v 1 -c public 127.0.0.1 system.
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

BSOD Yup, I did, worked out what was up, the node I was querying was the "virtual" name of a win2k3 cluster. Reinstalling made no difference.

Now I'm monitorring both nodes of the cluster. Going to use the "manage" plugin to "monitor" ports on the cluster name, and services on the node...

BTW snmpwalk gave results sometimes, and sometimes not. Mainly if I queried both nodes then immediately afterwards queried the Virtual node it worked...

ON a related query I've tried using the SNMPOID graph to graph uptime of the SNMP service (which is related to the uptime of the device) but can't get it to return anything - in the OID field do you need to surround the OID with quotes and if so why would using this ".1.3.6.1.2.1.1.3" string return nothing within Cacti but return sysUpTime.0 "3 days 13:44:24" from WSPingPro??

(also does the same from SNMPWALK on the cacti host)...
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

argon0 wrote:BSODON a related query I've tried using the SNMPOID graph to graph uptime of the SNMP service (which is related to the uptime of the device) but can't get it to return anything - in the OID field do you need to surround the OID with quotes and if so why would using this ".1.3.6.1.2.1.1.3" string return nothing within Cacti but return sysUpTime.0 "3 days 13:44:24" from WSPingPro??

(also does the same from SNMPWALK on the cacti host)...
Most likely because you didn't specify a valid OID. Try snmpwalk'ing .1.3.6.1.2.1.1.3.

you're saying cacti does not show any uptime info for that device once you've added it? Does any snmp queries from cacti work against that device?
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Yup they do. Yup the OID I quoted worked against the servers from SNMP walk, as it does with or without the . at the front:

snmpwalk -v 1 -c public 10.193.168.106 1.3.6.1.2.1.1.3
SNMPv2-MIB::sysUpTime.0 = Timeticks: (8952700) 1 day, 0:52:07.00


Yup it shows nothing in Cacti.

Really I'm trying to graph uptime of a device without installing a client - and SNMP uptime is the closest I can get...

Argon0
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmm, odd.

1) Does cacti say SNMP error or show the uptime?
2) Can you sucessfully snmpwalk the device FROM the cacti box?
3) Did you forget to grant your cacti host access rights on the Windows box SNMP agent?

For uptime templates try:
1) http://forums.cacti.net/viewtopic.php?t ... ght=uptime
2) http://forums.cacti.net/viewtopic.php?t ... ght=uptime
3) http://forums.cacti.net/viewtopic.php?t ... ght=uptime
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

See ...

PostPosted: Tue Dec 19, 2006 5:10 pm Post subject:
Hmm, odd.

1) Does cacti say SNMP error or show the uptime? Neither graphs 0
2) Can you sucessfully snmpwalk the device FROM the cacti box? YEs, via the snmpwalk bit in network tools
3) Did you forget to grant your cacti host access rights on the Windows box SNMP agent? No, I can graph, for i.e. interface stats, and the manage plugin shows uptime tooo...

I shall try those templates out tomorrow, thanks.
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

argon0 wrote:1) Does cacti say SNMP error or show the uptime? Neither graphs 0
This info is displayed in the device screen.
argon0 wrote:3) Did you forget to grant your cacti host access rights on the Windows box SNMP agent? No, I can graph, for i.e. interface stats, and the manage plugin shows uptime tooo...
Alright, thats good. Sounds like everything is working. The fact you're using plugins has the strong possibility to mess up things too.

So what problem are you having again?
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

Never mind, in this case, I was re-inventing the wheel - found "HOST-MIB HR uptime" over here,http://forums.cacti.net/viewtopic.php?t ... me&start=0 which does exactly what I wanted!

Argon0
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
argon0
Cacti User
Posts: 460
Joined: Fri Mar 12, 2004 1:22 pm

Post by argon0 »

ACtually this isn't resolved.

I have the exact same issue with another Widnows Server cluster.

I can do snmp queries from getif or wspingpro, but neither snmpwalk or snmpget from cacti server return anything....

My Sysinfo:
Cacti Version - 0.8.6i
Plugin Architecture - 1.0
Poller Type - Cactid v0.8.6i
Server Info - Linux 2.6.9-42.0.3.EL
Web Server - Apache/2.0.52 (CentOS)
PHP - 4.3.9
PHP Extensions - yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mysql, snmp, eAccelerator
MySQL - 4.1.20
RRDTool - 1.2.15
SNMP - 5.1.2
Plugins
  • PHP Network Weathermap (weathermap - v0.82)
    Thresholds (thold - v0.3.0)
    Device Monitoring (monitor - v0.7)
    Network Discovery (discovery - v0.7)
    Network Tools (tools - v0.2)
    Syslog Monitoring (haloe - v0.4)
    mactrack
    PHP Network Managing (manage - v0.4)
    Report Creator (reports - v0.1)
    RRD Cleaner (rrdclean - v1.1)
    Update Checker (update - v0.3)
    FlowView (flowview - v0.3)
    Host Info (hostinfo - v0.1)
    Error Images (errorimage - v0.1)
No longer a n00by, probably, by now an 0ldby

Now Head of Technology at RSCH, back to the prickly subject of Monitorring....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

argon0 wrote:I can do snmp queries from getif or wspingpro, but neither snmpwalk or snmpget from cacti server return anything....
You're doing the snmpwalk from the cacti box against the windows cluster?

Does cacti consider the cluster up or down?
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests