On 6/9/08, rick rick <[EMAIL PROTECTED]> wrote: > ok this my problem, asside from this cool plugins, another good plugins is the > check_snmp_cisco_loadavg, this plugins work if you will execute it on the > linux > server but if you used it as one of the services of a host it shows error, > > **ePN failed to > compile /usr/lib64/nagios/plugins/check_snmp_cisco_loadavg: "Global > symbol "$script" requires explicit package name at (eval 13) line 31,
epn stands for embedded perl nagios.. when you run your plugin inside nagios.. it uses epn where it uses strict pragma... that is why you see that error... there are lots of perl experts here on this list to correct the check_snmp_cisco_loadavg perl plugin code especially on line 31... you can ask help from them to correct it... if you want a quick hack which is not advisable due to performance reason.. starting from nagios version 3.. you can instruct nagios not to use epn by adding this one line (see below) within the first 10 lines inside of that plugin script... # nagios: -epn that is sharp space nagios colon space minus epn... fooler. _________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List http://lists.linux.org.ph/mailman/listinfo/plug Searchable Archives: http://archives.free.net.ph

