Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LibreNMS Poller
- SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.52ms]
- SQL[select count(*) as aggregate from `migrations` limit 1 [] 0.82ms]
- SQL[SELECT version() [] 0.21ms]
- ===================================
- Version info:
- Commit SHA: 60a39caa3518b474d3bc9c93de6a5fbaf1321dd6
- Commit Date: 1548696617
- DB Schema: 2019_01_16_195644_add_vrf_id_and_bgpLocalAs (131)
- PHP: 7.2.10-0ubuntu0.18.04.1
- MySQL: 10.1.34-MariaDB-0ubuntu0.18.04.1
- RRDTool: 1.7.0
- SNMP: NET-SNMP 5.7.3
- ==================================DEBUG!
- Updating os_def.cache...
- Done
- Override poller modules: storage
- Starting polling run:
- SQL[SELECT * FROM `devices` WHERE `disabled` = 0 AND `device_id` = 170 ORDER BY `device_id` ASC [] 1.03ms]
- SQL[SELECT * FROM devices_attribs WHERE `device_id` = ? [170] 0.17ms]
- Hostname: tmii01.mssm.edu
- Device ID: 170
- OS: linux (unix)
- [FPING] /usr/bin/fping -e -q -c 3 -p 500 -t 500 tmii01.mssm.edu
- array (
- 'xmt' => '3',
- 'rcv' => '3',
- 'loss' => '0',
- 'min' => '0.24',
- 'max' => '0.27',
- 'avg' => '0.26',
- '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.24","max":"0.27","avg":"0.26","device_id":170,"debug":"[]"} 1.36ms]
- SNMP Check response code: 0
- Modules status: Global+
- OS
- Device
- #### Load poller module core ####
- SNMP['/usr/bin/snmpget' '-v3' '-l' 'authPriv' '-n' '' '-a' 'SHA' '-A' 'PASSWORD '-u' 'USER '-x' 'AES' '-X' 'PASSWORD '-OQnUt' '-m' 'SNMPv2-MIB' '-M' '/data/librenms/mibs:/data/librenms/mibs/supermicro:/data/librenms/mibs/dell' 'udp:HOSTNAME:161' 'sysUpTime.0' 'sysLocation.0' 'sysContact.0' 'sysName.0' 'sysObjectID.0' 'sysDescr.0']
- .*.*.0 = 6785214
- .*.*.0 = AB-58, 1425 DC, [40.788638,-73.952422]
- .*.*.0 = UNIX Eng <mssm-unix@mssm.edu>
- .*.*.0 = tmii01
- .*.*.0 = .*.4.1.8*
- .*.*.0 = Linux tmii01 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64
- SNMP['/usr/bin/snmpget' '-v3' '-l' 'authPriv' '-n' '' '-a' 'SHA' '-A' 'PASSWORD '-u' 'USER '-x' 'AES' '-X' 'PASSWORD '-OQnUst' '-m' 'HOST-RESOURCES-MIB:SNMP-FRAMEWORK-MIB' '-M' '/data/librenms/mibs:/data/librenms/mibs/supermicro:/data/librenms/mibs/dell' 'udp:HOSTNAME:161' 'snmpEngineTime.0' 'hrSystemUptime.0']
- snmpEngineTime.0 = 67856
- hrSystemUptime.0 = 1632777790
- Uptime seconds: 16327778
- RRD[update /data/librenms/rrd/tmii01.mssm.edu/uptime.rrd N:16327778]
- Uptime: 188 days, 23h 29m 38s
- SQL[select * from `locations` where (`location` = ?) limit 1 ["AB-58, 1425 DC, [40.788638,-73.952422]"] 0.35ms]
- >> Runtime for poller module 'core': 0.0959 seconds with 128408 bytes
- >> SNMP: [2/0.09s] MySQL: [0/0.00s] RRD: [1/0.00s]
- #### Unload poller module core ####
- RRD[update /data/librenms/rrd/tmii01.mssm.edu/poller-perf-core.rrd N:0.095867872238159]
- Modules status: Global+
- OS
- Device
- #### Load poller module storage ####
- SQL[SELECT * FROM storage WHERE device_id = ? [170] 0.64ms]
- Storage /: hrstorage
- SNMP['/usr/bin/snmpbulkwalk' '-v3' '-l' 'authPriv' '-n' '' '-a' 'SHA' '-A' 'PASSWORD '-u' 'USER '-x' 'AES' '-X' 'PASSWORD '-OQUs' '-m' 'HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES' '-M' '/data/librenms/mibs:/data/librenms/mibs/supermicro:/data/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.31 = 31
- hrStorageIndex.32 = 32
- hrStorageIndex.33 = 33
- hrStorageIndex.34 = 34
- hrStorageIndex.35 = 35
- hrStorageIndex.36 = 36
- hrStorageIndex.37 = 37
- hrStorageIndex.38 = 38
- hrStorageIndex.39 = 39
- 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
- hrStorageType.35 = hrStorageFixedDisk
- hrStorageType.36 = hrStorageFixedDisk
- hrStorageType.37 = hrStorageFixedDisk
- hrStorageType.38 = hrStorageFixedDisk
- hrStorageType.39 = 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 = /
- hrStorageDescr.32 = /sys/fs/fuse/connections
- hrStorageDescr.33 = /dev
- hrStorageDescr.34 = /boot
- hrStorageDescr.35 = /data
- hrStorageDescr.36 = /var
- hrStorageDescr.37 = /PROJECTS
- hrStorageDescr.38 = /tmp
- hrStorageDescr.39 = /opt
- 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 = 4096
- hrStorageAllocationUnits.34 = 1024
- hrStorageAllocationUnits.35 = 4096
- hrStorageAllocationUnits.36 = 4096
- hrStorageAllocationUnits.37 = 4096
- hrStorageAllocationUnits.38 = 4096
- hrStorageAllocationUnits.39 = 4096
- hrStorageSize.1 = 65969704
- hrStorageSize.3 = 75734564
- hrStorageSize.6 = 65969704
- hrStorageSize.7 = 41774424
- hrStorageSize.8 = 0
- hrStorageSize.10 = 9764860
- hrStorageSize.31 = 4805813
- hrStorageSize.32 = 0
- hrStorageSize.33 = 8243828
- hrStorageSize.34 = 234153
- hrStorageSize.35 = 3277845857
- hrStorageSize.36 = 1201440
- hrStorageSize.37 = 1331602538
- hrStorageSize.38 = 1331602538
- hrStorageSize.39 = 1331602538
- hrStorageUsed.1 = 65710284
- hrStorageUsed.3 = 67592224
- hrStorageUsed.6 = 13302564
- hrStorageUsed.7 = 41774424
- hrStorageUsed.10 = 1881940
- hrStorageUsed.31 = 1025706
- hrStorageUsed.32 = 0
- hrStorageUsed.33 = 1
- hrStorageUsed.34 = 29243
- hrStorageUsed.35 = 3871065409
- hrStorageUsed.36 = 255710
- hrStorageUsed.37 = 90804534
- hrStorageUsed.38 = 90804534
- hrStorageUsed.39 = 90804534
- array (
- 'hrstorage' =>
- array (
- 1 =>
- array (
- 'hrStorageIndex' => '1',
- 'hrStorageType' => 'hrStorageRam',
- 'hrStorageDescr' => 'Physical memory',
- 'hrStorageAllocationUnits' => '1024',
- 'hrStorageSize' => '65969704',
- 'hrStorageUsed' => '65710284',
- ),
- 3 =>
- array (
- 'hrStorageIndex' => '3',
- 'hrStorageType' => 'hrStorageVirtualMemory',
- 'hrStorageDescr' => 'Virtual memory',
- 'hrStorageAllocationUnits' => '1024',
- 'hrStorageSize' => '75734564',
- 'hrStorageUsed' => '67592224',
- ),
- 6 =>
- array (
- 'hrStorageIndex' => '6',
- 'hrStorageType' => 'hrStorageOther',
- 'hrStorageDescr' => 'Memory buffers',
- 'hrStorageAllocationUnits' => '1024',
- 'hrStorageSize' => '65969704',
- 'hrStorageUsed' => '13302564',
- ),
- 7 =>
- array (
- 'hrStorageIndex' => '7',
- 'hrStorageType' => 'hrStorageOther',
- 'hrStorageDescr' => 'Cached memory',
- 'hrStorageAllocationUnits' => '1024',
- 'hrStorageSize' => '41774424',
- 'hrStorageUsed' => '41774424',
- ),
- 8 =>
- array (
- 'hrStorageIndex' => '8',
- 'hrStorageType' => 'hrStorageOther',
- 'hrStorageDescr' => 'Shared memory',
- 'hrStorageAllocationUnits' => '1024',
- 'hrStorageSize' => '0',
- ),
- 10 =>
- array (
- 'hrStorageIndex' => '10',
- 'hrStorageType' => 'hrStorageVirtualMemory',
- 'hrStorageDescr' => 'Swap space',
- 'hrStorageAllocationUnits' => '1024',
- 'hrStorageSize' => '9764860',
- 'hrStorageUsed' => '1881940',
- ),
- 31 =>
- array (
- 'hrStorageIndex' => '31',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '4805813',
- 'hrStorageUsed' => '1025706',
- ),
- 32 =>
- array (
- 'hrStorageIndex' => '32',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/sys/fs/fuse/connections',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '0',
- 'hrStorageUsed' => '0',
- ),
- 33 =>
- array (
- 'hrStorageIndex' => '33',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/dev',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '8243828',
- 'hrStorageUsed' => '1',
- ),
- 34 =>
- array (
- 'hrStorageIndex' => '34',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/boot',
- 'hrStorageAllocationUnits' => '1024',
- 'hrStorageSize' => '234153',
- 'hrStorageUsed' => '29243',
- ),
- 35 =>
- array (
- 'hrStorageIndex' => '35',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/data',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '3277845857',
- 'hrStorageUsed' => '3871065409',
- ),
- 36 =>
- array (
- 'hrStorageIndex' => '36',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/var',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '1201440',
- 'hrStorageUsed' => '255710',
- ),
- 37 =>
- array (
- 'hrStorageIndex' => '37',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/PROJECTS',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '1331602538',
- 'hrStorageUsed' => '90804534',
- ),
- 38 =>
- array (
- 'hrStorageIndex' => '38',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/tmp',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '1331602538',
- 'hrStorageUsed' => '90804534',
- ),
- 39 =>
- array (
- 'hrStorageIndex' => '39',
- 'hrStorageType' => 'hrStorageFixedDisk',
- 'hrStorageDescr' => '/opt',
- 'hrStorageAllocationUnits' => '4096',
- 'hrStorageSize' => '1331602538',
- 'hrStorageUsed' => '90804534',
- ),
- ),
- )
- array (
- 'storage_id' => 1413,
- 'device_id' => 170,
- 'storage_mib' => 'hrstorage',
- 'storage_index' => '31',
- 'storage_type' => 'hrStorageFixedDisk',
- 'storage_descr' => '/',
- 'storage_size' => 19684610048,
- 'storage_units' => 4096,
- 'storage_used' => 4201291776,
- 'storage_free' => 15483318272,
- 'storage_perc' => 21,
- 'storage_perc_warn' => 60,
- 'storage_deleted' => 0,
- 'units' => '4096',
- 'used' => 4201291776,
- 'size' => 19684610048,
- 'free' => 15483318272,
- )
- 21% RRD[update /data/librenms/rrd/tmii01.mssm.edu/storage-hrstorage-_.rrd N:4201291776:15483318272]
- SQL[UPDATE `storage` set `storage_used`=?,`storage_free`=?,`storage_size`=?,`storage_units`=?,`storage_perc`=? WHERE `storage_id` = ? ["4201291776","15483318272","19684610048","4096",21,1413] 1.22ms]
- Storage /boot: hrstorage
- array (
- 'storage_id' => 1414,
- 'device_id' => 170,
- 'storage_mib' => 'hrstorage',
- 'storage_index' => '34',
- 'storage_type' => 'hrStorageFixedDisk',
- 'storage_descr' => '/boot',
- 'storage_size' => 239772672,
- 'storage_units' => 1024,
- 'storage_used' => 29944832,
- 'storage_free' => 209827840,
- 'storage_perc' => 12,
- 'storage_perc_warn' => 60,
- 'storage_deleted' => 0,
- 'units' => '1024',
- 'used' => 29944832,
- 'size' => 239772672,
- 'free' => 209827840,
- )
- 12% RRD[update /data/librenms/rrd/tmii01.mssm.edu/storage-hrstorage-_boot.rrd N:29944832:209827840]
- SQL[UPDATE `storage` set `storage_used`=?,`storage_free`=?,`storage_size`=?,`storage_units`=?,`storage_perc`=? WHERE `storage_id` = ? ["29944832","209827840","239772672","1024",12,1414] 9.18ms]
- Storage /data: hrstorage
- array (
- 'storage_id' => 1415,
- 'device_id' => 170,
- 'storage_mib' => 'hrstorage',
- 'storage_index' => '35',
- 'storage_type' => 'hrStorageFixedDisk',
- 'storage_descr' => '/data',
- 'storage_size' => 13426056630272,
- 'storage_units' => 4096,
- 'storage_used' => 15855883911168,
- 'storage_free' => -2429827280896,
- 'storage_perc' => 118,
- 'storage_perc_warn' => 60,
- 'storage_deleted' => 0,
- 'units' => '4096',
- 'used' => 15855883915264,
- 'size' => 13426056630272,
- 'free' => -2429827284992,
- )
- 118% RRD[update /data/librenms/rrd/tmii01.mssm.edu/storage-hrstorage-_data.rrd N:15855883915264:-2429827284992]
- SQL[UPDATE `storage` set `storage_used`=?,`storage_free`=?,`storage_size`=?,`storage_units`=?,`storage_perc`=? WHERE `storage_id` = ? ["15855883915264","-2429827284992","13426056630272","4096",118,1415] 8.12ms]
- Storage /var: hrstorage
- array (
- 'storage_id' => 1416,
- 'device_id' => 170,
- 'storage_mib' => 'hrstorage',
- 'storage_index' => '36',
- 'storage_type' => 'hrStorageFixedDisk',
- 'storage_descr' => '/var',
- 'storage_size' => 4921098240,
- 'storage_units' => 4096,
- 'storage_used' => 1047375872,
- 'storage_free' => 3873722368,
- 'storage_perc' => 21,
- 'storage_perc_warn' => 60,
- 'storage_deleted' => 0,
- 'units' => '4096',
- 'used' => 1047388160,
- 'size' => 4921098240,
- 'free' => 3873710080,
- )
- 21% RRD[update /data/librenms/rrd/tmii01.mssm.edu/storage-hrstorage-_var.rrd N:1047388160:3873710080]
- SQL[UPDATE `storage` set `storage_used`=?,`storage_free`=?,`storage_size`=?,`storage_units`=?,`storage_perc`=? WHERE `storage_id` = ? ["1047388160","3873710080","4921098240","4096",21,1416] 7.98ms]
- Storage /PROJECTS: hrstorage
- array (
- 'storage_id' => 1417,
- 'device_id' => 170,
- 'storage_mib' => 'hrstorage',
- 'storage_index' => '37',
- 'storage_type' => 'hrStorageFixedDisk',
- 'storage_descr' => '/PROJECTS',
- 'storage_size' => 5454243995648,
- 'storage_units' => 4096,
- 'storage_used' => 371934760960,
- 'storage_free' => 5082309234688,
- 'storage_perc' => 7,
- 'storage_perc_warn' => 60,
- 'storage_deleted' => 0,
- 'units' => '4096',
- 'used' => 371935371264,
- 'size' => 5454243995648,
- 'free' => 5082308624384,
- )
- 7% RRD[update /data/librenms/rrd/tmii01.mssm.edu/storage-hrstorage-_PROJECTS.rrd N:371935371264:5082308624384]
- SQL[UPDATE `storage` set `storage_used`=?,`storage_free`=?,`storage_size`=?,`storage_units`=?,`storage_perc`=? WHERE `storage_id` = ? ["371935371264","5082308624384","5454243995648","4096",7,1417] 8.04ms]
- Storage /tmp: hrstorage
- array (
- 'storage_id' => 1418,
- 'device_id' => 170,
- 'storage_mib' => 'hrstorage',
- 'storage_index' => '38',
- 'storage_type' => 'hrStorageFixedDisk',
- 'storage_descr' => '/tmp',
- 'storage_size' => 5454243995648,
- 'storage_units' => 4096,
- 'storage_used' => 371934760960,
- 'storage_free' => 5082309234688,
- 'storage_perc' => 7,
- 'storage_perc_warn' => 60,
- 'storage_deleted' => 0,
- 'units' => '4096',
- 'used' => 371935371264,
- 'size' => 5454243995648,
- 'free' => 5082308624384,
- )
- 7% RRD[update /data/librenms/rrd/tmii01.mssm.edu/storage-hrstorage-_tmp.rrd N:371935371264:5082308624384]
- SQL[UPDATE `storage` set `storage_used`=?,`storage_free`=?,`storage_size`=?,`storage_units`=?,`storage_perc`=? WHERE `storage_id` = ? ["371935371264","5082308624384","5454243995648","4096",7,1418] 8.03ms]
- Storage /opt: hrstorage
- array (
- 'storage_id' => 1419,
- 'device_id' => 170,
- 'storage_mib' => 'hrstorage',
- 'storage_index' => '39',
- 'storage_type' => 'hrStorageFixedDisk',
- 'storage_descr' => '/opt',
- 'storage_size' => 5454243995648,
- 'storage_units' => 4096,
- 'storage_used' => 371934760960,
- 'storage_free' => 5082309234688,
- 'storage_perc' => 7,
- 'storage_perc_warn' => 60,
- 'storage_deleted' => 0,
- 'units' => '4096',
- 'used' => 371935371264,
- 'size' => 5454243995648,
- 'free' => 5082308624384,
- )
- 7% RRD[update /data/librenms/rrd/tmii01.mssm.edu/storage-hrstorage-_opt.rrd N:371935371264:5082308624384]
- SQL[UPDATE `storage` set `storage_used`=?,`storage_free`=?,`storage_size`=?,`storage_units`=?,`storage_perc`=? WHERE `storage_id` = ? ["371935371264","5082308624384","5454243995648","4096",7,1419] 7.97ms]
- >> Runtime for poller module 'storage': 0.1123 seconds with 19968 bytes
- >> SNMP: [1/0.06s] MySQL: [8/0.05s] RRD: [8/0.00s]
- #### Unload poller module storage ####
- RRD[update /data/librenms/rrd/tmii01.mssm.edu/poller-perf-storage.rrd N:0.11232805252075]
- ### Start Device Groups ###
- SQL[SELECT * FROM device_groups ORDER BY name [] 0.6ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^chief" || devices.hostname REGEXP "^base" ) LIMIT 1 [170] 0.42ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "dmz-f5") LIMIT 1 [170] 0.31ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.os REGEXP "F5") LIMIT 1 [170] 0.62ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hardware REGEXP "IB") LIMIT 1 [170] 0.57ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^api-" || devices.hostname REGEXP "^msh-" ) LIMIT 1 [170] 0.31ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^splunk" || devices.hostname REGEXP "^cyber-syslog" ) LIMIT 1 [170] 0.6ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^eresources" || devices.hostname REGEXP "^web10" || devices.hostname REGEXP "^ccfl" || devices.hostname REGEXP "^ccmp" || devices.hostname REGEXP "^media" || devices.hostname REGEXP "^ccess" ) LIMIT 1 [170] 0.32ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^mshs-w4" || devices.hostname REGEXP "^blog" || devices.hostname = "smaaappp015002.mountsinai.org" || devices.hostname = "www.mountsinai.org" || devices.hostname REGEXP "^msmc-w4" ) LIMIT 1 [170] 0.32ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^mshs-w4" || devices.hostname REGEXP "^blog" || devices.hostname = "smaaappp015002.mountsinai.org" || devices.hostname = "www.mountsinai.org" || devices.hostname REGEXP "^msmc-w4" ) LIMIT 1 [170] 0.2ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "smes") LIMIT 1 [170] 0.26ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.os = "PanOS") LIMIT 1 [170] 0.27ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^smtp-" || devices.hostname REGEXP "^encmail" ) LIMIT 1 [170] 0.62ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^pred-mod") LIMIT 1 [170] 0.29ms]
- SQL[SELECT 1 FROM information_schema.COLUMNS WHERE TABLE_NAME = ? && COLUMN_NAME = ? ["devices_attribs","device_id"] 1.59ms]
- SQL[SELECT DISTINCT(devices_attribs.device_id) FROM devices_attribs WHERE devices_attribs.device_id=? AND (devices_attribs.attrib_type = "override_sysContact_bool" && devices_attribs.attrib_value = 1 ) LIMIT 1 [170] 0.21ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.status = 1) LIMIT 1 [170] 0.6ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^tmii") LIMIT 1 [170] 0.59ms]
- SQL[SELECT DISTINCT(devices.device_id) FROM devices WHERE devices.device_id=? AND (devices.hostname REGEXP "^msdrop" || devices.hostname REGEXP "^d.s-cache" || devices.hostname REGEXP "^syslog" || devices.hostname REGEXP "^unix-" ) LIMIT 1 [170] 0.32ms]
- SQL[SELECT `device_group_id` FROM `device_group_device` WHERE `device_id`=? [170] 0.47ms]
- Groups Added:
- Groups Removed:
- ### End Device Groups ###
- RRD[update /data/librenms/rrd/tmii01.mssm.edu/ping-perf.rrd N:0.26]
- RRD[update /data/librenms/rrd/tmii01.mssm.edu/poller-perf.rrd N:1.283]
- SQL[UPDATE `devices` set `uptime`=?,`last_ping`=NOW(),`last_ping_timetaken`=? WHERE `device_id` = ? [16327778,"0.26",170] 4.2ms]
- Updating tmii01.mssm.edu
- Polled in 1.283 seconds
- #### Start Alerts ####
- SQL[select * from `devices` where `devices`.`device_id` = ? limit 1 [170] 0.6ms]
- SQL[select `device_groups`.*, `device_group_device`.`device_id` as `pivot_device_id`, `device_group_device`.`device_group_id` as `pivot_device_group_id` from `device_groups` inner join `device_group_device` on `device_groups`.`id` = `device_group_device`.`device_group_id` where `device_group_device`.`device_id` = ? [170] 0.29ms]
- SQL[select exists(select * from `alert_schedule` inner join `alert_schedulables` on `alert_schedule`.`schedule_id` = `alert_schedulables`.`schedule_id` where ((`recurring` = ? and `start` <= NOW() and `end` >= NOW()) or (`recurring` = ? and (`start_recurring_dt` <= date_format(NOW(), '--%d') and (`end_recurring_dt` >= date_format(NOW(), '--%d') or `end_recurring_dt` is null or `end_recurring_dt` = ? or `end_recurring_dt` = ?)) and `start_recurring_hr` <= date_format(NOW(), '%H:%i:%s') and `end_recurring_hr` >= date_format(NOW(), '%H:%i:%s') and (`recurring_day` like CONCAT('%', date_format(NOW(), ''), '%') or `recurring_day` is null or `recurring_day` = ?))) and ((`alert_schedulable_type` = ? and `alert_schedulable_id` = ?) or (`alert_schedulable_type` = ? and `alert_schedulable_id` in (?, ?)))) as `exists` [0,1,"0000-00-00","","","device",170,"device_group",1,23] 1.27ms]
- SQL[SELECT DISTINCT a.* FROM alert_rules a
- LEFT JOIN alert_device_map d ON a.id=d.rule_id
- LEFT JOIN alert_group_map g ON a.id=g.rule_id
- LEFT JOIN device_group_device dg ON g.group_id=dg.device_group_id
- WHERE a.disabled = 0 AND ((d.device_id IS NULL AND g.group_id IS NULL) OR d.device_id=? OR dg.device_id=?) [170,170] 0.34ms]
- Rule #1 (Devices up/down):
- SQL[SELECT * FROM devices WHERE (devices.device_id = ?) AND (devices.status = 0 && (devices.disabled = 0 && devices.ignore = 0)) = 1 [170] 0.52ms]
- SQL[SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [1,170] 0.19ms]
- Status: NOCHG
- Rule #2 (Device rebooted):
- SQL[SELECT * FROM devices WHERE (devices.device_id = ?) AND devices.uptime < 300 AND (devices.disabled = 0 && devices.ignore = 0) = 1 [170] 0.47ms]
- SQL[SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [2,170] 0.18ms]
- Status: NOCHG
- Rule #5 (Port status up/down):
- SQL[SELECT * FROM devices,ports WHERE (devices.device_id = ? AND devices.device_id = ports.device_id) AND (ports.ifOperStatus = "down" && ports.ifAdminStatus != "down" && (ports.deleted = 0 && ports.ignore = 0 && ports.disabled = 0)) = 1 [170] 1.28ms]
- SQL[SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [5,170] 0.19ms]
- Status: NOCHG
- Rule #9 (Service up/down):
- SQL[SELECT * FROM devices,services WHERE (devices.device_id = ? AND devices.device_id = services.device_id) AND services.service_status != 0 AND (devices.status = 1 && (devices.disabled = 0 && devices.ignore = 0)) = 1 AND (DAYOFWEEK(NOW()) BETWEEN 2 AND 6) = 1 AND (HOUR(NOW()) BETWEEN 8 AND 18) = 1 [170] 0.7ms]
- SQL[SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [9,170] 0.22ms]
- Status: NOCHG
- Rule #23 (Weekday Regular Disk Space Critical):
- SQL[SELECT * FROM devices,storage WHERE (devices.device_id = ? AND devices.device_id = storage.device_id) AND storage.storage_perc > 95 AND devices.type = "server" AND storage.storage_descr NOT LIKE '/run%' AND storage.storage_descr != "/dev/shm" AND (DAYOFWEEK(NOW()) BETWEEN 2 AND 6) = 1 AND (HOUR(NOW()) BETWEEN 8 AND 18) = 1 AND storage.storage_descr NOT LIKE 'hroot%' AND storage.storage_descr NOT LIKE '/sys%' AND storage.storage_size < 1000000000000 [170] 1.32ms]
- SQL[SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [23,170] 0.17ms]
- Status: NOCHG
- Rule #39 (Weekday regular disk space warning):
- SQL[SELECT * FROM devices,storage WHERE (devices.device_id = ? AND devices.device_id = storage.device_id) AND storage.storage_perc > 90 AND storage.storage_perc <= 95 AND storage.storage_descr != "/dev/shm" AND storage.storage_descr NOT LIKE 'hroot%' AND (DAYOFWEEK(NOW()) BETWEEN 2 AND 6) = 1 AND (HOUR(NOW()) BETWEEN 8 AND 18) = 1 AND storage.storage_descr NOT LIKE '/run%' AND storage.storage_descr NOT LIKE '/sys%' AND storage.storage_size < 1000000000000 [170] 0.58ms]
- SQL[SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [39,170] 0.16ms]
- Status: NOCHG
- Rule #40 (weekday large disk space):
- SQL[SELECT * FROM devices,storage WHERE (devices.device_id = ? AND devices.device_id = storage.device_id) AND storage.storage_perc > 98 AND storage.storage_descr != "/dev/shm" AND storage.storage_descr NOT LIKE 'hroot%' AND storage.storage_descr NOT LIKE '/run%' AND storage.storage_descr NOT LIKE '/sys%' AND storage.storage_size >= 1000000000000 AND (DAYOFWEEK(NOW()) BETWEEN 2 AND 6) = 1 AND (HOUR(NOW()) BETWEEN 8 AND 18) = 1 AND storage.storage_free > 0 [170] 0.52ms]
- SQL[SELECT state FROM alerts WHERE rule_id = ? AND device_id = ? ORDER BY id DESC LIMIT 1 [40,170] 0.15ms]
- Status: NOCHG
- #### End Alerts ####
- SQL[INSERT IGNORE INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`) VALUES (:type,:doing,:start,:duration,:devices,:poller) {"type":"poll","doing":"170","start":1548768843.461784,"duration":"1.484","devices":1,"poller":"unix-mon02"} 0.85ms]
- ./poller.php 170 2019-01-29 08:34:04 - 1 devices polled in 1.484 secs
- SNMP [4/0.19s]: Get[3/0.14s] Getnext[0/0.00s] Walk[1/0.06s]
- MySQL [22/0.07s]: Cell[26/0.01s] Row[-26/-0.01s] Rows[11/0.01s] Column[1/0.00s] Update[8/0.06s] Insert[2/0.00s] Delete[0/0.00s]
- RRD [12/0.00s]: Update[12/0.00s] Create [0/0.00s] Other[0/0.00s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement