PDA

View Full Version : chemins en dur dans les plugins


gollum123
28th May 2005, 14:23
hello,

dans les plugins:
check_graph_cisco_nb_connect.pl
check_graph_load_average.pl
check_graph_nt.pl
check_graph_ping.pl
check_graph_process.pl
check_graph_remote_storage.pl
check_graph_traffic.pl
check_snmp_cpfw.pl
check_snmp_interface.pl
check_snmp_load.pl
check_snmp_vrrp.pl
check_uptime_nt.pl

use lib "/usr/local/nagios/libexec" ;

n'y aurait-il pas moyen de leur fournir un fichier de conf centralisé ?

@+

gollum123
28th May 2005, 14:38
hello,

le chemin de ping est en dur /bin/ping.

Sur FreeBSD, il est dans /sbin/

Vaudrait mieux travailler sur un ensemble de path (si possible)

quelle est la procédure pour modifier les plugins ? cvs ?

Cordialement,