Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@librenms]# ./snmp-scan.php -i -l -d -r 192.168.10.10/32
- * = Known Device; . = Unpingable Device; + = Added Device; - = Failed To Add Device; | = Excluded by config.php
- Range: 192.168.10.10/32
- RFC3021 network, hosts 192.168.10.10 and 192.168.10.10
- Scanning: 192.168.10.10
- SQL[SELECT `ipv4_address_id` FROM `ipv4_addresses` WHERE `ipv4_address` = '192.168.10.10']
- SQL[SELECT COUNT(*) FROM `devices` WHERE `hostname` = 'testhostname']
- SQL[SELECT `name` FROM `port_association_mode` ORDER BY pom_id]
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- Timeout: No Response from udp:testhostname:161.
- SNMP Check response code: 1
- 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]
- Timeout: No Response from udp:testhostname:161.
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- snmpget: No securityName specified
- SNMP Check response code: 1
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- 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]
- snmpget: No securityName specified (Sub-id not found: (top) -> sysObjectID)
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- snmpget: No securityName specified
- SNMP Check response code: 1
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- 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]
- snmpget: No securityName specified (Sub-id not found: (top) -> sysObjectID)
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- snmpget: No securityName specified
- SNMP Check response code: 1
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- 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]
- snmpget: No securityName specified (Sub-id not found: (top) -> sysObjectID)
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- Timeout: No Response from udp:testhostname:161.
- SNMP Check response code: 1
- 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]
- Timeout: No Response from udp:testhostname:161.
- Could not connect, please check the snmp details and snmp reachability over udp
- SNMP v2c: No reply with community public
- SNMP v3: No reply with credentials testuser/AuthPriv
- SNMP v3: No reply with credentials testuser/AuthPriv
- SNMP v3: No reply with credentials testuser/AuthPriv
- SNMP v1: No reply with community public
- SQL[SELECT COUNT(*) FROM `devices` WHERE `hostname` = 'testhostname']
- SQL[SELECT `name` FROM `port_association_mode` ORDER BY pom_id]
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SNMP Check response code: 1
- 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]
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SNMP Check response code: 1
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- 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]
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SNMP Check response code: 1
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- 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]
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SNMP Check response code: 1
- DEBUG: v3 : Unsupported SNMPv3 AuthLevel (wtf have you done ?)
- 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]
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SQL[SELECT `pom_id` FROM `port_association_mode` WHERE name = 'ifIndex']
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- SNMP Check response code: 1
- 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]
- snmpget: Unknown host (tcp:testhostname:161) (Connection refused)
- Could not connect, please check the snmp details and snmp reachability over tcp
- SNMP v2c: No reply with community public
- SNMP v3: No reply with credentials testuser/AuthPriv
- SNMP v3: No reply with credentials testuser/AuthPriv
- SNMP v3: No reply with credentials testuser/AuthPriv
- SNMP v1: No reply with community public
- Failed to Add Device 192.168.10.10
- Scanned 1 IPs, Already known 0 Devices, Added 0 Devices, Failed to add 1 Devices.
- Runtime: 5.9907898902893 secs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement