Librenms broken

Hi,

Librenms is broken, I have been using this for a few years now and went to update to get rid of the message about php7.1 being too old. I took a image first - the update of ubuntu broke the poller. So evenually I powered down the server and started the imaged copy, the poller is running now but only looks at the server (all other devices have disappeared from the poller), also all device show as being down since the time of the image (e.g almost 4 hours). A fresh re-install at this stage in not an option - as I have highily configured weathermaps that took a long time to get working. Please help gettng this working again.

$ ./validate.php

Component Version
LibreNMS 1.48.1-25-g21192a9
DB Schema 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
PHP 7.0.33-0ubuntu0.16.04.4
MySQL 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool 1.5.5
SNMP NET-SNMP 5.7.3

====================================

[OK] Composer Version: 1.8.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Your install is over 24 hours out of date, last update: Fri, 08 Feb 2019 14:17:29 +0000
[FIX]:
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] You are on the PHP 5.6/7.0 support branch, this will prevent automatic updates.
[FIX]:
Update to PHP 7.1.3 or newer (PHP 7.2 recommended) to continue to receive updates.

$ ./poller.php -h localhost -d
LibreNMS Poller
SQL[select migration from migrations order by id desc limit 1 0.5ms]

SQL[select count(*) as aggregate from migrations limit 1 0.42ms]

SQL[SELECT version() 0.28ms]

===================================
Version info:
Commit SHA: 21192a9cf2a3226e1a06bf69e5688242c5903dfa
Commit Date: 1549635449
DB Schema: 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
PHP: 7.0.33-0ubuntu0.16.04.4
MySQL: 10.0.38-MariaDB-0ubuntu0.16.04.1
RRDTool: 1.5.5
SNMP: NET-SNMP 5.7.3
==================================DEBUG!
Updating os_def.cache…
Done
Starting polling run:

SQL[SELECT * FROM devices WHERE disabled = 0 AND hostname = ‘localhost’ ORDER BY device_id ASC 1.3ms]

SQL[SELECT * FROM devices_attribs WHERE device_id = ? [1] 0.28ms]

Hostname: localhost
Device ID: 1
OS: linux (unix)

[FPING] /usr/bin/fping -e -q -c 3 -p 500 -t 500 localhost
array (
‘xmt’ => ‘3’,
‘rcv’ => ‘3’,
‘loss’ => ‘0’,
‘min’ => ‘0.06’,
‘max’ => ‘0.07’,
‘avg’ => ‘0.06’,
‘exitcode’ => 0,
)
SQL[INSERT IGNORE INTO device_perf (xmt,rcv,loss,min,max,avg,device_id,timestamp,debug) VALUES (:xmt,:rcv,:loss,:min,:max,:avg,:device_id,NOW(),:debug) {“xmt”:“3”,“rcv”:“3”,“loss”:“0”,“min”:“0.06”,“max”:“0.07”,“avg”:“0.06”,“device_id”:1,“debug”:“”} 3.73ms]

SNMP Check response code: 0
Modules status: Global+
OS
Device

Load poller module core

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQnUt’ ‘-m’ ‘SNMPv2-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘sysUpTime.0’ ‘sysLocation.0’ ‘sysContact.0’ ‘sysName.0’ ‘sysObjectID.0’ ‘sysDescr.0’]
...0 = 123315
...0 = Rack, Room, Building, City, Country [GPSX,Y]
...0 = Your Name [email protected]
...0 = libreNMSvm
...0 = ..4.1.8
...0 = Linux libreNMSvm 4.4.0-148-generic #174-Ubuntu SMP Tue May 7 12:20:14 UTC 2019 x86_64

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQnUst’ ‘-m’ ‘HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘snmpEngineTime.0’ ‘hrSystemUptime.0’]
snmpEngineTime.0 = 1233
hrSystemUptime.0 = 124540

Uptime seconds: 1245
RRD[update /opt/librenms/rrd/localhost/uptime.rrd N:1245]
Uptime: 20m 45s
SQL[select * from locations where (location = ?) limit 1 [“Rack, Room, Building, City, Country [GPSX,Y]”] 0.61ms]

Runtime for poller module ‘core’: 0.0418 seconds with 63128 bytes
SNMP: [2/0.04s] MySQL: [0/0.00s] RRD: [1/0.00s]

Unload poller module core

RRD[update /opt/librenms/rrd/localhost/poller-perf-core.rrd N:0.041812896728516]
Modules status: Global-
OS
Device
Module [ unix-agent ] disabled globally.

Modules status: Global+
OS
Device

Load poller module os

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘NET-SNMP-EXTEND-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.8072.1.3.2.3.1.1.6.100.105.115.116.114.111’]
No Such Instance currently exists at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘UCD-SNMP-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.2021.7890.1.3.1.1.6.100.105.115.116.114.111’]
“Ubuntu 16.04”

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘MIB-Dell-10892’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.674.10892.1.300.10.1.9.1’]
No Such Object available on this agent at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘CPQSINFO-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell:/opt/librenms/mibs/hp’ ‘udp:HOSTNAME:161’ ‘cpqSiProductName.0’]
No Such Object available on this agent at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.2021.7890.2.4.1.2.8.104.97.114.100.119.97.114.101.1’]
No Such Object available on this agent at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.2021.7890.2.101.1’]
No Such Object available on this agent at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.2021.7890.3.4.1.2.12.109.97.110.117.102.97.99.116.117.114.101.114.1’]
No Such Object available on this agent at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.2021.7890.3.101.1’]
No Such Object available on this agent at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-m’ ‘MIB-Dell-10892’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.674.10892.1.300.10.1.11.1’]
No Such Object available on this agent at this OID

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-Oqv’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.4.1.2021.7890.4.4.1.2.6.115.101.114.105.97.108.1’]
No Such Object available on this agent at this OID

Hardware: Generic x86 64-bit
Version: 4.4.0-148-generic
Features: Ubuntu 16.04
Serial:

Runtime for poller module ‘os’: 0.3437 seconds with 5016 bytes
SNMP: [10/0.34s] MySQL: [0/0.00s] RRD: [1/0.00s]

Unload poller module os

RRD[update /opt/librenms/rrd/localhost/poller-perf-os.rrd N:0.3437077999115]
Modules status: Global+
OS
Device

Load poller module ipmi

SQL[SELECT * FROM sensors WHERE device_id = ? AND poller_type=‘ipmi’ [1] 0.8ms]

array (
)

Runtime for poller module ‘ipmi’: 0.0020 seconds with 2552 bytes
SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [1/0.00s]

Unload poller module ipmi

RRD[update /opt/librenms/rrd/localhost/poller-perf-ipmi.rrd N:0.0019810199737549]
Modules status: Global+
OS
Device

Load poller module sensors

SQL[SELECT sensor_class FROM sensors WHERE device_id = ? GROUP BY sensor_class [1] 0.35ms]

Runtime for poller module ‘sensors’: 0.0009 seconds with 1464 bytes
SNMP: [0/0.00s] MySQL: [1/0.00s] RRD: [1/0.00s]

Unload poller module sensors

RRD[update /opt/librenms/rrd/localhost/poller-perf-sensors.rrd N:0.00092601776123047]
Modules status: Global+
OS
Device

Load poller module processors

Attempting to initialize OS: linux
Attempting to initialize OS: unix
OS initialized as Generic
SQL[SELECT * FROM processors WHERE device_id=? [1] 0.65ms]

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OUQn’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘.1.3.6.1.2.1.25.3.3.1.2.196608’ ‘.1.3.6.1.2.1.25.3.3.1.2.196609’ ‘.1.3.6.1.2.1.25.3.3.1.2.196610’ ‘.1.3.6.1.2.1.25.3.3.1.2.196611’]
...608 = 1
.
..609 = 1
.
.
.610 = 1
.
.*.*611 = 2

array (
‘.1.3.6.1.2.1.25.3.3.1.2.196608’ => ‘1’,
‘.1.3.6.1.2.1.25.3.3.1.2.196609’ => ‘1’,
‘.1.3.6.1.2.1.25.3.3.1.2.196610’ => ‘1’,
‘.1.3.6.1.2.1.25.3.3.1.2.196611’ => ‘2’,
)
1%
RRD[update /opt/librenms/rrd/localhost/processor-hr-196608.rrd N:1]
SQL[UPDATE processors set processor_usage=? WHERE processor_id = ? [1,2] 2.78ms]

1%
RRD[update /opt/librenms/rrd/localhost/processor-hr-196609.rrd N:1]
SQL[UPDATE processors set processor_usage=? WHERE processor_id = ? [1,3] 7.12ms]

1%
RRD[update /opt/librenms/rrd/localhost/processor-hr-196610.rrd N:1]
SQL[UPDATE processors set processor_usage=? WHERE processor_id = ? [1,4] 2.09ms]

