OSDN Git Service
(root)
/
ti2
/
ti2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactoring...
[ti2/ti2.git]
/
linkpair
/
collect
/
agent
/
linux_agent.py
diff --git
a/linkpair/collect/agent/linux_agent.py
b/linkpair/collect/agent/linux_agent.py
index
3834877
..
32dd6bf
100755
(executable)
--- a/
linkpair/collect/agent/linux_agent.py
+++ b/
linkpair/collect/agent/linux_agent.py
@@
-9,9
+9,11
@@
from linkpair.collect.agent.base_agent import BaseAgent
class LinuxAgent(BaseAgent):
+
'''
Linux OS Collector Agent
'''
+
def run(self):
self.get_configuration()
@@
-31,4
+33,3
@@
class LinuxAgent(BaseAgent):
result = self._runner.exec_cmd("uname -r")
kernel_version = result[0].rstrip()
self._os_info[kernel_version] = kernel_version
-