OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: vikozo on September 30, 2019, 06:36:13 PM

Title: add Munin-Node to opnSense
Post by: vikozo on September 30, 2019, 06:36:13 PM
hello
i wish to add Munin-node to opnSense and found this tutorial.
https://zedt.eu/tech/linux/installing-munin-node-on-opnsense/

first question on debian i use vim-nox for editing, is it possible to use it on freebsd/opnSense too? going mad with vi for add/delete some caracters.

on the Tutorial it say to add in  /etc/rc.conf
munin_node_enable="YES"

the Problem i don't have a rc.conf
so where should i add it?

have a nice day
vinc
Title: Re: add Munin-Node to opnSense
Post by: franco on September 30, 2019, 08:11:11 PM
Hi vinc,

Creating the file is the way to go :)

# echo 'munin_node_enable="YES"' >> /etc/rc.conf


Cheers,
Franco
Title: Re: add Munin-Node to opnSense
Post by: vikozo on September 30, 2019, 09:23:43 PM
@franco Merci

too easy - Merci - it works fine  ;D
Title: Re: add Munin-Node to opnSense
Post by: franco on February 11, 2020, 10:44:22 AM
A development version of the plugin will be available with 20.1.1 ;)


Cheers,
Franco
Title: Re: add Munin-Node to opnSense
Post by: vikozo on March 05, 2020, 06:37:19 PM
Franco Merci   ;D

i found in the Packages
munin-common
munin-node

but can't figure out to config them in the gui?

have a nice day
vinc
Title: Re: add Munin-Node to opnSense
Post by: mimugmail on March 05, 2020, 08:13:56 PM
CLI: pkg install os-munin-node-devel
Title: Re: add Munin-Node to opnSense
Post by: vikozo on March 06, 2020, 05:44:20 PM
Hello @mimugmail

thanks for the command
installed and found it as service

is there a need of the Hostname?
in my case i define on the Masterside what and where (IP) should come and give a name.

i never hat to add/change a Port Number.

Allowed Network, is this the IP Address of the Munin-Master to add?

maybe it would be usefull to tell over which Ethport it have to make the contact to MuninMaster!

have a nice day
vinc
Title: Re: add Munin-Node to opnSense
Post by: vikozo on March 07, 2020, 06:49:20 PM
Hello @mimugmail
it works nice and stable,  thanks a lot.
but still would have some ideas
have a nice day
vinc
Title: Re: add Munin-Node to opnSense
Post by: mimugmail on March 07, 2020, 08:31:43 PM
Quote from: vikozo on March 06, 2020, 05:44:20 PM
Hello @mimugmail

thanks for the command
installed and found it as service

is there a need of the Hostname?
in my case i define on the Masterside what and where (IP) should come and give a name.

i never hat to add/change a Port Number.

Allowed Network, is this the IP Address of the Munin-Master to add?

maybe it would be usefull to tell over which Ethport it have to make the contact to MuninMaster!

have a nice day
vinc

I think it's a good idea to set a hostname manually. Mostly the firewalls are labeled as OPNsense so this would be a good override.

The port has a default of 4949 so this should be fine. Maybe someone wants/needs to change it ..

Allowed networks is munin master, yes.

Currently the plugin only allows you to listen to every interface, usually the service should be blocked by firewall rules so no real security issue.

Title: Re: add Munin-Node to opnSense
Post by: vikozo on March 10, 2020, 09:40:46 AM
Hello @mimugmail

would be nice to have a option to activate or remove it

[] Disk usage in percent
[] Inode usage in percent
[] IOstat by bytes
[] S.M.A.R.T values for drive ada0
[] ath0_wlan1 Errors & Collisions
[] ath0_wlan1 pps
[] ath0_wlan1 traffic
[] ath0_wlan2 Errors & Collisions
[] ath0_wlan2 pps
[] ath0_wlan2 traffic
[] bridge0 Errors & Collisions
[] bridge0 pps
[] bridge0 traffic
[] igb0 Errors & Collisions
[] igb0 pps
[] igb0 traffic
[] igb1 Errors & Collisions
[] igb1 pps
[] igb1 traffic
[] igb2 Errors & Collisions
[] igb2 pps
[] igb2 traffic
[] igb2_vlan1002 Errors & Collisions
[] ovpns1 traffic
[] HDD temperature

and so one,
nice to have too.
[]
[]
[] Squid cache status
[] mail scanner reject
[] web page Scanner
[] Bind/DNS requests
[] DHCP Range and free


the a
[Refresh/Reload] Button

would remove old Bridge or VLAN Information
but also add new Bridge or VLAN Information or other stuff to monitor

have a nice day
vinc
Title: Re: add Munin-Node to opnSense
Post by: mimugmail on March 10, 2020, 10:34:27 AM
The default is to have all of them currently enabled, correct?
So you are asking just for disable some of them?
Title: Re: add Munin-Node to opnSense
Post by: vikozo on March 10, 2020, 10:53:44 AM
yes @mimugmail
but first would be a reload button to load new VLAN or remove old Bridge information.
But do not missunderstud - i am happy to see how it works and work fine

nice would also be not only to see the igb0, igb1, igb2 but added the "tag" DMZ, LAN, WAN ;-)
nice would also be to get information about updates ;-)

have a nice day
vinc
Title: Re: add Munin-Node to opnSense
Post by: mimugmail on March 10, 2020, 12:13:10 PM
Quote from: vikozo on March 10, 2020, 10:53:44 AM

nice would also be not only to see the igb0, igb1, igb2 but added the "tag" DMZ, LAN, WAN ;-)


I can promise that this is not possible since DMZ, LAN etc are OPNsense internal descriptions, munin has no chance to get these ...

I will set the plugin to stable with 20.1.3 and then work on your ideas (when time allows).

Thanks for your input! :)