2%
RRD[update /opt/librenms/rrd/localhost/processor-hr-196611.rrd N:2]
SQL[UPDATE processors set processor_usage=? WHERE processor_id = ? [2,5] 0.9ms]

Runtime for poller module ‘processors’: 0.0343 seconds with 93256 bytes
SNMP: [1/0.02s] MySQL: [5/0.01s] RRD: [5/0.00s]

Unload poller module processors

RRD[update /opt/librenms/rrd/localhost/poller-perf-processors.rrd N:0.034287929534912]
Modules status: Global+
OS
Device

Load poller module mempools

SQL[SELECT * FROM mempools WHERE device_id = ? [1] 0.64ms]

Mempool Physical memory: SNMP[‘/usr/bin/snmpbulkwalk’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OQUs’ ‘-m’ ‘HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘hrStorageEntry’]
hrStorageIndex.1 = 1
hrStorageIndex.3 = 3
hrStorageIndex.6 = 6
hrStorageIndex.7 = 7
hrStorageIndex.8 = 8
hrStorageIndex.10 = 10
hrStorageIndex.35 = 35
hrStorageIndex.36 = 36
hrStorageIndex.38 = 38
hrStorageIndex.39 = 39
hrStorageIndex.40 = 40
hrStorageIndex.59 = 59
hrStorageIndex.61 = 61
hrStorageType.1 = hrStorageRam
hrStorageType.3 = hrStorageVirtualMemory
hrStorageType.6 = hrStorageOther
hrStorageType.7 = hrStorageOther
hrStorageType.8 = hrStorageOther
hrStorageType.10 = hrStorageVirtualMemory
hrStorageType.35 = hrStorageFixedDisk
hrStorageType.36 = hrStorageFixedDisk
hrStorageType.38 = hrStorageFixedDisk
hrStorageType.39 = hrStorageFixedDisk
hrStorageType.40 = hrStorageFixedDisk
hrStorageType.59 = hrStorageFixedDisk
hrStorageType.61 = 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.35 = /run
hrStorageDescr.36 = /
hrStorageDescr.38 = /dev/shm
hrStorageDescr.39 = /run/lock
hrStorageDescr.40 = /sys/fs/cgroup
hrStorageDescr.59 = /run/user/108
hrStorageDescr.61 = /run/user/1000
hrStorageAllocationUnits.1 = 1024
hrStorageAllocationUnits.3 = 1024
hrStorageAllocationUnits.6 = 1024
hrStorageAllocationUnits.7 = 1024
hrStorageAllocationUnits.8 = 1024
hrStorageAllocationUnits.10 = 1024
hrStorageAllocationUnits.35 = 4096
hrStorageAllocationUnits.36 = 4096
hrStorageAllocationUnits.38 = 4096
hrStorageAllocationUnits.39 = 4096
hrStorageAllocationUnits.40 = 4096
hrStorageAllocationUnits.59 = 4096
hrStorageAllocationUnits.61 = 4096
hrStorageSize.1 = 16430316
hrStorageSize.3 = 24815848
hrStorageSize.6 = 16430316
hrStorageSize.7 = 468420
hrStorageSize.8 = 30376
hrStorageSize.10 = 8385532
hrStorageSize.35 = 410758
hrStorageSize.36 = 10804528
hrStorageSize.38 = 2053789
hrStorageSize.39 = 1280
hrStorageSize.40 = 2053789
hrStorageSize.59 = 410758
hrStorageSize.61 = 410758
hrStorageUsed.1 = 1113512
hrStorageUsed.3 = 1113512
hrStorageUsed.6 = 68628
hrStorageUsed.7 = 468420
hrStorageUsed.8 = 30376
hrStorageUsed.10 = 0
hrStorageUsed.35 = 2335
hrStorageUsed.36 = 4182610
hrStorageUsed.38 = 44
hrStorageUsed.39 = 0
hrStorageUsed.40 = 0
hrStorageUsed.59 = 7
hrStorageUsed.61 = 0

SNMP[‘/usr/bin/snmpget’ ‘-v2c’ ‘-c’ ‘COMMUNITY’ ‘-OUqv’ ‘-m’ ‘HOST-RESOURCES-MIB’ ‘-M’ ‘/opt/librenms/mibs:/opt/librenms/mibs/supermicro:/opt/librenms/mibs/dell’ ‘udp:HOSTNAME:161’ ‘hrMemorySize.0’]
16430316

