Advertisement
rmckinnon2016

Untitled

May 4th, 2016
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1. ubuntu@ubuntu-librenms:/opt/librenms$ ./discovery.php -h 10.37.28.168 -d -m os
  2. LibreNMS 2015.master Discovery
  3. Version info:
  4. Commit SHA: 14411c520bb50c11ea488103473613835bc2e51b
  5. DB Schema: 114
  6. PHP: 5.5.9-1ubuntu4.16
  7. MySQL: 5.5.49-0ubuntu0.14.04.1
  8. RRDTool: 1.4.7
  9. SNMP: NET-SNMP version: 5.7.2
  10.  
  11. DEBUG!
  12.  
  13. SQL[SELECT version FROM `dbSchema` ORDER BY version DESC LIMIT 1]
  14. SQL[SELECT revision FROM `dbSchema`] DB Schema already up to date.
  15.  
  16. SQL[SELECT * FROM `devices` WHERE status = 1 AND disabled = 0 AND `hostname` LIKE '10.37.28.168' ORDER BY device_id DESC]
  17. SQL[SELECT * FROM devices_attribs WHERE `device_id` = '15'] 10.37.28.168 15 generic /usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0BUFFALO TeraStation TS5400R Ver.3.00 (2015/11/20 18:27:09)
  18.  
  19. /usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0.*.4.1.8*
  20.  
  21. | BUFFALO TeraStation TS5400R Ver.3.00 (2015/11/20 18:27:09) | .1.3.6.1.4.1.8072.3.2.10 | /usr/bin/snmpget -v2c -c COMMUNITY -Osqnv -M /opt/librenms/mibs udp:HOSTNAME:161 ENTITY-MIB::entPhysicalMfgName.1No Such Object available on this agent at this OID
  22.  
  23. /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.39165.1.6.0No Such Object available on this agent at this OID
  24.  
  25. /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0No Such Object available on this agent at this OID
  26.  
  27. /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 SML-MIB::product-Name.0No Such Object available on this agent at this OID
  28.  
  29. /usr/bin/snmpget -v2c -c COMMUNITY -Oqvn -M /opt/librenms/mibs udp:HOSTNAME:161 ENTITY-MIB::entPhysicalDescr.1No Such Object available on this agent at this OID
  30.  
  31.  
  32. OS: /usr/bin/snmpget -v2c -c COMMUNITY -Ovq -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysDescr.0BUFFALO TeraStation TS5400R Ver.3.00 (2015/11/20 18:27:09)
  33.  
  34. /usr/bin/snmpget -v2c -c COMMUNITY -Ovqn -M /opt/librenms/mibs udp:HOSTNAME:161 SNMPv2-MIB::sysObjectID.0.*.4.1.8*
  35.  
  36. | BUFFALO TeraStation TS5400R Ver.3.00 (2015/11/20 18:27:09) | .1.3.6.1.4.1.8072.3.2.10 | /usr/bin/snmpget -v2c -c COMMUNITY -Osqnv -M /opt/librenms/mibs udp:HOSTNAME:161 ENTITY-MIB::entPhysicalMfgName.1No Such Object available on this agent at this OID
  37.  
  38. /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 .1.3.6.1.4.1.39165.1.6.0No Such Object available on this agent at this OID
  39.  
  40. /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0No Such Object available on this agent at this OID
  41.  
  42. /usr/bin/snmpget -v2c -c COMMUNITY -Oqv -M /opt/librenms/mibs udp:HOSTNAME:161 SML-MIB::product-Name.0No Such Object available on this agent at this OID
  43.  
  44. /usr/bin/snmpget -v2c -c COMMUNITY -Oqvn -M /opt/librenms/mibs udp:HOSTNAME:161 ENTITY-MIB::entPhysicalDescr.1No Such Object available on this agent at this OID
  45.  
  46.  
  47. SQL[SELECT attrib_value FROM devices_attribs WHERE `device_id` = '15' AND `attrib_type` = 'poll_mib' ]
  48. SQL[UPDATE `devices` set `last_discovered` =NOW(),`type` ='storage',`last_discovered_timetaken` ='0.670' WHERE `device_id` = '15'] Discovered in 0.670 seconds
  49.  
  50.  
  51. SQL[INSERT INTO `perf_times` (`type`,`doing`,`start`,`duration`,`devices`) VALUES ('discover','10.37.28.168','1462377598.789','0.864','1')] ./discovery.php 10.37.28.168 2016-05-04 11:59:59 - 1 devices discovered in 0.864 secs
  52. MySQL: Cell[1/0s] Row[4/0s] Rows[1/0s] Column[0/0s] Update[1/0.02s] Insert[1/0.02s] Delete[0/0s]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement