From: Kiall M. I. <ki...@ma...> - 2013-03-02 04:05:56
|
I should read more carefully, you already did from the looks of it! On 1 Mar 2013 13:24, "Kiall Mac Innes" <ki...@ma...> wrote: > Did you chmod +x the file? > On 1 Mar 2013 11:57, "Mahmood Naderan" <nt_...@ya...> wrote: > > Dear all, > Using munin 2.0.11, I have created a plugin, named "torque_proc". I copied > that to /usr/share/munin/plugins and created a symbolic link to > /etc/munin/plugins. Like other plugins it has root access: > > [root@tiger plugins]# pwd > /etc/munin/plugins > [root@tiger plugins]# ls -l > total 0 > lrwxrwxrwx. 1 root root 36 Mar 1 13:31 torque_proc -> > /usr/share/munin/plugins/torque_proc > lrwxrwxrwx. 1 root root 31 Feb 28 20:25 uptime -> > /usr/share/munin/plugins/uptime > lrwxrwxrwx. 1 root root 30 Feb 28 20:25 users -> > /usr/share/munin/plugins/users > > [root@tiger plugins]# ls -l /usr/share/munin/plugins/ > total 1528 > -rwxr-xr-x. 1 root root 296 Mar 1 13:30 torque_proc > -rwxr-xr-x. 1 root root 853 Feb 10 03:21 uptime > -rwxr-xr-x. 1 root root 2472 Feb 10 03:21 users > -rwxr-xr-x. 1 root root 25400 Feb 10 03:21 varnish_ > -rwxr-xr-x. 1 root root 1700 Feb 10 03:21 vlan_ > > Problem is, munin update log shows: > > 2013/03/01-13:31:14 [1533] Error output from torque_proc: > 2013/03/01-13:31:14 [1533] Can't exec > "/etc/munin/plugins/torque_proc": Permission denied at > /usr/share/perl5/vendor_perl/Munin/Node/Service.pm line 263. > 2013/03/01-13:31:14 [1533] Service 'torque_proc' exited with status 42/0. > 2013/03/01-13:31:14 [1533] Error output from lpstat: > 2013/03/01-13:31:14 [1533] lpstat: No destinations added. > 2013/03/01-13:31:14 [1533] lpstat: No destinations added. > > > > How can I fix that? > > Regards, > Mahmood* > * > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > munin-users mailing list > mun...@li... > https://lists.sourceforge.net/lists/listinfo/munin-users > > |