Disk and RAM in GBs and TBs?

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
jasonb885
Posts: 8
Joined: Mon Jul 14, 2003 12:37 pm

Disk and RAM in GBs and TBs?

Post by jasonb885 »

I seem to have a lot more disk space than I remember. My /usr is showing as having +/- 2TB of space? What did I break? I added Data Query: SNMP - Get Mounted Partitions and selected some partitions. After a few cron'd runs of cmd.php, the graph had data and this weird scaling.

command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get total 1, output: 509809664
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get used 1, output: 89717760
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get total 3, output: 1756762112
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get used 3, output: 206528512
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get used 5, output: 1388974080
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get total 5, output: 3100753920
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get total 6, output: 453985280
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get used 6, output: 67650560
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get used 101, output: 198619136
command: /usr/bin/php4 -q /var/www/cacti/scripts/query_host_partitions.php 209.208.xxx.xxx public get used 102, output: 0
njprice101

Post by njprice101 »

Not that this helps but I am having the same problem. Ever since I upgraded to 0.8x all of my systems hard drive are being reported as TB and not GBs via SNMP.

I have installed cacti 0.8.1 on several different Linux machines and get the same results whether I monitor another Linux machine or a Windows host.
egarnel-home

same here

Post by egarnel-home »

I went into the graph template for ucd/net avail disk space and changed the cdef to "none" under the graph items...It looks normal now, but I will compare to actual disk usage.
jasonb885
Posts: 8
Joined: Mon Jul 14, 2003 12:37 pm

Under Graph template, somewhere...

Post by jasonb885 »

If anyone was as lost as I am, the option in question is hidden within each Item #1 -> Item #n. Select CDEF 'None'. It's currently 'Multiply by 1024'. I manually yanked the RRDTool output and removed the CDEF earlier and that seemed to resolve it, I just didn't know where in Cacti to change that.
jasonb885
Posts: 8
Joined: Mon Jul 14, 2003 12:37 pm

Weird

Post by jasonb885 »

Okay, for some reason I appear to be using Host MIB - Available Disk Space as my graph template instead of the net/ucd graph template for that. I'll alter this one as well.

Okay, that worked.

But my load averages are still showing up with a lower case 'm' prefix with a range of 0 - 200. It's being fed these values:

snmp: 209.208.xxx.xxx, dsname: load_1min, oid: .1.3.6.1.4.1.2021.10.1.3.1, value: 0.03
snmp: 209.208.xxx.xxx, dsname: load_15min, oid: .1.3.6.1.4.1.2021.10.1.3.3, value: 0.01
snmp: 209.208.xxx.xxx, dsname: load_5min, oid: .1.3.6.1.4.1.2021.10.1.3.2, value: 0.06

It's using the ucd/net - Load Average graph which doesn't have any CDEFs that should result in this strange behavior.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests