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