Re: [Observium] poller-wrapper.py not working on FreeBSD9.1
Man, freebsd is so retarded.
Adam.
Borja Marcos borjam@sarenet.es wrote:
On Oct 21, 2013, at 2:08 PM, Tom Laermans wrote:
On 21/10/2013 14:02, Borja Marcos wrote:
./discovery.php:#!/usr/bin/env /usr/local/bin/php ./poll-billing.php:#!/usr/bin/env /usr/local/bin/php ./poller.php:#!/usr/bin/env /usr/local/bin/php
This makes 0 sense.
If you add the PATH to the crontab, yes, it doesn't make sense. If you don't, FreeBSD has a minimal default PATH offered to the crontab commands, which doesn't include /usr/local/bin.
Borja.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
On Oct 21, 2013, at 4:13 PM, Adam Armstrong wrote:
Man, freebsd is so retarded.
Now, seriously. It makes sense. PATHs are best if kept very short. (I remember with great horror an "Yggdrassil" distro back in 1995, my first contact with Linux, in which an "echo $PATH" filled a whole 80x24 terminal, current directory included.
Other than fixing several paths, Observium runs like a charm on FreeBSD, even if unsupported. I was considering to volunteer to keep it FreeBSD friendly, even.
Borja.
participants (2)
-
Adam Armstrong
-
Borja Marcos