Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@wpyung
Favorites0
Views
Projects0
I am using this via the docker container https://hub.docker.com/r/martinjohn/nagios just hit this problem whereby the script nolonger works https://unix.stackexchange.com/questions/644442/speedtest-cli-valueerror-invalid-literal-for-int-with-base-10 so I did the wget of speedtest.py to /opt/Custom-Nagios-Plugins and also had to modify STb in check_speedtest-cli.sh and copy in the file speedtest would be nice if someone could update the docker container Peter
Reviewed 4 years ago
This worked for me on DSM 5.2 On DSM 6 I get this error Any ideas ? peter@rcapp04:/srv/docker/volumes/nagios/opt/Custom-Nagios-Plugins$ docker exec -it nagios4 bash root@rcapp04-nagios:/# cd /opt/Custom-Nagios-Plugins/ root@rcapp04-nagios:/opt/Custom-Nagios-Plugins# ./check_snmp_synology -2 public -h rcdata02 -t raid ./check_snmp_synology: line 368: 54 55 58 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 /volume1/@docker /volume1/@docker/btrfs /volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm 8192 Bytes 8192 Bytes 4096 Bytes 2108048671 2108048671 16384 367403977 367403977 367403977 0 * 100 / 54 55 58 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 /volume1/@docker /volume1/@docker/btrfs /volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm 8192 Bytes 8192 Bytes 4096 Bytes 2108048671 2108048671 2108048671 16384 367403977 367403977 0: syntax error in expression (error token is "55 58 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 /volume1/@docker /volume1/@docker/btrfs /volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm 8192 Bytes 8192 Bytes 4096 Bytes 2108048671 2108048671 16384 367403977 367403977 367403977 0 * 100 / 54 55 58 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 .1.3.6.1.2.1.25.2.1.4 /volume1/@docker /volume1/@docker/btrfs /volume1/@docker/containers/41582c69eb60f17066850470fdfb150a20a445882d30a6083c4fbb59a9b4293c/mounts/shm 8192 Bytes 8192 Bytes 4096 Bytes 2108048671 2108048671 2108048671 16384 367403977 367403977 0")
Reviewed 5 years ago
since a few days ago I now get malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before " ...") at ./check_googleapps.pl line 46. I think the page http://www.google.com/appsstatus/json/en is now returning html rather than JSON