Hello Kamil,
On 2/15/19 3:48 PM, c...@lordcyber.net wrote:
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.
Looks like you removed some parts ('traffacct' and 'emailreports') from
the configuration file that you won't use. Monitorix expects to read the
original configuration file, and you think you won't use an option, just
leave it disabled (with 'n').
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)
It seems then that FreeBSD folks have removed (or perhaps changed the
name) of the option 'kern.random.sys.seeded'. Do you know if there exist
a different way to know the entropy on a FreeBSD system?
Meanwhile as a work-around comment out the lines from 293 to 296 in the
'system.pm' file of your FreeBSD system. I believe that the last error
about 'unable to convert '' to float is just a consequence of the
previous problem.
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
Regards.
--
Jordi Sanfeliu
FIBRANET Network Services Provider
https://www.fibranet.cat
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general