Quote:
What's the output of
ls -la /etc/munin/plugins/
|
Code:
kayasaman@OptiplexGX270D:~$ ls -la /etc/munin/plugins/
total 8
drwxr-xr-x 2 root root 4096 2008-06-06 00:52 .
drwxr-xr-x 5 root root 4096 2008-05-31 09:36 ..
lrwxrwxrwx 1 root root 28 2008-05-31 09:36 cpu -> /usr/share/munin/plugins/cpulrwxrwxrwx 1 root root 27 2008-05-31 09:36 df -> /usr/share/munin/plugins/df
lrwxrwxrwx 1 root root 33 2008-05-31 09:36 df_inode -> /usr/share/munin/plugins/df_inode
lrwxrwxrwx 1 root root 32 2008-05-31 09:36 entropy -> /usr/share/munin/plugins/entropy
lrwxrwxrwx 1 root root 39 2008-05-31 09:36 exim_mailqueue -> /usr/share/munin/plugins/exim_mailqueue
lrwxrwxrwx 1 root root 39 2008-05-31 09:36 exim_mailstats -> /usr/share/munin/plugins/exim_mailstats
lrwxrwxrwx 1 root root 30 2008-05-31 09:36 forks -> /usr/share/munin/plugins/forks
lrwxrwxrwx 1 root root 28 2008-05-31 09:36 if_ath0 -> /usr/share/munin/plugins/if_
lrwxrwxrwx 1 root root 32 2008-05-31 09:36 if_err_ath0 -> /usr/share/munin/plugins/if_err_
lrwxrwxrwx 1 root root 32 2008-05-31 09:36 if_err_eth0 -> /usr/share/munin/plugins/if_err_
lrwxrwxrwx 1 root root 28 2008-05-31 09:36 if_eth0 -> /usr/share/munin/plugins/if_
lrwxrwxrwx 1 root root 35 2008-05-31 09:36 interrupts -> /usr/share/munin/plugins/interrupts
lrwxrwxrwx 1 root root 31 2008-05-31 09:36 iostat -> /usr/share/munin/plugins/iostat
lrwxrwxrwx 1 root root 33 2008-05-31 09:36 irqstats -> /usr/share/munin/plugins/irqstats
lrwxrwxrwx 1 root root 29 2008-05-31 09:36 load -> /usr/share/munin/plugins/load
lrwxrwxrwx 1 root root 31 2008-05-31 09:36 memory -> /usr/share/munin/plugins/memory
lrwxrwxrwx 1 root root 32 2008-05-31 09:36 netstat -> /usr/share/munin/plugins/netstat
lrwxrwxrwx 1 root root 35 2008-05-31 09:36 nfs_client -> /usr/share/munin/plugins/nfs_client
lrwxrwxrwx 1 root root 35 2008-05-31 09:36 open_files -> /usr/share/munin/plugins/open_files
lrwxrwxrwx 1 root root 36 2008-05-31 09:36 open_inodes -> /usr/share/munin/plugins/open_inodes
lrwxrwxrwx 1 root root 34 2008-05-31 09:36 processes -> /usr/share/munin/plugins/processes
lrwxrwxrwx 1 root root 29 2008-05-31 09:36 swap -> /usr/share/munin/plugins/swap
lrwxrwxrwx 1 root root 31 2008-05-31 09:36 vmstat -> /usr/share/munin/plugins/vmstat
Quote:
|
What's in /etc/munin/plugin-conf.d/munin-node?
|
Code:
kayasaman@OptiplexGX270D:~$ cat /etc/munin/plugin-conf.d/munin-node
# This file is used to configure how the plugins are invoked.
#
# user <user> # Set the user to run the plugin as.
# group <group> # Set the group to run the plugin as.
# command <command> # Run <command> instead of the plugin. %c expands to
# what would normally be run.
# env.<variable> # Sets <variable> in the plugin's environment, see the
# individual plugins to find out which variables they
# care about.
[apt]
user root
[courier_mta_mailqueue]
group daemon
[courier_mta_mailstats]
group adm
[courier_mta_mailvolume]
group adm
[cps*]
user root
[exim_mailqueue]
group mail, (Debian-exim)
[exim_mailstats]
group mail, adm
[fw_conntrack]
user root
[hddtemp_smartctl]
user root
[if_*]
user root
[if_err_*]
user nobody
[ip_*]
user root
[mysql*]
user root
env.mysqlopts --defaults-extra-file=/etc/mysql/debian.cnf
[postfix_mailqueue]
user (postfix)
[postfix_mailstats]
group adm
[postfix_mailvolume]
group adm
[smart_*]
user root
[vlan*]
user root
I never had any NTP section even from the start when the NTP file was in: /etc/munin/plugins/
Somehow Munin managed to auto-generate the NTP part but then lost it due to a DNS change.
Also I have been to the website given but my directory structure is slightly different from the howto which I think is what got me stuck when I attempted it the first time then switched and didn't use the .htpasswd and access for Munin.
Quote:
To do this, we create an .htaccess file in /var/www/www.example.com/web/monitoring:
vi /var/www/www.example.com/web/monitoring/.htaccess
|
This is the directory tree for webalizer on my Debian Etch build:
Code:
kayasaman@OptiplexGX110:/var/www/webalizer$ ls
ctry_usage_200804.png hourly_usage_200804.png usage_200806.html
ctry_usage_200805.png hourly_usage_200805.png usage.png
ctry_usage_200806.png hourly_usage_200806.png webalizer.current
daily_usage_200804.png index.html webalizer.hist
daily_usage_200805.png usage_200804.html
daily_usage_200806.png usage_200805.html
Would this mean that I would put the .htaccess and .htpasswd files in/var/ww/webalizer???
Recent comments
3 hours 10 min ago
12 hours 37 min ago
13 hours 27 min ago
17 hours 38 sec ago
21 hours 24 min ago
21 hours 46 min ago
23 hours 56 min ago
1 day 9 hours ago
1 day 14 hours ago
1 day 16 hours ago