OK, 2nd issue is gone now, i just reinstalled monitorix from ports with all dependencies so now i'm able to generate graphs. but still having issues with SYSTEM monitoring as described earlier ...

- Kamil


On 15.02.2019 13:29, c...@lordcyber.net wrote:
Hi,

i'm using Monitorix since FreeBSD 7 and its simply great. BUT recently i've installed FreeBSD 12 on new machine and having two problems now ...

1st - cannot monitor SYSTEM, the rest of monitors i'm using are OK. i can see lots of these errors in logfile:

Use of uninitialized value in lc at /usr/local/bin/monitorix line 714.
Use of uninitialized value in lc at /usr/local/bin/monitorix line 740.
sysctl: unknown oid 'kern.random.sys.seeded'
Use of uninitialized value $entropy in scalar chomp at /usr/local/share/monitorix/system.pm line 296. Use of uninitialized value $entropy in chomp at /usr/local/share/monitorix/system.pm line 361. Use of uninitialized value $entropy in concatenation (.) or string at /usr/local/share/monitorix/system.pm line 401. Fri Feb 15 13:16:00 2019 - ERROR: while updating /var/db/monitorix/system.rrd: /var/db/monitorix/system.rrd: Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float

according to man page "kern.random.sys.seeded" is not in FreeBSD 11 and newer, last seen in 10: https://www.freebsd.org/cgi/man.cgi?query=random&apropos=0&sektion=4&manpath=FreeBSD+10.4-stable&arch=default&format=html i can confirm that as previous machine was running 10 with no issue (i skipped 11 to 12 now)

2nd - i'm not able to generate graphs, when i try this:
monitorix.cgi mode=localhost graph=all when=day color=black

i'll get:
Use of uninitialized value $ENV{"HTTP_HOST"} in concatenation (.) or string at ./monitorix.cgi line 260.

as i said i had no issue before (FreeBSD 7 8 9 10) but started after instalation of 12 ...

thanks!
Kamil



_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general


_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to