aboutsummaryrefslogtreecommitdiff
path: root/lib/tests/var/statefile
diff options
context:
space:
mode:
authorGravatar Ton Voon <ton.voon@opsera.com> 2010-06-17 10:16:43 +0100
committerGravatar tonvoon <ton.voon@opsera.com> 2010-06-23 13:30:34 +0000
commit18f6835edaf7d640a2c9e476cb1babdbdadbfd9b (patch)
treeae11f40e48dc34658445c99012726f32bfb45c56 /lib/tests/var/statefile
parentf61412478ceb7c821793c8356b936f64066508bf (diff)
downloadmonitoring-plugins-18f6835edaf7d640a2c9e476cb1babdbdadbfd9b.tar.gz
Added state retention APIs. Implemented for check_snmp with --rate option.
See http://nagiosplugin.org/c-api-private for more details on the API. Also updated check_snmp -l option to change the perfdata label.
Diffstat (limited to 'lib/tests/var/statefile')
-rw-r--r--lib/tests/var/statefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tests/var/statefile b/lib/tests/var/statefile
new file mode 100644
index 00000000..5002139c
--- /dev/null
+++ b/lib/tests/var/statefile
@@ -0,0 +1,5 @@
+# NP State file
+1
+54
+1234567890
+String to read