Difference between revisions of "Passpersist Scripts"

From Net-SNMP Wiki
Jump to: navigation, search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
lialcatr
 
 
== Perl ==
 
== Perl ==
 
see the simple example in local/passpersisttest
 
see the simple example in local/passpersisttest
Line 7: Line 6:
  
 
  #!/usr/bin/python -u
 
  #!/usr/bin/python -u
 +
 +
See also [[Pass_persist]]

Latest revision as of 21:30, 12 March 2012

Perl

see the simple example in local/passpersisttest

Python

You need to specify unbuffered output for python to work. The first line should look like:

#!/usr/bin/python -u

See also Pass_persist