array (
‘hrstorage’ =>
array (
1 =>
array (
‘hrStorageIndex’ => ‘1’,
‘hrStorageType’ => ‘hrStorageRam’,
‘hrStorageDescr’ => ‘Physical memory’,
‘hrStorageAllocationUnits’ => ‘1024’,
‘hrStorageSize’ => ‘16430316’,
‘hrStorageUsed’ => ‘1113512’,
),
3 =>
array (
‘hrStorageIndex’ => ‘3’,
‘hrStorageType’ => ‘hrStorageVirtualMemory’,
‘hrStorageDescr’ => ‘Virtual memory’,
‘hrStorageAllocationUnits’ => ‘1024’,
‘hrStorageSize’ => ‘24815848’,
‘hrStorageUsed’ => ‘1113512’,
),
6 =>
array (
‘hrStorageIndex’ => ‘6’,
‘hrStorageType’ => ‘hrStorageOther’,
‘hrStorageDescr’ => ‘Memory buffers’,
‘hrStorageAllocationUnits’ => ‘1024’,
‘hrStorageSize’ => ‘16430316’,
‘hrStorageUsed’ => ‘68628’,
),
7 =>
array (
‘hrStorageIndex’ => ‘7’,
‘hrStorageType’ => ‘hrStorageOther’,
‘hrStorageDescr’ => ‘Cached memory’,
‘hrStorageAllocationUnits’ => ‘1024’,
‘hrStorageSize’ => ‘468420’,
‘hrStorageUsed’ => ‘468420’,
),
8 =>
array (
‘hrStorageIndex’ => ‘8’,
‘hrStorageType’ => ‘hrStorageOther’,
‘hrStorageDescr’ => ‘Shared memory’,
‘hrStorageAllocationUnits’ => ‘1024’,
‘hrStorageSize’ => ‘30376’,
‘hrStorageUsed’ => ‘30376’,
),
10 =>
array (
‘hrStorageIndex’ => ‘10’,
‘hrStorageType’ => ‘hrStorageVirtualMemory’,
‘hrStorageDescr’ => ‘Swap space’,
‘hrStorageAllocationUnits’ => ‘1024’,
‘hrStorageSize’ => ‘8385532’,
‘hrStorageUsed’ => ‘0’,
),
35 =>
array (
‘hrStorageIndex’ => ‘35’,
‘hrStorageType’ => ‘hrStorageFixedDisk’,
‘hrStorageDescr’ => ‘/run’,
‘hrStorageAllocationUnits’ => ‘4096’,
‘hrStorageSize’ => ‘410758’,
‘hrStorageUsed’ => ‘2335’,
),
36 =>
array (
‘hrStorageIndex’ => ‘36’,
‘hrStorageType’ => ‘hrStorageFixedDisk’,
‘hrStorageDescr’ => ‘/’,
‘hrStorageAllocationUnits’ => ‘4096’,
‘hrStorageSize’ => ‘10804528’,
‘hrStorageUsed’ => ‘4182610’,
),
38 =>
array (
‘hrStorageIndex’ => ‘38’,
‘hrStorageType’ => ‘hrStorageFixedDisk’,
‘hrStorageDescr’ => ‘/dev/shm’,
‘hrStorageAllocationUnits’ => ‘4096’,
‘hrStorageSize’ => ‘2053789’,
‘hrStorageUsed’ => ‘44’,
),
39 =>
array (
‘hrStorageIndex’ => ‘39’,
‘hrStorageType’ => ‘hrStorageFixedDisk’,
‘hrStorageDescr’ => ‘/run/lock’,
‘hrStorageAllocationUnits’ => ‘4096’,
‘hrStorageSize’ => ‘1280’,
‘hrStorageUsed’ => ‘0’,
),
40 =>
array (
‘hrStorageIndex’ => ‘40’,
‘hrStorageType’ => ‘hrStorageFixedDisk’,
‘hrStorageDescr’ => ‘/sys/fs/cgroup’,
‘hrStorageAllocationUnits’ => ‘4096’,
‘hrStorageSize’ => ‘2053789’,
‘hrStorageUsed’ => ‘0’,
),
59 =>
array (
‘hrStorageIndex’ => ‘59’,
‘hrStorageType’ => ‘hrStorageFixedDisk’,
‘hrStorageDescr’ => ‘/run/user/108’,
‘hrStorageAllocationUnits’ => ‘4096’,
‘hrStorageSize’ => ‘410758’,
‘hrStorageUsed’ => ‘7’,
),
61 =>
array (
‘hrStorageIndex’ => ‘61’,
‘hrStorageType’ => ‘hrStorageFixedDisk’,
‘hrStorageDescr’ => ‘/run/user/1000’,
‘hrStorageAllocationUnits’ => ‘4096’,
‘hrStorageSize’ => ‘410758’,
‘hrStorageUsed’ => ‘0’,
),
),
‘memorySize’ => 16824643584,
)
6.78% RRD[update /opt/librenms/rrd/localhost/mempool-hrstorage-1.rrd N:1140236288:15684407296]
SQL[UPDATE mempools set mempool_used=?,mempool_perc=?,mempool_free=?,mempool_total=? WHERE mempool_id = ? [1140236288,6.78,15684407296,16824643584,3] 2.73ms]

Mempool Virtual memory: Cached!
4.49% RRD[update /opt/librenms/rrd/localhost/mempool-hrstorage-3.rrd N:1140236288:24271192064]
SQL[UPDATE mempools set mempool_used=?,mempool_perc=?,mempool_free=?,mempool_total=? WHERE mempool_id = ? [1140236288,4.49,24271192064,25411428352,4] 2.45ms]

Mempool Swap space: Cached!
0% RRD[update /opt/librenms/rrd/localhost/mempool-hrstorage-10.rrd N:0:8586784768]
SQL[UPDATE mempools set mempool_used=?,mempool_perc=?,mempool_free=?,mempool_total=? WHERE mempool_id = ? [0,0,8586784768,8586784768,5] 2.25ms]

Runtime for poller module ‘mempools’: 0.0510 seconds with 20512 bytes
SNMP: [2/0.04s] MySQL: [4/0.01s] RRD: [4/0.00s]

Unload poller module mempools

RRD[update /opt/librenms/rrd/localhost/poller-perf-mempools.rrd N:0.050981998443604]
Modules status: Global+
OS
Device

Load poller module storage

SQL[SELECT * FROM storage WHERE device_id = ? [1] 0.66ms]

Storage /run: hrstorage

array (
‘storage_id’ => 1,
‘device_id’ => 1,
‘storage_mib’ => ‘hrstorage’,
‘storage_index’ => ‘35’,
‘storage_type’ => ‘hrStorageFixedDisk’,
‘storage_descr’ => ‘/run’,
‘storage_size’ => 1682464768,
‘storage_units’ => 4096,
‘storage_used’ => 9502720,
‘storage_free’ => 1672962048,
‘storage_perc’ => 1,
‘storage_perc_warn’ => 60,
‘storage_deleted’ => 0,
‘units’ => ‘4096’,
‘used’ => 9564160,
‘size’ => 1682464768,
‘free’ => 1672900608,
)
1% RRD[update /opt/librenms/rrd/localhost/storage-hrstorage-_run.rrd N:9564160:1672900608]
SQL[UPDATE storage set storage_used=?,storage_free=?,storage_size=?,storage_units=?,storage_perc=? WHERE storage_id = ? [“9564160”,“1672900608”,“1682464768”,“4096”,1,1] 2.46ms]

Storage /: hrstorage

array (
‘storage_id’ => 2,
‘device_id’ => 1,
‘storage_mib’ => ‘hrstorage’,
‘storage_index’ => ‘36’,
‘storage_type’ => ‘hrStorageFixedDisk’,
‘storage_descr’ => ‘/’,
‘storage_size’ => 44255346688,
‘storage_units’ => 4096,
‘storage_used’ => 17131892736,
‘storage_free’ => 27123453952,
‘storage_perc’ => 39,
‘storage_perc_warn’ => 60,
‘storage_deleted’ => 0,
‘units’ => ‘4096’,
‘used’ => 17131970560,
‘size’ => 44255346688,
‘free’ => 27123376128,
)
39% RRD[update /opt/librenms/rrd/localhost/storage-hrstorage-_.rrd N:17131970560:27123376128]
SQL[UPDATE storage set storage_used=?,storage_free=?,storage_size=?,storage_units=?,storage_perc=? WHERE storage_id = ? [“17131970560”,“27123376128”,“44255346688”,“4096”,39,2] 2.2ms]

Storage /dev/shm: hrstorage

array (
‘storage_id’ => 3,
‘device_id’ => 1,
‘storage_mib’ => ‘hrstorage’,
‘storage_index’ => ‘38’,
‘storage_type’ => ‘hrStorageFixedDisk’,
‘storage_descr’ => ‘/dev/shm’,
‘storage_size’ => 8412319744,
‘storage_units’ => 4096,
‘storage_used’ => 180224,
‘storage_free’ => 8412139520,
‘storage_perc’ => 0,
‘storage_perc_warn’ => 60,
‘storage_deleted’ => 0,
‘units’ => ‘4096’,
‘used’ => 180224,
‘size’ => 8412319744,
‘free’ => 8412139520,
)
0% RRD[update /opt/librenms/rrd/localhost/storage-hrstorage-_dev_shm.rrd N:180224:8412139520]
SQL[UPDATE storage set storage_used=?,storage_free=?,storage_size=?,storage_units=?,storage_perc=? WHERE storage_id = ? [“180224”,“8412139520”,“8412319744”,“4096”,0,3] 2.03ms]

Storage /run/lock: hrstorage

array (
‘storage_id’ => 4,
‘device_id’ => 1,
‘storage_mib’ => ‘hrstorage’,
‘storage_index’ => ‘39’,
‘storage_type’ => ‘hrStorageFixedDisk’,
‘storage_descr’ => ‘/run/lock’,
‘storage_size’ => 5242880,
‘storage_units’ => 4096,
‘storage_used’ => 0,
‘storage_free’ => 5242880,
‘storage_perc’ => 0,
‘storage_perc_warn’ => 60,
‘storage_deleted’ => 0,
‘units’ => ‘4096’,
‘used’ => 0,
‘size’ => 5242880,
‘free’ => 5242880,
)
0% RRD[update /opt/librenms/rrd/localhost/storage-hrstorage-_run_lock.rrd N:0:5242880]
SQL[UPDATE storage set storage_used=?,storage_free=?,storage_size=?,storage_units=?,storage_perc=? WHERE storage_id = ? [“0”,“5242880”,“5242880”,“4096”,0,4] 0.86ms]

Storage /sys/fs/cgroup: hrstorage

array (
‘storage_id’ => 5,
‘device_id’ => 1,
‘storage_mib’ => ‘hrstorage’,
‘storage_index’ => ‘40’,
‘storage_type’ => ‘hrStorageFixedDisk’,
‘storage_descr’ => ‘/sys/fs/cgroup’,
‘storage_size’ => 8412319744,
‘storage_units’ => 4096,
‘storage_used’ => 0,
‘storage_free’ => 8412319744,
‘storage_perc’ => 0,
‘storage_perc_warn’ => 60,
‘storage_deleted’ => 0,
‘units’ => ‘4096’,
‘used’ => 0,
‘size’ => 8412319744,
‘free’ => 8412319744,
)
0% RRD[update /opt/librenms/rrd/localhost/storage-hrstorage-_sys_fs_cgroup.rrd N:0:8412319744]
SQL[UPDATE storage set storage_used=?,storage_free=?,storage_size=?,storage_units=?,storage_perc=? WHERE storage_id = ? [“0”,“8412319744”,“8412319744”,“4096”,0,5] 2.45ms]

Storage /run/user/1000: hrstorage

array (
‘storage_id’ => 6,
‘device_id’ => 1,
‘storage_mib’ => ‘hrstorage’,
‘storage_index’ => ‘59’,
‘storage_type’ => ‘hrStorageFixedDisk’,
‘storage_descr’ => ‘/run/user/1000’,
‘storage_size’ => 1682464768,
‘storage_units’ => 4096,
‘storage_used’ => 24576,
‘storage_free’ => 1682440192,
‘storage_perc’ => 0,
‘storage_perc_warn’ => 60,
‘storage_deleted’ => 0,
‘units’ => ‘4096’,
‘used’ => 28672,
‘size’ => 1682464768,
‘free’ => 1682436096,
)

Did you manage to install php 7.2 and configure your webserver accordingly?

The validate still shows php7.0

There are a few threads on the forum with php upgrade troubles so check them out if you get stuck e.g Installation PHP7.2 Ubuntu 16 problems

A few spots that are easy to mess up:

  • Not installing all php dependencies, check install docs for apt/yum commands
  • Not remove old versions of PHP
  • Restoring to current version from the support branch is not graceful if you tried it before fixing the above. ./scripts/github-remove -d, git status and rm the 3-4 files in the config directory. Then run ./daily.sh again.