OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: vikozo on October 29, 2019, 05:22:48 pm

Title: Munin-noder not starting after reboot
Post by: vikozo on October 29, 2019, 05:22:48 pm
Hello

i have munin-noder on my opnSense which worked well till i had to reboot my FW today!

Starting munin_node.
Couldn't open log file "/var/log/munin/munin-node.log" [No such file or directory]. at /usr/local/lib/perl5/site_perl/Net/Server.pm line 209.
/usr/local/etc/rc.d/munin-node: WARNING: failed to start munin_node

and yes it it true - in /var/log/ is no directory munin

have a nice day
vinc
Title: Re: Munin-noder not starting after reboot
Post by: mimugmail on October 29, 2019, 05:26:33 pm
Do you run /var on ramdisk?
Title: Re: Munin-noder not starting after reboot
Post by: vikozo on October 29, 2019, 05:33:58 pm
sorry mimugmail i don't understand  :-\

i do have a cd /var/ with at cron log and stuff like that yes
Title: Re: Munin-noder not starting after reboot
Post by: mimugmail on October 29, 2019, 06:53:13 pm
What happens when you create by hand?
Title: Re: Munin-noder not starting after reboot
Post by: vikozo on October 29, 2019, 08:40:42 pm
Hello
done it -

# /usr/local/etc/rc.d/munin-node restart
munin_node not running?
Starting munin_node.

===
if i check what is in the log

# tail munin-node.log
Process Backgrounded
2019/10/29-20:28:25 Couldn't open pid file "/var/run/munin/munin-node.pid" [No such file or directory].

  at line 177 in file /usr/local/lib/perl5/site_perl/Net/Server.pm
2019/10/29-20:28:25 Server closing!
Process Backgrounded
2019/10/29-20:30:57 Couldn't open pid file "/var/run/munin/munin-node.pid" [No such file or directory].

  at line 177 in file /usr/local/lib/perl5/site_perl/Net/Server.pm
2019/10/29-20:30:57 Server closing!

======================
and no there is no  "/munin/munin-node.pid"

i thinks this is lost when doing the reboot then 2 weeks i got my Munin-node information....
Title: Re: Munin-noder not starting after reboot
Post by: mimugmail on October 29, 2019, 08:43:45 pm
It needs a real plugin to handle this properly
Title: Re: Munin-noder not starting after reboot
Post by: vikozo on October 29, 2019, 09:13:29 pm
 ::)  sad
i can't do a plugin
Title: Re: Munin-noder not starting after reboot
Post by: vikozo on October 29, 2019, 09:28:35 pm
but a michael could do it ;-)
https://twitter.com/mimu_muc/status/1031962544351657984
Title: Re: Munin-noder not starting after reboot
Post by: mimugmail on October 29, 2019, 09:40:29 pm
 Currently I'm on NRPE plugin, maybe beginning next year. :)
Title: Re: Munin-noder not starting after reboot
Post by: vikozo on February 06, 2020, 02:38:22 pm
@mimugmail
2020 startet ;-)
but maybe i could help somehow
Title: Re: Munin-noder not starting after reboot
Post by: mimugmail on February 06, 2020, 04:20:10 pm
Thanks for the reminder, I'll try to start next week