# Synology SNMP Network Monitoring with LibreNMS Docker

**URL:** <https://forums.jasonloong.com/t/synology-snmp-network-monitoring-with-librenms-docker/13>\
**Category:** Website Posts\
**Tags:** tutorials, technology\
**Created:** [February 24, 2020, 9:03am UTC](https://forums.jasonloong.com/t/synology-snmp-network-monitoring-with-librenms-docker/13 "2020-02-24T09:03:52Z")\
**Posts on this page:** 1\
**Showing post:** 41

<div class="post-metadata">

**Author:** ![jasonloong](https://forums.jasonloong.com/user_avatar/forums.jasonloong.com/jasonloong/32/8_2.png) [@jasonloong](https://forums.jasonloong.com/u/jasonloong)\
**Post date:** [July 19, 2020, 11:08pm UTC](https://forums.jasonloong.com/t/synology-snmp-network-monitoring-with-librenms-docker/13/41 "2020-07-19T23:08:24Z")

</div>

hi all, an update to recent test deployment of jarischaefer’s LibreNMS image,  
**its broken** on both **Synology and general Debian** installs

## Do NOT update to latest image

Do NOT update to latest image if you doing maintenance of your containers

Tested on:  
Syno 916+  
DSM 6.2.3-25426

| **Version** | [1.65.1 - Sat Jul 11 2020 03:56:16 GMT+0800](http://www.librenms.org/changelog.html) |
| --- | --- |
| **Database Schema** | 2020\_06\_23\_00522\_alter\_availability\_perc\_column (170) |
| **Web Server** | nginx/1.15.8 |
| **PHP** | 7.4.7 |
| **Python** | 3.6.9 |
| **MySQL** | 10.4.12-MariaDB-1:10.4.12+maria~bionic |
| [**Laravel**](https://laravel.com/) | 6.18.20 |
| [**RRDtool**](https://oss.oetiker.ch/rrdtool/) | 1.7.0 |

## Discovery works but never polls after

 ![Screenshot 2020-07-20 at 5.53.37 AM](https://forums.jasonloong.com/uploads/default/original/1X/248e0f818680fd6b704416197d72606b2a1bcc67.png)

## Test with Ubuntu VM

```auto
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

```

Thought I’d test this image in a VM to cancel out some Syno permission problems to make sure the image is working

### poller-wrapper.py error

 ![Screenshot 2020-07-20 at 6.34.43 AM](https://forums.jasonloong.com/uploads/default/original/1X/e8150a87b92d47c44d8bf38873229cb5d7cf2c21.png)

### Latest working version: 1.63

If anyone tested with the latest version and works, would appreciate if they could report with any work arounds/solutions 🙂

For new users deploying a fresh install, I’ve tested from latest, v1.65, v.1.64, with poller-wrappy.py errors, please use v1.63

```auto
Version 1.63 - Tue Apr 28 2020 11:52:42 GMT+0800
Database Schema 2020_04_19_010532_eventlog_sensor_reference_cleanup (164)
Web Server nginx/1.15.8
PHP 7.4.5
MySQL 10.5.4-MariaDB-1:10.5.4+maria~focal
RRDtool 1.7.0

```

Eg:  
`docker pull jarischaefer/docker-librenms:1.63`

Meanwhile I’ll go report to jarischaefer 😅

> <https://github.com/jarischaefer/docker-librenms/issues/118>
>
> Hi, I am author for https://jasonloong.com/2017/synology-snmp-network-monitoring…-with-librenms-docker/
> 
> been using your image from the beginning, great job and thank you very much!
> 
> Reporting in that the image doesn't work for latest (1.65.1), v1.64
> 
> Tested on Synology 916+ / DSM 6.2.3-25426 (v1.65.1)
> 
> First time discovery works but device is not polled thereafter
> 
> Running poller-wrapper.py gives the follow errors:
> \<img width="933" alt="Screenshot 2020-07-20 at 6 34 43 AM" src="https://user-images.githubusercontent.com/35384630/87887900-aa868a00-ca5b-11ea-9463-800644b088a7.png"\>
> 
> Tested on Ubuntu 18.04.4 VM (v1.65.1, v1.64)
> v1.65.1 - Same error as above
> v1.64 - missing pip3/python modules (sorry, I didn't take a screenshot, took a quick glance)
> v1.63 - works as expected
> 
> All the tested versions run the following docker with changes to the tag at the end, and clearing of all persistent databases/files, containers before a new container
> 
> Docker MariaDB
> \`\`\`
> docker run \\
> \-v /my/path/docker/mariadb-test:/var/lib/mysql \\
> \-e MYSQL\_ROOT\_PASSWORD="rooting" \\
> \-e TZ=Asia/Singapore \\
> \--name mariadb-test \\
> \-d \\
> \--restart always \\
> mariadb:latest \\
> \--sql-mode=''
> \`\`\`
> 
> SQL Database
> \`\`\`
> CREATE DATABASE librenms CHARACTER SET utf8 COLLATE utf8\_unicode\_ci;
> CREATE USER 'librenms'@'%' IDENTIFIED BY 'libre\_password';
> CREATE USER 'librenms'@'localhost' IDENTIFIED BY 'libre\_password';
> GRANT ALL PRIVILEGES ON librenms.\* TO 'librenms'@'%';
> FLUSH PRIVILEGES;
> exit
> \`\`\`
> 
> LibreNMS container
> \`\`\`
> docker run \\
> \-p 8669:80 \\
> \-e DB\_HOST=db \\
> \-e DB\_NAME=librenms \\
> \-e DB\_USER=librenms \\
> \-e DB\_PASS=libre\_password \\
> \-e APP\_KEY=generated\_key \\
> \-e BASE\_URL=http://IP:8669 \\
> \-e TZ=Asia/Singapore \\
> \--link mariadb-test:db \\
> \-v /my/path/docker/librenms-test/logs:/opt/librenms/logs \\
> \-v /my/path/docker/librenms-test/rrd:/opt/librenms/rrd \\
> \-v /my/path/docker/librenms-test/custom.config.php:/opt/librenms/conf.d/custom.config.php:ro \\
> \--name librenms-test \\
> \-d \\
> \--restart always \\
> jarischaefer/docker-librenms:latest
> \`\`\`

---

_[View the full topic](https://forums.jasonloong.com/t/synology-snmp-network-monitoring-with-librenms-docker/13)._
