Cacti GAPS in Disk Usage when Monitoring Win32 Hosts

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

Moderators: Developers, Moderators

User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Cacti GAPS in Disk Usage when Monitoring Win32 Hosts

Post by mrh »

Hi,
I've a veri weird issue when monitoring some win32 hosts with cacti. The disk usage is not properly shown, but only one graph per host, so if I delete this graph and back to create, it will show correct values, but the next graph in the disk usage template gets corrupt and begins to show incorrect values.

I've tried all: emptying the poller cache, deleting the entire host and creating it back... changing the rrdtool version... reinstalling the SNMP service in the machines affected...

Please, I will thank a lot any info provided of how to solve this.

MRH
Attachments
cacti_win32_disk_gaps.PNG
cacti_win32_disk_gaps.PNG (84.06 KiB) Viewed 5295 times
DevilSun
Cacti User
Posts: 166
Joined: Fri Jul 16, 2004 1:59 pm
Location: Oregon

Post by DevilSun »

How is it you're querying that data, are you using the WMI script posted before or actual SNMP values? I'm using a perl based WMI script and I don't have any of those on any of our servers...
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Increase you SNMP timeout for those hosts.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
pbulteel
Cacti User
Posts: 150
Joined: Fri Sep 05, 2003 9:20 am
Location: London
Contact:

Post by pbulteel »

I had this behaviour too and couldn't figure out what was wrong. I didn't change the timeouts but after deleting my 500 meg cacti log file everything seemed to perform better.

So check how big your log file is.

-P
uname -a
User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Post by mrh »

Thanks for your replies, I've put the SNMP timeout to 5000 and the problem still continues. Regarding my logfile, I've cleared it too many times, also the cache but nothing good happens.

Devilsun, my queries are all SNMP. I don't know by now how to do WMI queries :(

MRH
pbulteel
Cacti User
Posts: 150
Joined: Fri Sep 05, 2003 9:20 am
Location: London
Contact:

Post by pbulteel »

By any chance have you switched between using cmd.php and cactid for polling?

-p
uname -a
User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Post by mrh »

not yet pbulteel, I tried to do that but I found cactid must be compiled before and I'm not sure how to do that... Do you know if there is a comprehensive guide for doing this in an easy way?

mrh
User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Post by mrh »

...well, I suppose if I've been able to install cacti I'll be able to install cactid too... I'll try and tell you if my problems gone! It's strange, because my total poll completes in about 5 secs, just monitoring 5 servers in a local 100mbps network connection.

mrh
User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Post by mrh »

nothing, finally it's NOT working, very weird because it's happening only in certain hosts. I'm currently monitoring about 10 2000, XP and 2003 machines and this is completely random. I've reinstalled the SNMP service, chkdsk to all partitions... Even installing cacti from zero in another PC :(

Only to say cacti developers to look into this and fix it if possible in a future release :P
mrh | cacti 0.8.6h | plugin architecture | thold | monitor | iis6
User avatar
mrh
Cacti User
Posts: 84
Joined: Tue Mar 08, 2005 9:50 am

Post by mrh »

(attached file regarding last post, very weirs because the periodicity of the spikes!!)
Attachments
cacti_spikes.PNG
cacti_spikes.PNG (17.61 KiB) Viewed 5214 times
mrh | cacti 0.8.6h | plugin architecture | thold | monitor | iis6
Alives
Cacti User
Posts: 103
Joined: Mon Jul 11, 2005 11:39 am

Post by Alives »

Im having the same problems here and only on one of my hosts. I am checking from linux so i cannot use WMI. I am using cmd.php and I think i will install cactid now just to test...besides my poller is nearing 300 sec.

I just increased the snmp timeout so we'll see how that works out.

Thanks!!
Attachments
1.png
1.png (36.12 KiB) Viewed 4921 times
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Per my other post. Pre 0.8.6e HostMib queries do not respect the timeout value. In addition, due to some brain fart on the part of Microsoft, when polling the HostDisk stuff, the A: drive is polled causing long responses.

Therefore, you need to verify that you are using the latest (0.8.6e/f) scripts and resources files. Also, increase your snmp timeout to between 5-8 seconds.

Alternatively, remove your polled devices A: drive :). Or better yet Call Bill Gates personaly and complain about his lack of adopting industry standards ;)

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Alives
Cacti User
Posts: 103
Joined: Mon Jul 11, 2005 11:39 am

Post by Alives »

that fixed it... i made it 10 secs for the hell of it...

THANKS A TON!!!!
ioiioi
Cacti User
Posts: 52
Joined: Mon Mar 28, 2005 8:57 am

Post by ioiioi »

unforturnaly, even though increasing the snmp_timeout to 10 secs. My unconsistance situation remain the same, maybe I should try to use w32 wmi for monitoring disk capacity.
mourn
Posts: 4
Joined: Wed Sep 14, 2005 12:11 pm

Post by mourn »

I'm having the same issue. Changing timeout values doesn't seem to work and it only affects the C: drive on my testing host, the E: drive graph is fine. Very odd.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests