From Chunky Pheasant, 1 Year ago, written in Plain Text.
Embed
  1. user@monitor01:/opt/librenms$ ./discovery.php -h 146 -m storage -v
  2. LibreNMS Discovery
  3. ===================================
  4. Version info:
  5. Commit SHA: 712201e6912b92a8190ee355a722a8f5a360ad16
  6. Commit Date: 1513134804
  7. DB Schema: 223
  8. PHP: 7.0.22-0ubuntu0.16.04.1
  9. MySQL: 10.0.31-MariaDB-0ubuntu0.16.04.2
  10. RRDTool: 1.5.5
  11. SNMP: NET-SNMP 5.7.3
  12. ==================================DEBUG!
  13. SQL[SELECT * FROM `devices` WHERE disabled = 0 AND snmp_disable = 0 AND `device_id` = '146' ORDER BY device_id DESC]
  14. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '146']
  15. storage03.example.com 146 freebsd SQL[INSERT INTO `device_perf` (`xmt`,`rcv`,`loss`,`min`,`max`,`avg`,`device_id`,`timestamp`)  VALUES ('3','3','0','0.12','0.14','0.12','146',NOW())]
  16. SNMP Check response code: 0
  17. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '146' AND `attrib_type` = 'poll_mib' ]
  18.  
  19. Modules status: Global+ OS+ Device  
  20. #### Load disco module storage ####
  21. SNMP[/usr/bin/snmpbulkwalk -v2c -c 'public' -OQUs -m EQLVOLUME-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/equallogic udp:storage03.example.com:161 EqliscsiVolumeEntry]
  22.  
  23. SNMP[/usr/bin/snmpbulkwalk -v2c -c 'public' -OQUsetX -m CPQHOST-MIB -M /opt/librenms/mibs udp:storage03.example.com:161 cpqHoFileSysEntry]
  24. MIB search path: /opt/librenms/mibs
  25. Cannot find module (CPQHOST-MIB): At line 1 in (none)
  26. cpqHoFileSysEntry: Unknown Object Identifier (Sub-id not found: (top) -> cpqHoFileSysEntry)
  27.  
  28. HPE ILO4 SNMP[/usr/bin/snmpbulkwalk -v2c -c 'public' -OQUs -m HOST-RESOURCES-MIB:HOST-RESOURCES-TYPES:NetWare-Host-Ext-MIB -M /opt/librenms/mibs udp:storage03.example.com:161 hrStorageEntry]
  29. Timeout: No Response from udp:storage03.example.com:161
  30.  
  31. SNMP[/usr/bin/snmpbulkwalk -v2c -c 'public' -OQUs -m NETAPP-MIB -M /opt/librenms/mibs udp:storage03.example.com:161 dfEntry]
  32. Timeout: No Response from udp:storage03.example.com:161
  33.  
  34. SNMP[/usr/bin/snmpbulkwalk -v2c -c 'public' -OQUs -m UCD-SNMP-MIB -M /opt/librenms/mibs udp:storage03.example.com:161 dskTable]
  35. Timeout: No Response from udp:storage03.example.com:161
  36.  
  37. SQL[SELECT `storage_descr` FROM `storage` WHERE `device_id`  = '146' AND `storage_type` != 'dsk']
  38. SQL[SELECT * FROM `storage` WHERE `device_id`  = '146']
  39.  
  40.  
  41. >> Runtime for discovery module 'storage': 29.5600 seconds with 8080 bytes
  42. >> SNMP: [5/29.56s] MySQL: [10/1.91s] RRD: [0/0.00s]
  43. #### Unload disco module storage ####
  44.  
  45. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '146' AND `attrib_type` = 'poll_mib' ]
  46. SQL[UPDATE `devices` set `last_discovered` =NOW(),`last_discovered_timetaken` ='32.5' WHERE `device_id` = '146']
  47. Discovered in 32.5 seconds
  48.  
  49. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`,`poller`)  VALUES ('discover','146','1513184441.8037','36.39','1','monitor01')]
  50. ./discovery.php 146 2017-12-13 11:01:21 - 1 devices discovered in 36.39 secs
  51. SNMP [5/29.56s]: Get[1/0.02s] Getnext[0/0.00s] Walk[4/29.55s]
  52. MySQL [13/8.73s]: Cell[2/0.00s] Row[2/0.00s] Rows[5/0.00s] Column[1/0.00s] Update[1/3.83s] Insert[2/4.90s] Delete[0/0.00s]
  53. RRD [0/0.00s]: Update[0/0.00s] Create [0/0.00s] Other[0/0.00s]
  54.  
  55.  
  56.  
  57.  
  58.