On 27/03/15 12:40 AM, Gabriel Filion wrote:
>> Failing that, strace'ing might show you something more useful.
> I'll see what I can find with strace...
unfortunately, nothing really useful..
in the output below, the first file access gives the same error as the
one failing, but seems to work ok:
lstat("/etc/munin/plugin-conf.d/if_err_eth0.conf", 0x7fff125de9c0) = -1
ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1427430950, 856657}, NULL) = 0
gettimeofday({1427430950, 856828}, NULL) = 0
gettimeofday({1427430950, 856904}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1427430950, 857379}, NULL) = 0
gettimeofday({1427430950, 857540}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1427430950, 857827}, NULL) = 0
gettimeofday({1427430950, 857970}, NULL) = 0
lstat("/etc/munin/plugin-conf.d/uptime.conf", 0x7fff125de9c0) = -1
ENOENT (No such file or directory)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1427430950, 858358}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1427430950, 858793}, NULL) = 0
gettimeofday({1427430950, 859145}, NULL) = 0
sendto(3, "<27>Mar 27 00:35:50 puppet-agent"..., 191, MSG_NOSIGNAL,
NULL, 0) = 191
write(1, "\33[1;35merr: /Stage[main]/Site_mu"..., 165err:
/Stage[main]/Site_munin/Munin::Plugin[uptime]/File[/etc/munin/plugin-conf.d/uptime.conf]:
Could not
evaluate: undefined method `[]=' for :chec:Symbol) = 165
write(1, "\n", 1
) = 1
gettimeofday({1427430950, 859715}, NULL) = 0
gettimeofday({1427430950, 859788}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1427430950, 860310}, NULL) = 0
gettimeofday({1427430950, 860568}, NULL) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1427430950, 860877}, NULL) = 0
gettimeofday({1427430950, 861091}, NULL) = 0
--
Gabriel Filion