Last active
December 22, 2015 18:59
-
-
Save halcyonardency/6516312 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sep 10 14:55:35 SOMEHOST collectd[20478]: -1 Type `three/gauge' isn't defined. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Plugin exec> | |
Exec "_graphiteuser" "/opt/g/testexec.py" | |
</Plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import time, sys | |
value = str(int(time.time())) | |
print( "PUTVAL \"one/two/three/gauge-foobar\" interval=10 N:" + value) | |
sys.stdout.flush() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python | |
import time, sys | |
value = str(int(time.time())) | |
print( "PUTVAL \"one/two/gauge-foobar\" interval=10 N:" + value) | |
sys.stdout.flush() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment