Ran the discovery, part of the output:
o Discovering ports .
SQL[INSERT INTO `ports` (`device_id`,`ifIndex`,`ifAlias`,`ifDescr`,`ifName`,`ifType`) VALUES ('5','2','','eth0','eth0','ethernetCsmacd')]
SQL RUNTIME[0.00110412s]
ERROR[Error in query: (Duplicate entry '0' for key 'PRIMARY') 1062]
SQL[SELECT * FROM `ports` WHERE `device_id` = '5' AND `ifIndex` = '2']
SQL RUNTIME[0.00229788s]
eth0(2)[]
SQL[INSERT INTO `ports` (`device_id`,`ifIndex`,`ifAlias`,`ifDescr`,`ifName`,`ifType`) VALUES ('5','3','','sit0','sit0','tunnel')]
SQL RUNTIME[0.00102282s]
ERROR[Error in query: (Duplicate entry '0' for key 'PRIMARY') 1062]
A database issue?
Regards,
Edwin
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, January 10, 2018 10:48 PM
To: observium@observium.org
Subject: Re: [Observium] Missing ethernet port when monitoring Synology NAS
./discovery.php -h <hostname> -m ports -d
adam.
Adam Armstrong
Managing Director & Lead Architect
Observium Limited
On 2018-01-10 16:06:16, Edwin Dijkstra <e.r.dijkstra@ziggo.nl> wrote:
That’s what I thought;)
When I scan the device using a simple SNMP tester, 3 IF’s are found:
Found standard interfaces:
1:lo: (001) lo Traffic,Connected,10 MBit/s,Software Loopback,lo, 64 Bit
2:eth0: (002) eth0 Traffic,Connected,1 GBit/s,Ethernet,eth0, 64 Bit
3:sit0: (003) sit0 Traffic,Not Connected,,Tunnel,sit0, 64 Bit
Testing standard interfaces...
1/10/2018 4:41:48 PM (861 ms) : SNMP Datatype: ASN_APP_COUNTER64
1/10/2018 4:41:48 PM (865 ms) : SNMP Datatype: ASN_APP_COUNTER64
Test 1:lo (1.3.6.1.2.1.31.1.1.1.6.1,1.3.6.1.2.1.31.1.1.1.10.1): in=1891611 out=1891611
1/10/2018 4:41:48 PM (871 ms) : SNMP Datatype: ASN_APP_COUNTER64
1/10/2018 4:41:48 PM (877 ms) : SNMP Datatype: ASN_APP_COUNTER64
Test 2:eth0 (1.3.6.1.2.1.31.1.1.1.6.2,1.3.6.1.2.1.31.1.1.1.10.2): in=92965523517 out=2582822450
1/10/2018 4:41:48 PM (884 ms) : SNMP Datatype: ASN_APP_COUNTER64
1/10/2018 4:41:48 PM (887 ms) : SNMP Datatype: ASN_APP_COUNTER64
Test 3:sit0 (1.3.6.1.2.1.31.1.1.1.6.3,1.3.6.1.2.1.31.1.1.1.10.3): in=0 out=0
In Observium I only see the lo IF:
Regards,
Regards,
Edwin
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, January 10, 2018 4:26 PM
To: 'Observium'
Cc: 'Observium'
Subject: Re: [Observium] Missing ethernet port when monitoring Synology NAS
Monitoring interfaces is about as industry standard as it gets. If we're not picking up a port, it's because your device is bizarrely not exposing it.
Have you tried walking the ifTable and seeing if it's present?
Adam.
Sent from BlueMail
On 9 Jan 2018, at 16:42, Edwin Dijkstra <e.r.dijkstra@ziggo.nl> wrote:
Hi,
I’m pretty new on ObserviumJ and could use some help: Added my Synology NAS. Want to monitor also the Network interface, but the only port I see is the loopback IF…
Thanks in advance.
Regards,
Edwin
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium