Details
Description
Hi,
Would it be possible to get a lldp discovered device like below automatically added in some way?
SQL[SELECT `device_id` FROM `devices` WHERE `sysName` = '<FQDN>' AND `disabled` = '0']
ROWS[0]
SQL RUNTIME[0.00030303s]
AUTODISCOVERY DEVEL: hostname & ip DB found
> $db_entry /opt/observium/includes/discovery/functions.inc.php:636
array(
[autodiscovery_id] => string(4) "2967"
[poller_id] => string(1) "0"
[device_id] => string(3) "235"
[remote_hostname] => string(31) "<FQDN>"
[remote_ip] => string(7) "0.0.0.0"
[remote_device_id] => null
[protocol] => string(4) "LLDP"
[added] => string(19) "2022-05-16 16:35:51"
[last_checked] => string(19) "2022-05-19 14:27:47"
[last_reason] => string(12) "no_ip_permit"
[last_checked_unixtime] => string(10) "1652963267"
)
Remote device checked 26s ago (less than 1 day)
o Trying to discover host <****> (0.0.0.0) through LLDP (xdp)
<FQDN> passed with invalid IP (0.0.0.0), not permitted for autodiscovery.
SQL[UPDATE `autodiscovery` set `last_checked` =CURRENT_TIMESTAMP() WHERE `autodiscovery_id` = '2967']
ROWS[1]
Real FQDN replaced with <FQDN>.
It seems like we can't get passed the fact that discovery use remote_address or remote_ip (0.0.0.0), even thou remote_hostname value <FQDN> is resolvable.
We can add device manually using <FQDN>.
Is there any trick available to fix this?
Best Regards
Emil Vedin
Attachments
Activity
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Issue Type | Original: Help [ 10200 ] | New: Improvement [ 4 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Status | Original: Pending Response [ 10000 ] | New: In Progress [ 3 ] |
Status | Original: In Review [ 10101 ] | New: Pending Response [ 10000 ] |
Description |
Original:
Hi,
Would it be possible to get a lldp discovered device like below automatically added in some way? SQL[SELECT `device_id` FROM `devices` WHERE `sysName` = '<FQDN>' AND `disabled` = '0'] ROWS[0] SQL RUNTIME[0.00030303s] AUTODISCOVERY DEVEL: hostname & ip DB found > $db_entry /opt/observium/includes/discovery/functions.inc.php:636 array( [autodiscovery_id] => string(4) "2967" [poller_id] => string(1) "0" [device_id] => string(3) "235" [remote_hostname] => string(31) "<FQDN>" [remote_ip] => string(7) "0.0.0.0" [remote_device_id] => null [protocol] => string(4) "LLDP" [added] => string(19) "2022-05-16 16:35:51" [last_checked] => string(19) "2022-05-19 14:27:47" [last_reason] => string(12) "no_ip_permit" [last_checked_unixtime] => string(10) "1652963267" ) Remote device checked 26s ago (less than 1 day) o Trying to discover host esx010.pcl.seki.gic.ericsson.se (0.0.0.0) through LLDP (xdp) <FQDN> passed with invalid IP (0.0.0.0), not permitted for autodiscovery. SQL[UPDATE `autodiscovery` set `last_checked` =CURRENT_TIMESTAMP() WHERE `autodiscovery_id` = '2967'] ROWS[1] Real FQDN replaced with <FQDN>. It seems like we can't get passed the fact that discovery use remote_address or remote_ip (0.0.0.0), even thou remote_hostname value <FQDN> is resolvable. We can add device manually using <FQDN>. Is there any trick available to fix this? Best Regards Emil Vedin |
New:
Hi,
Would it be possible to get a lldp discovered device like below automatically added in some way? SQL[SELECT `device_id` FROM `devices` WHERE `sysName` = '<FQDN>' AND `disabled` = '0'] ROWS[0] SQL RUNTIME[0.00030303s] AUTODISCOVERY DEVEL: hostname & ip DB found > $db_entry /opt/observium/includes/discovery/functions.inc.php:636 array( [autodiscovery_id] => string(4) "2967" [poller_id] => string(1) "0" [device_id] => string(3) "235" [remote_hostname] => string(31) "<FQDN>" [remote_ip] => string(7) "0.0.0.0" [remote_device_id] => null [protocol] => string(4) "LLDP" [added] => string(19) "2022-05-16 16:35:51" [last_checked] => string(19) "2022-05-19 14:27:47" [last_reason] => string(12) "no_ip_permit" [last_checked_unixtime] => string(10) "1652963267" ) Remote device checked 26s ago (less than 1 day) o Trying to discover host <****> (0.0.0.0) through LLDP (xdp) <FQDN> passed with invalid IP (0.0.0.0), not permitted for autodiscovery. SQL[UPDATE `autodiscovery` set `last_checked` =CURRENT_TIMESTAMP() WHERE `autodiscovery_id` = '2967'] ROWS[1] Real FQDN replaced with <FQDN>. It seems like we can't get passed the fact that discovery use remote_address or remote_ip (0.0.0.0), even thou remote_hostname value <FQDN> is resolvable. We can add device manually using <FQDN>. Is there any trick available to fix this? Best Regards Emil Vedin |
Status | Original: Pending Response [ 10000 ] | New: In Review [ 10101 ] |
Status | Original: Open [ 1 ] | New: Pending Response [ 10000 ] |