./discovery.php -h mx204.mydomain.eu -m os -d LibreNMS Discovery SQL[select `migration` from `migrations` order by `id` desc limit 1 [] 0.63ms] SQL[select count(*) as aggregate from `migrations` limit 1 [] 0.42ms] SQL[SELECT version() [] 0.38ms] =================================== Version info: Commit SHA: cca48492276fc010bef30398be28f4a07bf78f7c Commit Date: 1627291058 DB Schema: 2021_25_01_0127_create_isis_adjacencies_table (211) PHP: 7.3.29-1+0~20210701.86+debian10~1.gbp7ad6eb MySQL: 10.6.3-MariaDB-1:10.6.3+maria~buster RRDTool: 1.7.1 SNMP: NET-SNMP 5.7.3 ==================================DEBUG! Updating os_def.cache Override discovery modules: os SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `hostname` LIKE 'mx204.mydomain.eu' ORDER BY device_id DESC [] 1.1ms] SQL[select * from `devices` where `device_id` = ? limit 1 [1] 0.64ms] SQL[select * from `devices_attribs` where `devices_attribs`.`device_id` = ? and `devices_attribs`.`device_id` is not null [1] 0.41ms] mx204.mydomain.eu 1 dcn-software SQL[select `hostname`, `overwrite_ip` from `devices` where `hostname` = ? limit 1 ["mx204.mydomain.eu"] 0.37ms] [FPING] '/usr/bin/fping' '-e' '-q' '-c' '3' '-p' '500' '-t' '500' 'mx204.mydomain.eu' response: {"xmt":3,"rcv":3,"loss":0,"min":0.63,"max":66.8,"avg":22.7,"dup":0,"exitcode":0} 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` = ? [1] 0.62ms] SQL[select * from `locations` where `locations`.`id` = ? limit 1 [108] 0.36ms] SQL[select exists(select * from `alert_schedule` where (`start` <= ? and `end` >= ? and (`recurring` = ? or (`recurring` = ? and ((time(`start`) < time xss=removed> ?) or (time(`start`) > time(`end`) and (time(`end`) <= ? or time(`start`) > ?))) and (`recurring_day` like ? or `recurring_day` is null)))) and (exists (select * from `devices` inner join `alert_schedulables` on `devices`.`device_id` = `alert_schedulables`.`alert_schedulable_id` where `alert_schedule`.`schedule_id` = `alert_schedulables`.`schedule_id` and `alert_schedulables`.`alert_schedulable_type` = ? and `alert_schedulables`.`alert_schedulable_id` = ?) or exists (select * from `device_groups` inner join `alert_schedulables` on `device_groups`.`id` = `alert_schedulables`.`alert_schedulable_id` where `alert_schedule`.`schedule_id` = `alert_schedulables`.`schedule_id` and `alert_schedulables`.`alert_schedulable_type` = ? and `alert_schedulables`.`alert_schedulable_id` in (?)) or exists (select * from `locations` inner join `alert_schedulables` on `locations`.`id` = `alert_schedulables`.`alert_schedulable_id` where `alert_schedule`.`schedule_id` = `alert_schedulables`.`schedule_id` and `alert_schedulables`.`alert_schedulable_type` = ? and `alert_schedulables`.`alert_schedulable_id` = ?))) as `exists` ["2021-07-26T11:16:22.194217Z","2021-07-26T11:16:22.194217Z",0,1,"11:16:22","11:16:22","11:16:22","11:16:22","%","device",1,"device_group",1,"location",108] 1.17ms] 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.63,"max":66.8,"avg":22.7,"device_id":1,"debug":"[]"} 1.34ms] SQL[UPDATE `devices` set `last_ping`=?,`last_ping_timetaken`=? WHERE device_id=? ["2021-07-26 13:16:22",22.7,1] 1ms] SNMP Check response code: 0 Modules status: Global+ OS Device #### Load disco module core #### SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQn' '-m' 'SNMPv2-MIB' '-M' '/srv/librenms/mibs:/srv/librenms/mibs/dcn' 'udp:HOSTNAME:161' 'sysName.0' 'sysObjectID.0' 'sysDescr.0'] .*.*.0 = mx204 .*.*.0 = .*.4.1.26*.2.144 .*.*.0 = mx204 | mx204 | .1.3.6.1.4.1.2636.1.1.1.2.144 | Attempting to initialize OS: dcn-software OS initialized as Generic OS: Digital China Networks (dcn-software) >> Runtime for discovery module 'core': 0.0200 seconds with 142912 bytes >> SNMP: [2/0.05s] MySQL: [3/0.00s] RRD: [0/0.00s] #### Unload disco module core #### Modules status: Global+ OS Device #### Load disco module os #### SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-Ovq' '-m' 'SNMPv2-MIB' '-M' '/srv/librenms/mibs:/srv/librenms/mibs/dcn' 'udp:HOSTNAME:161' 'sysContact.0'] S-Net NOC noc@s-net.pl SNMP['/usr/bin/snmpget' '-v2c' '-c' 'COMMUNITY' '-OUQ' '-M' '/srv/librenms/mibs:/srv/librenms/mibs/dcn' 'udp:HOSTNAME:161' 'DCN-MIB::ntpEntSoftwareName.0' 'DCN-MIB::sysHardwareVersion.0' 'DCN-MIB::ntpEntSoftwareVersion.0' 'DCN-MIB::sysSoftwareVersion.0' 'ENTITY-MIB::entPhysicalSerialNum.1'] DCN-MIB::ntpEntSoftwareName.0 = No Such Object available on this agent at this OID DCN-MIB::sysHardwareVersion.0 = No Such Object available on this agent at this OID DCN-MIB::ntpEntSoftwareVersion.0 = No Such Object available on this agent at this OID DCN-MIB::sysSoftwareVersion.0 = No Such Object available on this agent at this OID ENTITY-MIB::entPhysicalSerialNum.1 = No Such Object available on this agent at this OID Yaml OS data: Location: DC Hardware: OS Version: OS Features: Serial: >> Runtime for discovery module 'os': 0.0700 seconds with 568688 bytes >> SNMP: [2/0.06s] MySQL: [0/0.00s] RRD: [0/0.00s] #### Unload disco module os #### SQL[UPDATE `devices` set `last_discovered`=NOW(),`last_discovered_timetaken`=? WHERE `device_id` = ? [1.18,1] 1.26ms] Discovered in 1.18 seconds ./discovery.php mx204.mydomain.eu 2021-07-26 13:16:22 - 1 devices discovered in 1.585 secs SNMP [4/0.11s]: Get[4/0.11s] Getnext[0/0.00s] Walk[0/0.00s] MySQL [4/0.01s]: Cell[1/0.00s] Row[-1/-0.00s] Rows[1/0.00s] Column[0/0.00s] Update[2/0.00s] Insert[1/0.00s] Delete[0/0.00s] RRD [0/0.00s]: