a simple auth file for accessing remote plc
authorStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 21 Jun 2010 20:37:41 +0000 (20:37 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Mon, 21 Jun 2010 20:37:41 +0000 (20:37 +0000)
nagios/auth.py [new file with mode: 0644]

diff --git a/nagios/auth.py b/nagios/auth.py
new file mode 100644 (file)
index 0000000..101299b
--- /dev/null
@@ -0,0 +1,7 @@
+# A simple authentication file for access to plc:
+# NOTE: only hosts can be checked anonymously, users cannot be.
+
+#auth = {'Username' : '', 'AuthMethod' : 'password', 'AuthString' : ''}
+auth = {'AuthMethod' : "anonymous"}
+plc = "https://boot.planet-lab.org/PLCAPI/"
+