Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-1904

Observium reports invalid disk size

    XMLWordPrintable

Details

    • Vendor Bug
    • Resolution: Duplicate
    • Trivial
    • None
    • Professional Edition
    • Poller
    • None
    • Observium Professional (rev 7931)

    Description

      On a storage server, I have a /home partition with a 40 TB capacity :

      Filesystem                                              Size  Used Avail Use% Mounted on
      /dev/sda5                                                40T  6.5T   32T  17% /home
      

      However, Observium poller reports this partition to have a 7.77 TB size (see attached screenshot too) :

      [trilliot@obs1:/usr/share/www/observium# ./poller.php -h fs1.rk.infra -m storage -d -r       
      DEBUG!
       
      SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'dbSchema';]
      SQL RUNTIME[0.00018191s]
       
      SQL[SELECT @@SESSION.sql_mode;]
      SQL RUNTIME[0.00020790s]
       
      SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'current_rev';]
      SQL RUNTIME[0.00009203s]
       
      SQL[SELECT * FROM `config`]
      SQL RUNTIME[0.00015211s]
       
      CMD[/bin/hostname -f]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0042s]
      STDOUT[
      obs1.rk.infra
      ]
       
        ___   _                              _
       / _ \ | |__   ___   ___  _ __ __   __(_) _   _  _ __ ___
      | | | || '_ \ / __| / _ \| '__|\ \ / /| || | | || '_ ` _ \
      | |_| || |_) |\__ \|  __/| |    \ V / | || |_| || | | | | |
       \___/ |_.__/ |___/ \___||_|     \_/  |_| \__,_||_| |_| |_|
                               Observium Professional 0.16.6.7931
                                         http://www.observium.org
       
       
      SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_ver';]
      SQL RUNTIME[0.00018597s]
       
      SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev';]
      SQL RUNTIME[0.00009584s]
       
      SQL[SELECT `attrib_value` FROM `observium_attribs` WHERE `attrib_type` = 'latest_rev_date';]
      SQL RUNTIME[0.00009513s]
      There is a newer revision of Observium available!
       
      CMD[date "+%:z"]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0035s]
      STDOUT[
      +00:00
      ]
       
      SQL[SELECT TIMEDIFF(NOW(), UTC_TIMESTAMP);]
      SQL RUNTIME[0.00021005s]
      Version 0.16.6.7933 (22nd June 2016) is 2 revisions ahead.
       
       
      CMD[/usr/share/www/observium/scripts/distro]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.1039s]
      STDOUT[
      Linux|2.6.32-34-pve|amd64|Ubuntu|14.04
      ]
       
      CMD[/usr/bin/env python --version 2>&1]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0048s]
      STDOUT[
      Python 2.7.6
      ]
       
      SQL[SELECT version();]
      SQL RUNTIME[0.00034285s]
       
      CMD[/usr/bin/snmpget --version 2>&1]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0048s]
      STDOUT[
      NET-SNMP version: 5.7.2
      ]
       
      CMD[/usr/bin/rrdtool --version |head -n1]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0105s]
      STDOUT[
      RRDtool 1.4.7  Copyright 1997-2012 by Tobias Oetiker <tobi@oetiker.ch>
      ]
       
      CMD[/usr/bin/env apache2 -v | awk '/Server version:/ {print $3}']
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0488s]
      STDOUT[
      Apache/2.4.7
      ]
       
      SQL[SELECT @@SESSION.sql_mode;]
      SQL RUNTIME[0.00033903s]
       
      SQL[SHOW VARIABLES LIKE 'character_set_connection']
      SQL RUNTIME[0.00184321s]
       
      #####  Software versions  #####
       
       o OS                   Linux 2.6.32-34-pve [amd64] (Ubuntu 14.04)
       o Apache               2.4.7
       o PHP                  5.5.9-1ubuntu4.16 (OPcache: DISABLED)
       o Python               2.7.6
       o MySQL                10.0.25-MariaDB-1~trusty (extension: mysqli 10.0.25-MariaDB)
       o SNMP                 NET-SNMP 5.7.2
       o RRDtool              1.4.7
       
      #####  MySQL mode  #####
       
       o MySQL                
       
      #####  Charset info  #####
       
       o PHP                  UTF-8
       o MySQL                utf8
       
      #####  Timezones info  #####
       
       o Date                 Wednesday, 22-Jun-16 10:12:00 UTC
       o PHP                  +00:00
       o MySQL                +00:00
       
       
      SQL[SELECT * FROM `alerts_maint` WHERE `maint_start` < '1466590320' AND `maint_end` > '1466590320']
      SQL RUNTIME[0.00057912s]
      #####  Starting polling run at 2016-06-22 10:12:00  #####
       
       
      SQL[SELECT `device_id` FROM `devices` WHERE `disabled` = 0 AND `hostname` LIKE 'fs1.rk.infra' ORDER BY `device_id` ASC]
      SQL RUNTIME[0.00064492s]
       
      SQL[SELECT * FROM `devices` WHERE `device_id` = '9']
      SQL RUNTIME[0.00045991s]
       
      SQL[SELECT * FROM `entity_attribs` WHERE `entity_type` = 'device' AND `entity_id` = '9']
      SQL RUNTIME[0.00010419s]
       
      SQL[SELECT * FROM `observium_processes` WHERE `process_name` = 'poller.php' AND `device_id` = '9']
      SQL RUNTIME[0.00039506s]
       
      CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 32575]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0079s]
      STDOUT[
        PID  PPID   UID   GID TT       STAT     TIME                  STARTED COMMAND
      32575   384     0     0 pts/0    S+   00:00:00 Wed Jun 22 10:11:59 2016 php ./poller.php -h fs1.rk.infra -m storage -d -r
      ]
       
      CMD[/bin/ps -ww -o pid,ppid,uid,gid,tty,stat,time,lstart,args -p 384]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0073s]
      STDOUT[
        PID  PPID   UID   GID TT       STAT     TIME                  STARTED COMMAND
        384   383     0     0 pts/0    Ss   00:00:00 Wed Jun 22 09:48:02 2016 -bash
      ]
       
      SQL[INSERT INTO `observium_processes` (`process_pid`,`process_name`,`process_ppid`,`process_uid`,`process_command`,`process_start`,`device_id`)  VALUES ('32575','poller.php','384','0','php ./poller.php -h fs1.rk.infra -m storage -d -r','1466590319','9')]
      SQL RUNTIME[0.00129294s]
       
      SQL[SELECT * FROM `alert_tests` WHERE 1]
      SQL RUNTIME[0.00012589s]
      Cached 5 alert rules.
       
      SQL[SELECT * FROM  `alert_table` WHERE `device_id` = '9']
      SQL RUNTIME[0.00045490s]
      #####  fs1.rk.infra [9]  #####
       
       o OS                   linux
       o OS Group             unix
       o Last poll duration   1.62 seconds
       o Last Polled          2016-06-22 10:11:57
       o SNMP Version         v3
       
      CMD[/usr/bin/fping -t 500 -c 1 -q 10.90.192.211 2>&1]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0042s]
      STDOUT[
      10.90.192.211 : xmt/rcv/%loss = 1/1/0%, min/avg/max = 0.20/0.20/0.20
      ]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -OQUst -m SNMPv2-MIB -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp 'udp':'fs1.rk.infra':'161' sysObjectID.0 sysUpTime.0]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0813s]
      STDOUT[
      sysObjectID.0 = enterprises.8072.3.2.10
      sysUpTime.0 = 4041228163
      ]
      SNMP STATUS[TRUE]
       o Device status        Device is reachable by PING (0.20ms) and SNMP (81.26ms)
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/status.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/status.rrd N:1]
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/ping.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/ping.rrd N:0.20]
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/ping_snmp.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/ping_snmp.rrd N:81.26]
       
      SQL[SELECT * FROM `device_graphs` WHERE `device_id` = '9']
      SQL RUNTIME[0.00027919s]
       o Modules Enabled      system, os, storage
       
       
      including: includes/polling/system.inc.php
      #####  Module Start: system  #####
       
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -OQUs -m SNMPv2-MIB -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp 'udp':'fs1.rk.infra':'161' sysUpTime.0 sysLocation.0 sysContact.0 sysName.0]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0744s]
      STDOUT[
      sysUpTime.0 = 467:17:38:01.72
      sysLocation.0 = Online DC3, 94400 Vitry-sur-Seine, France
      sysContact.0 = Teddy Rilliot <t.rilliot@radioking.fr>
      sysName.0 = rkfs01
      ]
      SNMP STATUS[TRUE]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Oqv -m SNMPv2-MIB -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp 'udp':'fs1.rk.infra':'161' sysDescr.0]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0807s]
      STDOUT[
      Linux rkfs01 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 x86_64
      ]
      SNMP STATUS[TRUE]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Oqvn -m SNMPv2-MIB -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp 'udp':'fs1.rk.infra':'161' sysObjectID.0]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.08s]
      STDOUT[
      .1.3.6.1.4.1.8072.3.2.10
      ]
      SNMP STATUS[TRUE]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Ovqn -m SNMP-FRAMEWORK-MIB -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp 'udp':'fs1.rk.infra':'161' snmpEngineID.0]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0729s]
      STDOUT[
      "80 00 1F 88 80 77 36 15 00 A5 BE 01 55 00 00 00 
      00 "
      ]
      SNMP STATUS[TRUE]
       
      SQL[SELECT * FROM `observium_attribs`]
      SQL RUNTIME[0.00026107s]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Oqv -m HOST-RESOURCES-MIB -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp 'udp':'fs1.rk.infra':'161' hrSystemUptime.0]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0777s]
      STDOUT[
      35:17:40:20.77
      ]
      SNMP STATUS[TRUE]
      Using SNMP Agent hrSystemUptime (3087620 sec. => 35 days, 17h 40m 20s)
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/uptime.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/uptime.rrd N:3087620]
       o Uptime               35 days, 17h 40m 20s
       
       
      > $uptimes - /usr/share/www/observium/poller.php:163
      /usr/share/www/observium/includes/polling/system.inc.php:188
      =========================================================
      array(
        [sysUpTime]      => int(40412281)
        [hrSystemUptime] => int(3087620)
        [use]            => string(14) "hrSystemUptime"
        [uptime]         => int(3087620)
        [formatted]      => string(20) "35 days, 17h 40m 20s"
        [message]        => string(31) "Using SNMP Agent hrSystemUptime"
        [previous]       => string(7) "3087616"
        [diff]           => int(-4)
        [rebooted]       => int(0)
      )
       o sysObjectID          .1.3.6.1.4.1.8072.3.2.10
       o snmpEngineID         80001F888077361500A5BE015500000000
       o sysDescr             Linux rkfs01 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2 x86_64
       o sysName              rkfs01
       o Location             Online DC3, 94400 Vitry-sur-Seine, France
       
      SQL[SELECT * FROM `devices_locations` WHERE `device_id` = '9']
      SQL RUNTIME[0.00023198s]
       o Module time          0.4237s
       
       
      including: includes/polling/os.inc.php
      #####  Module Start: os  #####
       
       
      SQL[SELECT * FROM `entPhysical` WHERE `device_id` = '9' AND `entPhysicalContainedIn` = '0']
      SQL RUNTIME[0.00015807s]
       o OS Poller            Group
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Oqv -m MIB-Dell-10892 -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp:/usr/share/www/observium/mibs/dell 'udp':'fs1.rk.infra':'161' chassisModelName.1]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0955s]
      STDOUT[
      No Such Object available on this agent at this OID
      ]
      SNMP STATUS[FALSE]
      SNMP ERROR[#1000 - Failed response]
       
      SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '9' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-Oqv' AND `mib` = 'MIB-Dell-10892' AND `oid` = 'chassisModelName.1';]
      SQL RUNTIME[0.00080991s]
       
      SQL[UPDATE `snmp_errors` set `error_count` ='16371',`updated` ='1466590321' WHERE `error_id` = '83']
      SQL RUNTIME[0.00134087s]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Oqv -m CPQSINFO-MIB -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp:/usr/share/www/observium/mibs/hp 'udp':'fs1.rk.infra':'161' cpqSiProductName.0]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0847s]
      STDOUT[
      No Such Object available on this agent at this OID
      ]
      SNMP STATUS[FALSE]
      SNMP ERROR[#1000 - Failed response]
       
      SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '9' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-Oqv' AND `mib` = 'CPQSINFO-MIB' AND `oid` = 'cpqSiProductName.0';]
      SQL RUNTIME[0.00063896s]
       
      SQL[UPDATE `snmp_errors` set `error_count` ='16371',`updated` ='1466590321' WHERE `error_id` = '85']
      SQL RUNTIME[0.00113201s]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Oqv -m UCD-SNMP-MIB -M /usr/share/www/observium/mibs 'udp':'fs1.rk.infra':'161' .1.3.6.1.4.1.2021.7890.1.3.1.1.6.100.105.115.116.114.111]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0826s]
      STDOUT[
      No Such Object available on this agent at this OID
      ]
      SNMP STATUS[FALSE]
      SNMP ERROR[#1000 - Failed response]
       
      SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '9' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-Oqv' AND `mib` = 'UCD-SNMP-MIB' AND `oid` = '.1.3.6.1.4.1.2021.7890.1.3.1.1.6.100.105.115.116.114.111';]
      SQL RUNTIME[0.00099111s]
       
      SQL[UPDATE `snmp_errors` set `error_count` ='16371',`updated` ='1466590321' WHERE `error_id` = '87']
      SQL RUNTIME[0.00144315s]
       
      CMD[/usr/bin/snmpget -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -Oqv -m UCD-SNMP-MIB -M /usr/share/www/observium/mibs 'udp':'fs1.rk.infra':'161' .1.3.6.1.4.1.2021.7890.1.101.1]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0846s]
      STDOUT[
      No Such Object available on this agent at this OID
      ]
      SNMP STATUS[FALSE]
      SNMP ERROR[#1000 - Failed response]
       
      SQL[SELECT * FROM `snmp_errors` WHERE `device_id` = '9' AND `error_code` = '1000' AND `snmp_cmd` = 'snmpget' AND `snmp_options` = '-Oqv' AND `mib` = 'UCD-SNMP-MIB' AND `oid` = '.1.3.6.1.4.1.2021.7890.1.101.1';]
      SQL RUNTIME[0.00081992s]
       
      SQL[UPDATE `snmp_errors` set `error_count` ='16371',`updated` ='1466590321' WHERE `error_id` = '89']
      SQL RUNTIME[0.00116014s]
       o Hardware             Generic x86 [64bit]
       o Version              3.2.0-4-amd64
       o Features             <empty>
       o Serial               <empty>
       o Asset                <empty>
       
       o Module time          0.3903s
       
       
      including: includes/polling/storage.inc.php
      #####  Module Start: storage  #####
       
       
      SQL[SELECT `storage`.*, `storage-state`.storage_polled FROM  `storage` LEFT JOIN `storage-state` ON `storage`.storage_id = `storage-state`.storage_id WHERE `device_id` = '9']
      SQL RUNTIME[0.00055099s]
       
      CMD[/usr/bin/snmpbulkwalk -v3 -l 'authPriv' -n "" -x *** -X *** -a *** -A *** -u *** -Pu -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES -M /usr/share/www/observium/mibs/rfc:/usr/share/www/observium/mibs/net-snmp 'udp':'fs1.rk.infra':'161' hrStorageEntry]
       
      CMD EXITCODE[0]
      CMD RUNTIME[0.0814s]
      STDOUT[
      hrStorageIndex.1 = 1
      hrStorageIndex.3 = 3
      hrStorageIndex.6 = 6
      hrStorageIndex.7 = 7
      hrStorageIndex.8 = 8
      hrStorageIndex.10 = 10
      hrStorageIndex.31 = 31
      hrStorageIndex.32 = 32
      hrStorageIndex.33 = 33
      hrStorageIndex.34 = 34
      hrStorageType.1 = hrStorageRam
      hrStorageType.3 = hrStorageVirtualMemory
      hrStorageType.6 = hrStorageOther
      hrStorageType.7 = hrStorageOther
      hrStorageType.8 = hrStorageOther
      hrStorageType.10 = hrStorageVirtualMemory
      hrStorageType.31 = hrStorageFixedDisk
      hrStorageType.32 = hrStorageFixedDisk
      hrStorageType.33 = hrStorageFixedDisk
      hrStorageType.34 = hrStorageFixedDisk
      hrStorageDescr.1 = Physical memory
      hrStorageDescr.3 = Virtual memory
      hrStorageDescr.6 = Memory buffers
      hrStorageDescr.7 = Cached memory
      hrStorageDescr.8 = Shared memory
      hrStorageDescr.10 = Swap space
      hrStorageDescr.31 = /dev
      hrStorageDescr.32 = /
      hrStorageDescr.33 = /boot
      hrStorageDescr.34 = /home
      hrStorageAllocationUnits.1 = 1024
      hrStorageAllocationUnits.3 = 1024
      hrStorageAllocationUnits.6 = 1024
      hrStorageAllocationUnits.7 = 1024
      hrStorageAllocationUnits.8 = 1024
      hrStorageAllocationUnits.10 = 1024
      hrStorageAllocationUnits.31 = 4096
      hrStorageAllocationUnits.32 = 4096
      hrStorageAllocationUnits.33 = 1024
      hrStorageAllocationUnits.34 = 4096
      hrStorageSize.1 = 66085704
      hrStorageSize.3 = 67086148
      hrStorageSize.6 = 66085704
      hrStorageSize.7 = 63748124
      hrStorageSize.8 = 0
      hrStorageSize.10 = 1000444
      hrStorageSize.31 = 2560
      hrStorageSize.32 = 24030147
      hrStorageSize.33 = 189403
      hrStorageSize.34 = 2085489516
      hrStorageUsed.1 = 65706268
      hrStorageUsed.3 = 65706268
      hrStorageUsed.6 = 1167020
      hrStorageUsed.7 = 63748124
      hrStorageUsed.10 = 0
      hrStorageUsed.31 = 0
      hrStorageUsed.32 = 277448
      hrStorageUsed.33 = 22811
      hrStorageUsed.34 = 1721803962
      ]
      SNMP STATUS[TRUE]
       
       
      > $cache_storage['host-resources-mib'] - /usr/share/www/observium/includes/polling/functions.inc.php:681
      /usr/share/www/observium/includes/polling/storage/host-resources-mib.inc.php:19
      =============================================================================================
      array(
        [1]  => array(
                  [hrStorageIndex]           => string(1) "1"
                  [hrStorageType]            => string(12) "hrStorageRam"
                  [hrStorageDescr]           => string(15) "Physical memory"
                  [hrStorageAllocationUnits] => string(4) "1024"
                  [hrStorageSize]            => string(8) "66085704"
                  [hrStorageUsed]            => string(8) "65706268"
                )
        [3]  => array(
                  [hrStorageIndex]           => string(1) "3"
                  [hrStorageType]            => string(22) "hrStorageVirtualMemory"
                  [hrStorageDescr]           => string(14) "Virtual memory"
                  [hrStorageAllocationUnits] => string(4) "1024"
                  [hrStorageSize]            => string(8) "67086148"
                  [hrStorageUsed]            => string(8) "65706268"
                )
        [6]  => array(
                  [hrStorageIndex]           => string(1) "6"
                  [hrStorageType]            => string(14) "hrStorageOther"
                  [hrStorageDescr]           => string(14) "Memory buffers"
                  [hrStorageAllocationUnits] => string(4) "1024"
                  [hrStorageSize]            => string(8) "66085704"
                  [hrStorageUsed]            => string(7) "1167020"
                )
        [7]  => array(
                  [hrStorageIndex]           => string(1) "7"
                  [hrStorageType]            => string(14) "hrStorageOther"
                  [hrStorageDescr]           => string(13) "Cached memory"
                  [hrStorageAllocationUnits] => string(4) "1024"
                  [hrStorageSize]            => string(8) "63748124"
                  [hrStorageUsed]            => string(8) "63748124"
                )
        [8]  => array(
                  [hrStorageIndex]           => string(1) "8"
                  [hrStorageType]            => string(14) "hrStorageOther"
                  [hrStorageDescr]           => string(13) "Shared memory"
                  [hrStorageAllocationUnits] => string(4) "1024"
                  [hrStorageSize]            => string(1) "0"
                )
        [10] => array(
                  [hrStorageIndex]           => string(2) "10"
                  [hrStorageType]            => string(22) "hrStorageVirtualMemory"
                  [hrStorageDescr]           => string(10) "Swap space"
                  [hrStorageAllocationUnits] => string(4) "1024"
                  [hrStorageSize]            => string(7) "1000444"
                  [hrStorageUsed]            => string(1) "0"
                )
        [31] => array(
                  [hrStorageIndex]           => string(2) "31"
                  [hrStorageType]            => string(18) "hrStorageFixedDisk"
                  [hrStorageDescr]           => string(4) "/dev"
                  [hrStorageAllocationUnits] => string(4) "4096"
                  [hrStorageSize]            => string(4) "2560"
                  [hrStorageUsed]            => string(1) "0"
                )
        [32] => array(
                  [hrStorageIndex]           => string(2) "32"
                  [hrStorageType]            => string(18) "hrStorageFixedDisk"
                  [hrStorageDescr]           => string(1) "/"
                  [hrStorageAllocationUnits] => string(4) "4096"
                  [hrStorageSize]            => string(8) "24030147"
                  [hrStorageUsed]            => string(6) "277448"
                )
        [33] => array(
                  [hrStorageIndex]           => string(2) "33"
                  [hrStorageType]            => string(18) "hrStorageFixedDisk"
                  [hrStorageDescr]           => string(5) "/boot"
                  [hrStorageAllocationUnits] => string(4) "1024"
                  [hrStorageSize]            => string(6) "189403"
                  [hrStorageUsed]            => string(5) "22811"
                )
        [34] => array(
                  [hrStorageIndex]           => string(2) "34"
                  [hrStorageType]            => string(18) "hrStorageFixedDisk"
                  [hrStorageDescr]           => string(5) "/home"
                  [hrStorageAllocationUnits] => string(4) "4096"
                  [hrStorageSize]            => string(10) "2085489516"
                  [hrStorageUsed]            => string(10) "1721803962"
                )
      )
       
       
      > $storage - /usr/share/www/observium/poller.php:163
      /usr/share/www/observium/includes/polling/storage.inc.php:35
      =========================================================
      array(
        [storage_id]         => string(2) "62"
        [device_id]          => string(1) "9"
        [storage_mib]        => string(18) "host-resources-mib"
        [storage_index]      => string(2) "32"
        [storage_type]       => string(18) "hrStorageFixedDisk"
        [storage_descr]      => string(1) "/"
        [storage_hc]         => string(1) "0"
        [storage_deleted]    => string(1) "0"
        [storage_warn_limit] => null
        [storage_crit_limit] => null
        [storage_ignore]     => null
        [storage_polled]     => string(10) "1466590317"
        [units]              => string(4) "4096"
        [used]               => int(1136427008)
        [size]               => int(98427482112)
        [free]               => int(97291055104)
      )
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/storage-host-resources-mib-_.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/storage-host-resources-mib-_.rrd N:1136427008:97291055104]
       
      SQL[UPDATE `storage-state` set `storage_polled` ='1466590321',`storage_used` ='1136427008',`storage_free` ='97291055104',`storage_size` ='98427482112',`storage_units` ='4096',`storage_perc` ='1.15' WHERE `storage_id` = '62']
      SQL RUNTIME[0.00161791s]
       
       
      > $data - /usr/share/www/observium/includes/polling/functions.inc.php:681
      /usr/share/www/observium/includes/alerts.inc.php:61
      ===============================================================
      array(
        [storage_perc] => double(1.15)
        [storage_free] => int(97291055104)
        [storage_used] => int(1136427008)
      )
       
      SQL[UPDATE `alert_table` set `state` ='{\"metrics\":{\"storage_perc\":1.15}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1466590321',`last_ok` ='1466590321' WHERE `alert_table_id` = '234']
      SQL RUNTIME[0.00097513s]
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/alert-234.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/alert-234.rrd N:1:1]
       
       
       - /usr/share/www/observium/poller.php:163
      /usr/share/www/observium/includes/polling/storage.inc.php:35
      ====================================================
      array(
        [storage_id]         => string(2) "63"
        [device_id]          => string(1) "9"
        [storage_mib]        => string(18) "host-resources-mib"
        [storage_index]      => string(2) "33"
        [storage_type]       => string(18) "hrStorageFixedDisk"
        [storage_descr]      => string(5) "/boot"
        [storage_hc]         => string(1) "0"
        [storage_deleted]    => string(1) "0"
        [storage_warn_limit] => null
        [storage_crit_limit] => null
        [storage_ignore]     => null
        [storage_polled]     => string(10) "1466590317"
        [units]              => string(4) "1024"
        [used]               => int(23358464)
        [size]               => int(193948672)
        [free]               => int(170590208)
      )
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/storage-host-resources-mib-_boot.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/storage-host-resources-mib-_boot.rrd N:23358464:170590208]
       
      SQL[UPDATE `storage-state` set `storage_polled` ='1466590321',`storage_used` ='23358464',`storage_free` ='170590208',`storage_size` ='193948672',`storage_units` ='1024',`storage_perc` ='12.04' WHERE `storage_id` = '63']
      SQL RUNTIME[0.00092602s]
       
       
       - /usr/share/www/observium/includes/polling/functions.inc.php:681
      /usr/share/www/observium/includes/alerts.inc.php:61
      ============================================================
      array(
        [storage_perc] => double(12.04)
        [storage_free] => int(170590208)
        [storage_used] => int(23358464)
      )
       
      SQL[UPDATE `alert_table` set `state` ='{\"metrics\":{\"storage_perc\":12.04}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1466590321',`last_ok` ='1466590321' WHERE `alert_table_id` = '235']
      SQL RUNTIME[0.00094295s]
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/alert-235.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/alert-235.rrd N:1:1]
       
       
       - /usr/share/www/observium/poller.php:163
      /usr/share/www/observium/includes/polling/storage.inc.php:35
      ====================================================
      array(
        [storage_id]         => string(2) "64"
        [device_id]          => string(1) "9"
        [storage_mib]        => string(18) "host-resources-mib"
        [storage_index]      => string(2) "34"
        [storage_type]       => string(18) "hrStorageFixedDisk"
        [storage_descr]      => string(5) "/home"
        [storage_hc]         => string(1) "0"
        [storage_deleted]    => string(1) "0"
        [storage_warn_limit] => null
        [storage_crit_limit] => null
        [storage_ignore]     => null
        [storage_polled]     => string(10) "1466590317"
        [units]              => string(4) "4096"
        [used]               => int(7052509028352)
        [size]               => int(8542165057536)
        [free]               => int(1489656029184)
      )
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/storage-host-resources-mib-_home.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/storage-host-resources-mib-_home.rrd N:7052509028352:1489656029184]
       
      SQL[UPDATE `storage-state` set `storage_polled` ='1466590321',`storage_used` ='7052509028352',`storage_free` ='1489656029184',`storage_size` ='8542165057536',`storage_units` ='4096',`storage_perc` ='82.56' WHERE `storage_id` = '64']
      SQL RUNTIME[0.00080299s]
       
       
       - /usr/share/www/observium/includes/polling/functions.inc.php:681
      /usr/share/www/observium/includes/alerts.inc.php:61
      ============================================================
      array(
        [storage_perc] => double(82.56)
        [storage_free] => int(1489656029184)
        [storage_used] => int(7052509028352)
      )
       
      SQL[UPDATE `alert_table` set `state` ='{\"metrics\":{\"storage_perc\":82.56}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1466590321',`last_ok` ='1466590321' WHERE `alert_table_id` = '233']
      SQL RUNTIME[0.00091791s]
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/alert-233.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/alert-233.rrd N:1:1]
      +-------+--------------------+-------+--------+--------+--------+--------+
      | Label | Type               | Index | Total  | Used   | Free   | Perc   |
      +-------+--------------------+-------+--------+--------+--------+--------+
      | /     | host-resources-mib | 32    | 91.6GB | 1.06GB | 90.6GB | 1.15%  |
      | /boot | host-resources-mib | 33    | 184MB  | 22.2MB | 162MB  | 12.04% |
      | /home | host-resources-mib | 34    | 7.77TB | 6.41TB | 1.35TB | 82.56% |
      +-------+--------------------+-------+--------+--------+--------+--------+
       
       o Module time          0.1819s
       
      #####  fs1.rk.infra [9] completed poller modules at 2016-06-22 10:12:01  #####
       
       o Graphs [checked]     ping, ping_snmp, uptime, storage
       o Poller time          1.1069 seconds
      Updating fs1.rk.infra - 
       
      > $update_array
      ========
      array(
        [uptime]                => int(3087620)
        [last_polled]           => array(
                                     [0] => string(5) "NOW()"
                                   )
        [last_polled_timetaken] => double(1.1069)
        [device_state]          => string(137) "a:1:{s:15:"poller_mod_perf";a:3:{s:6:"system";d:0.42370000000000002;s:2:"os";d:0.39029999999999998;s:7:"storage";d:0.18190000000000001;}}"
      )
       
       
      SQL[UPDATE `devices` set `uptime` ='3087620',`last_polled` =NOW(),`last_polled_timetaken` ='1.1069',`device_state` ='a:1:{s:15:\"poller_mod_perf\";a:3:{s:6:\"system\";d:0.42370000000000002;s:2:\"os\";d:0.39029999999999998;s:7:\"storage\";d:0.18190000000000001;}}' WHERE `device_id` = '9']
      SQL RUNTIME[0.00168896s]
       o Updated Data         uptime, last_polled, last_polled_timetaken, device_state
       
       
       - /usr/share/www/observium/poller.php:163
      /usr/share/www/observium/includes/alerts.inc.php:61
      ================================================
      array(
        [device_status]        => string(1) "1"
        [device_status_type]   => string(0) ""
        [device_ping]          => string(4) "0.20"
        [device_snmp]          => string(5) "81.26"
        [device_uptime]        => string(7) "3087616"
        [device_rebooted]      => int(0)
        [device_duration_poll] => string(4) "1.62"
      )
       
      SQL[UPDATE `alert_table` set `state` ='{\"metrics\":{\"device_status\":\"1\"}}',`count` ='0',`alert_status` ='1',`last_message` ='Checks OK',`last_checked` ='1466590321',`last_ok` ='1466590321' WHERE `alert_table_id` = '42']
      SQL RUNTIME[0.00094700s]
      RRD /usr/share/www/observium/rrd/fs1.rk.infra/alert-42.rrd already exists - no need to create.
      [RRD Disabled - update /usr/share/www/observium/rrd/fs1.rk.infra/alert-42.rrd N:1:1]
       
       
      SQL[DELETE FROM `observium_processes` WHERE `process_pid` = '32575' AND `process_name` = 'poller.php' AND `device_id` = '9']
      SQL RUNTIME[0.00085497s]
       
      SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`)  VALUES ('poll','fs1.rk.infra','1466590320.3724','1.368','1')]
      SQL RUNTIME[0.00077796s]
      ./poller.php: fs1.rk.infra - 1 devices polled in 1.368 secs
      #####  Completed polling run at 2016-06-22 10:12:01  #####
       
      NOTE, $config['snmp']['hide_auth'] is set to TRUE, snmp community and snmp v3 auth hidden from debug output.
       o Devices Polled       1
       o Poller Time          1.368 secs
       o Memory usage         8.75MB (peak: 8.75MB)
       o MySQL Usage          Cell[4/0.004s] Row[12/0.016s] Rows[11/0.013s] Column[0/0s] Update[12/0.023s] Insert[2/0.003s] Delete[1/0.002s] 
       o RRDTool Usage    
      

      The used size is currently valid (about 6.5 TB), but this triggered to an alert i set up because storage capacity exceeded 80% of (invalid) total.

      Attachments

        Activity

          People

            landy Mike Stupalov
            trilliot Teddy Rilliot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: