Pagina 1 di 1

problema con Munin e nuovi scripts installati

Inviato: giovedì 22 marzo 2012, 1:05
da 64rl0
ciao ragazzi premetto che del mondo linux conosco ben poco diciamo molto niubbo  ;)

ho trovato su un forum una guida su come inserire dei nuovi scripts in Munin l'ho seguita alla lettera:
installato Munin
installato apache
installato script

e non vanno

vi posto i vari errori riscontrati e spero molto in un vostro aiuto  :)

al comando (come utente root)

Codice: Seleziona tutto

munin-run cccam_uptime
ottengo

Codice: Seleziona tutto

Can not exec "/ etc / munin / plugins / cccam_uptime" File or directory does not exist at / usr/share/perl5/Munin/Node/Service.pm line 215.
# FATAL: Failed to exec.
mentre al comando (sempre root)

Codice: Seleziona tutto

root - ServerSharing [~] $ /etc/munin/plugins/cccam_uptime
ottengo

Codice: Seleziona tutto

bash: /etc/munin/plugins/cccam_uptime: /bin/sh ^ M: Wrong interpreter: File or directory does not exist
questo invece è il report di munin-node.log

Codice: Seleziona tutto

2012/03/21-00:18:24 Server closing!
Process Backgrounded
2012/03/21-00:18:24 Munin::Node::Server (type Net::Server::Fork) starting! pid(2624)
Binding to TCP port 4949 on host *
Setting gid to "0 0"
2012/03/21-00:18:25 [2624] Error output from cccam_emc:
2012/03/21-00:18:25 [2624] 	Can't exec "/etc/munin/plugins/cccam_emc": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:25 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:25 [2624] Service 'cccam_emc' exited with status 42/0.
2012/03/21-00:18:25 [2624] Error output from cccam_cards_reshare:
2012/03/21-00:18:25 [2624] 	Can't exec "/etc/munin/plugins/cccam_cards_reshare": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:25 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:25 [2624] Service 'cccam_cards_reshare' exited with status 42/0.
2012/03/21-00:18:25 [2624] Error output from cccam_ok-nok:
2012/03/21-00:18:25 [2624] 	Can't exec "/etc/munin/plugins/cccam_ok-nok": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:25 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:25 [2624] Service 'cccam_ok-nok' exited with status 42/0.
2012/03/21-00:18:25 [2624] Error output from cccam_version_clients:
2012/03/21-00:18:25 [2624] 	Can't exec "/etc/munin/plugins/cccam_version_clients": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:25 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:25 [2624] Service 'cccam_version_clients' exited with status 42/0.
2012/03/21-00:18:25 [2624] Error output from cccam_uptime:
2012/03/21-00:18:25 [2624] 	Can't exec "/etc/munin/plugins/cccam_uptime": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:25 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:25 [2624] Service 'cccam_uptime' exited with status 42/0.
2012/03/21-00:18:25 [2624] Error output from cccam_servers_clients:
2012/03/21-00:18:25 [2624] 	Can't exec "/etc/munin/plugins/cccam_servers_clients": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:25 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:25 [2624] Service 'cccam_servers_clients' exited with status 42/0.
2012/03/21-00:18:25 [2624] Error output from lpstat:
2012/03/21-00:18:25 [2624] 	lpstat: No destinations added.
2012/03/21-00:18:25 [2624] 	lpstat: No destinations added.
2012/03/21-00:18:26 [2624] Error output from cccam_peak:
2012/03/21-00:18:26 [2624] 	Can't exec "/etc/munin/plugins/cccam_peak": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:26 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:26 [2624] Service 'cccam_peak' exited with status 42/0.
2012/03/21-00:18:26 [2624] Error output from cccam_version_servers:
2012/03/21-00:18:26 [2624] 	Can't exec "/etc/munin/plugins/cccam_version_servers": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:26 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:26 [2624] Service 'cccam_version_servers' exited with status 42/0.
2012/03/21-00:18:26 [2624] Error output from cccam_cards_available:
2012/03/21-00:18:26 [2624] 	Can't exec "/etc/munin/plugins/cccam_cards_available": No such file or directory at /usr/share/perl5/Munin/Node/Service.pm line 215.
2012/03/21-00:18:26 [2624] 	# ERROR: Failed to exec.
2012/03/21-00:18:26 [2624] Service 'cccam_cards_available' exited with status 42/0.
e per concludere al comando

Codice: Seleziona tutto

root - ServerSharing [~] $ ls -l /etc/munin/plugins/
ottengo

Codice: Seleziona tutto

totale 0
lrwxrwxrwx 1 root  root  29 2012-01-20 17:25 acpi -> /usr/share/munin/plugins/acpi
lrwxrwxrwx 1 carlo carlo 40 2012-03-20 14:47 apache_accesses -> /usr/share/munin/plugins/apache_accesses
lrwxrwxrwx 1 root  root  41 2012-01-20 17:25 apache_processes -> /usr/share/munin/plugins/apache_processes
lrwxrwxrwx 1 root  root  38 2012-01-20 17:25 apache_volume -> /usr/share/munin/plugins/apache_volume
lrwxrwxrwx 1 carlo carlo 46 2012-03-21 15:32 cccam_cards_available -> /usr/share/munin/plugins/cccam_cards_available
lrwxrwxrwx 1 carlo carlo 44 2012-03-21 15:32 cccam_cards_reshare -> /usr/share/munin/plugins/cccam_cards_reshare
lrwxrwxrwx 1 carlo carlo 34 2012-03-21 15:32 cccam_emc -> /usr/share/munin/plugins/cccam_emc
lrwxrwxrwx 1 carlo carlo 37 2012-03-21 15:32 cccam_ok-nok -> /usr/share/munin/plugins/cccam_ok-nok
lrwxrwxrwx 1 carlo carlo 35 2012-03-21 15:32 cccam_peak -> /usr/share/munin/plugins/cccam_peak
lrwxrwxrwx 1 carlo carlo 46 2012-03-21 15:32 cccam_servers_clients -> /usr/share/munin/plugins/cccam_servers_clients
lrwxrwxrwx 1 carlo carlo 37 2012-03-21 15:32 cccam_uptime -> /usr/share/munin/plugins/cccam_uptime
lrwxrwxrwx 1 carlo carlo 46 2012-03-21 15:32 cccam_version_clients -> /usr/share/munin/plugins/cccam_version_clients
lrwxrwxrwx 1 carlo carlo 46 2012-03-21 15:32 cccam_version_servers -> /usr/share/munin/plugins/cccam_version_servers
lrwxrwxrwx 1 root  root  28 2012-01-20 17:25 cpu -> /usr/share/munin/plugins/cpu
lrwxrwxrwx 1 root  root  33 2012-01-20 17:25 cpuspeed -> /usr/share/munin/plugins/cpuspeed
lrwxrwxrwx 1 root  root  27 2012-01-20 17:25 df -> /usr/share/munin/plugins/df
lrwxrwxrwx 1 root  root  33 2012-01-20 17:25 df_inode -> /usr/share/munin/plugins/df_inode
lrwxrwxrwx 1 root  root  34 2012-01-20 17:25 diskstats -> /usr/share/munin/plugins/diskstats
lrwxrwxrwx 1 root  root  32 2012-01-20 17:25 entropy -> /usr/share/munin/plugins/entropy
lrwxrwxrwx 1 root  root  30 2012-01-20 17:25 forks -> /usr/share/munin/plugins/forks
lrwxrwxrwx 1 root  root  37 2012-01-20 17:25 fw_conntrack -> /usr/share/munin/plugins/fw_conntrack
lrwxrwxrwx 1 root  root  43 2012-01-20 17:25 fw_forwarded_local -> /usr/share/munin/plugins/fw_forwarded_local
lrwxrwxrwx 1 root  root  35 2012-01-20 17:25 fw_packets -> /usr/share/munin/plugins/fw_packets
lrwxrwxrwx 1 root  root  38 2012-01-20 17:25 http_loadtime -> /usr/share/munin/plugins/http_loadtime
lrwxrwxrwx 1 root  root  32 2012-01-20 17:25 if_err_eth0 -> /usr/share/munin/plugins/if_err_
lrwxrwxrwx 1 root  root  28 2012-01-20 17:25 if_eth0 -> /usr/share/munin/plugins/if_
lrwxrwxrwx 1 root  root  35 2012-01-20 17:25 interrupts -> /usr/share/munin/plugins/interrupts
lrwxrwxrwx 1 root  root  31 2012-01-20 17:25 iostat -> /usr/share/munin/plugins/iostat
lrwxrwxrwx 1 root  root  35 2012-01-20 17:25 iostat_ios -> /usr/share/munin/plugins/iostat_ios
lrwxrwxrwx 1 root  root  33 2012-01-20 17:25 irqstats -> /usr/share/munin/plugins/irqstats
lrwxrwxrwx 1 root  root  29 2012-01-20 17:25 load -> /usr/share/munin/plugins/load
lrwxrwxrwx 1 root  root  31 2012-01-20 17:25 lpstat -> /usr/share/munin/plugins/lpstat
lrwxrwxrwx 1 root  root  31 2012-01-20 17:25 memory -> /usr/share/munin/plugins/memory
lrwxrwxrwx 1 root  root  36 2012-01-20 17:25 munin_stats -> /usr/share/munin/plugins/munin_stats
lrwxrwxrwx 1 root  root  35 2012-01-20 17:25 open_files -> /usr/share/munin/plugins/open_files
lrwxrwxrwx 1 root  root  36 2012-01-20 17:25 open_inodes -> /usr/share/munin/plugins/open_inodes
lrwxrwxrwx 1 root  root  34 2012-01-20 17:25 processes -> /usr/share/munin/plugins/processes
lrwxrwxrwx 1 root  root  33 2012-01-20 17:25 proc_pri -> /usr/share/munin/plugins/proc_pri
lrwxrwxrwx 1 root  root  29 2012-01-20 17:25 swap -> /usr/share/munin/plugins/swap
lrwxrwxrwx 1 root  root  32 2012-01-20 17:25 threads -> /usr/share/munin/plugins/threads
lrwxrwxrwx 1 root  root  31 2012-01-20 17:25 uptime -> /usr/share/munin/plugins/uptime
lrwxrwxrwx 1 root  root  30 2012-01-20 17:25 users -> /usr/share/munin/plugins/users
lrwxrwxrwx 1 root  root  31 2012-01-20 17:25 vmstat -> /usr/share/munin/plugins/vmstat
cosa può essere???

grazie mille e scusate per il dilungarmi :)

Re: problema con Munin e nuovi scripts installati

Inviato: lunedì 26 marzo 2012, 14:00
da 64rl0
proprio nessuno sa come aiutarmi?? :(

per favore ragazzi avete qualche idea??