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
Disk and RAM in GBs and TBs?
Moderators: Developers, Moderators
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.
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.
Under Graph template, somewhere...
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.
Weird
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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests