I have installed the threshold module for Cacti (thanks to the great guys who developed it). Now i want to fix a high threshold value for diskspace of servers with Windows 2000. Whatever be the high value i enter beyond 2147483647 for high threshold value, i always get the value set as 2147483647.
Say, suppose i want to fix 3.5 gigabytes as the threshold value using 3500000000 (...alright 1000 is not 1024), it seems that the threshold module will not accept values (integers) more than 2147483647. Any turn around to overcome this problem would be very helpful? Many thanks in advance.
Disk space high threshold is always 2147483647 ????
Moderators: Developers, Moderators
danviv,
I’ve been trying to setup some disk space monitoring for some Unix boxes and have run into the same thing. I’m assuming that 2147483647 is the max value that the field can handle (somebody else can confirm that, as it is an assumption on my part). I’ve been trying to edit the php script that does the snmp query so that it divides the returned value by 1073741824, but I haven’t had any luck (I’m not a programmer, so if anybody has any advice on how to do this, please share!!!).
What you may want to do for your windows box is use SNMP informant (http://www.snmp-informant.com/). The basic version is free and works great. You can get the value of free space for you drives in either Mbs or %. If you want, I’d be happy to share the templates that I created for use SNMP informant on my windows boxes.
I’ve been trying to setup some disk space monitoring for some Unix boxes and have run into the same thing. I’m assuming that 2147483647 is the max value that the field can handle (somebody else can confirm that, as it is an assumption on my part). I’ve been trying to edit the php script that does the snmp query so that it divides the returned value by 1073741824, but I haven’t had any luck (I’m not a programmer, so if anybody has any advice on how to do this, please share!!!).
What you may want to do for your windows box is use SNMP informant (http://www.snmp-informant.com/). The basic version is free and works great. You can get the value of free space for you drives in either Mbs or %. If you want, I’d be happy to share the templates that I created for use SNMP informant on my windows boxes.
Just found this post over at cactiusers.org. It has the fix for the 2147483647 limit.
http://cactiusers.org/forums/viewtopic.php?t=55
Not included in his fix, you also need to change lastread to the same as the other two.
http://cactiusers.org/forums/viewtopic.php?t=55
Not included in his fix, you also need to change lastread to the same as the other two.
Who is online
Users browsing this forum: No registered users and 0 guests