Point me in the right direction

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

Moderators: Developers, Moderators

Post Reply
fishgod
Posts: 8
Joined: Wed Nov 30, 2005 6:41 pm
Location: Anchorage, Alaska

Point me in the right direction

Post by fishgod »

I am looking for help with getting an accurate system uptime on my Windows 2003 servers. Used snmpwalk and looked at the uptime coming from snmp and it is not very accurate. What I need to do is show system uptime for a given block of time. What would be the best way to do this. My Cacti box is as follows

Win 2003 Standard
Apache 2.0.55
Cacti 0.8.6g
cygwin
mysql 4.1.15
php 4.4.1
rddtool-cygwin-1.2.9

Thanks for all your help ahead of time

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

Post by BSOD2600 »

Tried running a script like: http://forums.cacti.net/viewtopic.php?t=10514 ?
fishgod
Posts: 8
Joined: Wed Nov 30, 2005 6:41 pm
Location: Anchorage, Alaska

Post by fishgod »

I will test it out in the morning.

Thanks
Michael
fishgod
Posts: 8
Joined: Wed Nov 30, 2005 6:41 pm
Location: Anchorage, Alaska

Post by fishgod »

Well, It seems I have a permissions problem. When I run the win_uptime.cmd from command prompt, as a domain admin I get data. If I let the SYSTEM account run it through the poller.php I dont get data. I have tried changing the account that runs the scheduled task and I get an error from the poller stating no input file specified. As soon as I change it back to SYSTEM it starts polling again but of course no data from win_uptime.cmd. Any ideas?

Michael
fishgod
Posts: 8
Joined: Wed Nov 30, 2005 6:41 pm
Location: Anchorage, Alaska

Post by fishgod »

Never mind, I got a work around.
Regards
Michael

Current Cacti System
Windows 2003 Standard; Apache 2.0.55; Cacti 0.8.6g; cygwin; MySQL 4.1.15; php 4.4.1; rrdtool-cygwin-1.2.9; Zend php optimizer
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests