Re: perl subagent works partially

2014-08-11 Thread Michael Schwartzkopff
Am Sonntag, 10. August 2014, 17:38:20 schrieb Michael Schwartzkopff: > Hi, > > I wrote a SNMP subagent in perl. In snmpd.conf I add the line: > > perl do '/root/pcmk-subagent.pl' || print "Problem running agent.\n" > > and everything works fine when I call the agent from the command line > (/usr

perl subagent works partially

2014-08-10 Thread Michael Schwartzkopff
Hi, I wrote a SNMP subagent in perl. In snmpd.conf I add the line: perl do '/root/pcmk-subagent.pl' || print "Problem running agent.\n" and everything works fine when I call the agent from the command line (/usr/sbin/snmpd). The agent also works in Debian OS calling from the init system. But