Advertisement
Guest User

libre_error

a guest
Mar 27th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.84 KB | None | 0 0
  1. [root@librenms]# ./snmp-scan.php -i -l -d -r 192.168.10.10/32
  2.   * = Known Device;   . = Unpingable Device;   + = Added Device;   - = Failed To Add Device;  | = Excluded by config.php
  3. Range: 192.168.10.10/32
  4. RFC3021 network, hosts 192.168.10.10 and 192.168.10.10
  5.  
  6. Scanning: 192.168.10.10
  7. SQL[SELECT `ipv4_address_id` FROM `ipv4_addresses` WHERE `ipv4_address` = '192.168.10.10']
  8. SQL[SELECT COUNT(*) FROM `devices` WHERE `hostname` = 'testhostname']
  9. SQL[SELECT `name` FROM `port_association_mode` ORDER BY pom_id]
  10. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  11. Timeout: No Response from udp:testhostname:161.
  12. SNMP Check response code: 1
  13. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 udp:HOSTNAME:161 sysObjectID.0]
  14. Timeout: No Response from udp:testhostname:161.
  15.  
  16. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  17. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  18. snmpget: No securityName specified
  19. SNMP Check response code: 1
  20. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  21. SNMP[/usr/bin/snmpget -v3 -n '' -l 'AuthPriv' -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 udp:HOSTNAME:161 sysObjectID.0]
  22. snmpget: No securityName specified (Sub-id not found: (top) -> sysObjectID)
  23.  
  24. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  25. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  26. snmpget: No securityName specified
  27. SNMP Check response code: 1
  28. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  29. SNMP[/usr/bin/snmpget -v3 -n '' -l 'AuthPriv' -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 udp:HOSTNAME:161 sysObjectID.0]
  30. snmpget: No securityName specified (Sub-id not found: (top) -> sysObjectID)
  31.  
  32. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  33. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  34. snmpget: No securityName specified
  35. SNMP Check response code: 1
  36. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  37. SNMP[/usr/bin/snmpget -v3 -n '' -l 'AuthPriv' -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 udp:HOSTNAME:161 sysObjectID.0]
  38. snmpget: No securityName specified (Sub-id not found: (top) -> sysObjectID)
  39.  
  40. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  41. Timeout: No Response from udp:testhostname:161.
  42. SNMP Check response code: 1
  43. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 udp:HOSTNAME:161 sysObjectID.0]
  44. Timeout: No Response from udp:testhostname:161.
  45.  
  46. Could not connect, please check the snmp details and snmp reachability over udp
  47.   SNMP v2c: No reply with community public
  48.   SNMP v3: No reply with credentials testuser/AuthPriv
  49.   SNMP v3: No reply with credentials testuser/AuthPriv
  50.   SNMP v3: No reply with credentials testuser/AuthPriv
  51.   SNMP v1: No reply with community public
  52. SQL[SELECT COUNT(*) FROM `devices` WHERE `hostname` = 'testhostname']
  53. SQL[SELECT `name` FROM `port_association_mode` ORDER BY pom_id]
  54. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  55. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  56. SNMP Check response code: 1
  57. SNMP[/usr/bin/snmpget -v2c -c COMMUNITY -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 tcp:HOSTNAME:161 sysObjectID.0]
  58. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  59.  
  60. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  61. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  62. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  63. SNMP Check response code: 1
  64. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  65. SNMP[/usr/bin/snmpget -v3 -n '' -l 'AuthPriv' -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 tcp:HOSTNAME:161 sysObjectID.0]
  66. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  67.  
  68. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  69. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  70. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  71. SNMP Check response code: 1
  72. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  73. SNMP[/usr/bin/snmpget -v3 -n '' -l 'AuthPriv' -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 tcp:HOSTNAME:161 sysObjectID.0]
  74. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  75.  
  76. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  77. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  78. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  79. SNMP Check response code: 1
  80. DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
  81. SNMP[/usr/bin/snmpget -v3 -n '' -l 'AuthPriv' -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 tcp:HOSTNAME:161 sysObjectID.0]
  82. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  83.  
  84. SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
  85. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  86. SNMP Check response code: 1
  87. SNMP[/usr/bin/snmpget -v1 -c COMMUNITY -Oqv -m SNMPv2-MIB -M /opt/librenms/mibs:/opt/librenms/mibs/ -t 1 -r 0 tcp:HOSTNAME:161 sysObjectID.0]
  88. snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
  89.  
  90. Could not connect, please check the snmp details and snmp reachability over tcp
  91.   SNMP v2c: No reply with community public
  92.   SNMP v3: No reply with credentials testuser/AuthPriv
  93.   SNMP v3: No reply with credentials testuser/AuthPriv
  94.   SNMP v3: No reply with credentials testuser/AuthPriv
  95.   SNMP v1: No reply with community public
  96. Failed to Add Device 192.168.10.10
  97.  
  98.  
  99. Scanned 1 IPs, Already known 0 Devices, Added 0 Devices, Failed to add 1 Devices.
  100. Runtime: 5.9907898902893 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement