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 it does not run in CentOS 6.5. Running /etc/init.d/snmpd start I get

"Problem running agent."

which means, my subagent did not start. Any ideas what is wrong with the 
CentOS init script? Why does the snmp agent behave different here?

Thanks for any help.


Mit freundlichen Grüßen,

Michael Schwartzkopff

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to