http://wiki.mikrotik.com/wiki/Munin_Monitoring
http://forum.mikrotik.com/viewtopic.php ... ilit=munin
zdravim, zrovna som narazil na tento monitoring, vyzera podstatne lepsie ako cacti.
Ale akosi sa mi ho nedari rozbehnut, postupoval som podla navodu na wiki, pricom moje kroky boli:
1. v /etc/munin/munin.conf mam:
[localhost.localdomain]
address 127.0.0.1
use_node_name yes
pricom na wiki.com sa pise:
[localhost]
address 127.0.0.1
neviem ci to treba prepisat
2. toto som pridal do /etc/munin/munin-node.conf
#host *
host 127.0.0.1
3. restartoval som munin-node
4. toto som pridal do /etc/apache2/apache2.conf, na koniec:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName monitor.example.com
DocumentRoot /var/www/munin
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
CustomLog /var/log/apache2/monitor.example.com.access.log combined
ErrorLog /var/log/apache2/monitor.example.com.error.log
ServerSignature On
</VirtualHost>
5. restartoval som apache2
6. skontroloval som syntax, UZ TU SA VYSKYTOL PRVY PROBLEM, ktory neviem ako riesit:
r-c@r-c-desktop:~$ sudo apache2ctl -t
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Syntax OK
7. neukazuje ziadne grafy po zadani do prehliadaca:
http://monitor.example.com
8. toto som pridal do /etc/munin/munin.conf
[node1.somewhere.com]
address 127.0.0.1
[node2.somewhere.com]
address 127.0.0.1
9. po zadani:
r-c@r-c-desktop:~$ sudo snmpget -v 1 -c public node1.somewhere.com .1.3.6.1.2.1.25.3.3.1.2.1
getaddrinfo: node1.somewhere.com No address associated with hostname
snmpget: Unknown host (node1.somewhere.com) (Connection timed out)
r-c@r-c-desktop:~$ HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 5
bash: HOST-RESOURCES-MIB::hrProcessorLoad.1: command not found
code dalsie problemy, vedeli by ste mi poradit co robim zle?