questions about the pass-persist
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
HI, I want to use pass persist to run a simple python program. In the snmpd.conf, I add a line "pass_persist .1.3.6.1.4.1.3231.101.5.1.101.0.1.0 python /work/snmp/persist_test.py". Then I run "usr/local/sbin/snmpd -f -Le -Ducd-snmp/pass_persist,ucd-snmp/pass,snmpd,output,helper:debug" When Itry to get the OID in a manager. I got the following message "ucd-snmp/pass_persist: open_persist_pipe(1,'python /work/snmp/persist_test.py') ucd-snmp/pass_persist: open_persist_pipe: PONG not received!" If I run 'python /work/snmp/persist_test.py' alone, it print out PONG no problem. Does the program get run in the snmpd ? Thanks Chi ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users