summarylogtreecommitdiffstats
path: root/python2-temper.install
diff options
context:
space:
mode:
authorLaël Guillemenot2015-06-11 15:50:43 +0200
committerLaël Guillemenot2015-06-11 15:50:43 +0200
commit8e40e1830ac8e383026dcd018c0c8cdf5a0c65de (patch)
treee149d61977985b044aea52b921cd5cfebbfcce88 /python2-temper.install
downloadaur-8e40e1830ac8e383026dcd018c0c8cdf5a0c65de.tar.gz
Récupération en provenance de aur
Diffstat (limited to 'python2-temper.install')
-rw-r--r--python2-temper.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/python2-temper.install b/python2-temper.install
new file mode 100644
index 000000000000..0acb55f45da6
--- /dev/null
+++ b/python2-temper.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo "What to add to snmpd.conf"
+ echo ""
+ echo "To emulate an APC Battery/Internal temperature value, add something like this to snmpd.conf. The highest of all measured temperatures in degrees celcius as an integer is reported."
+ echo "pass_persist .1.3.6.1.4.1.318.1.1.1.2.2.2 /usr/bin/temper-snmp"
+ echo ""
+ echo "Alternatively, emulate a Cisco device's temperature information with the following. The first three detected devices will be reported as ..13.1.3.1.3.1, ..3.2 and ..3.3 . The value is the temperature in degree celcius as an integer."
+ echo "pass_persist .1.3.6.1.4.1.9.9.13.1.3 /usr/bin/temper-snmp"
+ echo ""
+ echo "Add --testmode to the line (as an option to snmp.py to enable a mode where APC reports 99°C and Cisco OIDs report 97, 98 and 99°C respectively."
+}