On 2/21/19 6:50 PM, Gabriel Filion wrote:
On 2019-02-21 6:40 a.m., Niall O'Reilly wrote:
On 21 Feb 2019, at 10:52, Adrian Sevcenco wrote:

binary = /root/bin/tcpping

Your web server wouldn't by default (and, IMHO, shouldn't ever)
have access the the /root directory.

I think that /usr/local/bin/tcpping might be a better place
to keep the file.

I hope this helps.

right, if the web interface is trying to access binaries then they
should be in a more generic place.

... but at the same time it's kinda weird that the web interface would
need to be checking that probes are executables. It shouldn't be the web
interface's concern at all.
so, i moved the script to /usr/local/bin end error was gone.
it is worth to note that test were run anyway and rrds filled so it was only a problem of web cgi checks.

i had also a problem with the graphs not being displayed but it was a case of order of declarations .. it seems that for a graph to be displayed first declarations should be menu and title then anything else (probe, probe options, host)

thanks!
Adrian

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to