mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-26 19:08:12 +00:00
Add the suggest command
This commit is contained in:
parent
cdedc3af5d
commit
7d79f288f5
1 changed files with 5 additions and 0 deletions
|
@ -31,6 +31,11 @@ def main():
|
||||||
except Exception, IndexError: mode = ""
|
except Exception, IndexError: mode = ""
|
||||||
wildcard = sys.argv[0].split("prosody_")[1].split("_")[0]
|
wildcard = sys.argv[0].split("prosody_")[1].split("_")[0]
|
||||||
|
|
||||||
|
if mode == "suggest":
|
||||||
|
print "c2s"
|
||||||
|
print "s2s"
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
if wildcard == "c2s":
|
if wildcard == "c2s":
|
||||||
if mode == "config":
|
if mode == "config":
|
||||||
print "graph_title Prosody C2S Connections"
|
print "graph_title Prosody C2S Connections"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue