mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
added versioning
This commit is contained in:
parent
a94e45a7c7
commit
8ac3faba25
@ -24,6 +24,7 @@ import psutil
|
||||
|
||||
global module_list
|
||||
module_list = []
|
||||
version = "1.1"
|
||||
|
||||
|
||||
#########################################################################################
|
||||
@ -382,7 +383,7 @@ def discover(osyst, servicelist):
|
||||
elif osyst == "Linux":
|
||||
lnx_service(servicelist, memcpu)
|
||||
else:
|
||||
print ("\nPandora FMS Autodiscovery plugin.")
|
||||
print ("\nPandora FMS Autodiscovery plugin v{}".format(version))
|
||||
print ("Checks the status of the services in list and monitors CPU and Memory for each of them.\n")
|
||||
print ("Usage:")
|
||||
print ("{} [options] [--usage]".format(argv[0]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user