Skip to content

Commit

Permalink
[CPCLOUD-2743] Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
skafandri committed Jan 13, 2025
1 parent e997045 commit 95d1411
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions agent360/plugins/diskusage.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ class Plugin(plugins.BasePlugin):


def run(self, config):
'''
Returns disk partitions usage statistics.
Example config for /etc/agent360.ini:
[diskusage]
enabled = yes
exclude = /dev/loop,/dev/snap,/squashfs,/cagefs-skeleton
'''

disk = {}
disk['df-psutil'] = []

Expand Down
2 changes: 1 addition & 1 deletion agent360/plugins/dovecot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def run(self, config):
Returns active dovecot IMAP and POP3 session and the current version.
Sudo permission to acces doveadm and dovecot commands are required.
Exampel config for /etc/agent360.ini:
Example config for /etc/agent360.ini:
[dovecot]
enabled = yes
'''
Expand Down
2 changes: 1 addition & 1 deletion agent360/plugins/postfix.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def run(self, config):
Monitoring of the Postfix MTA log and optionally the Postfix version and the mailqueue
Dependency: Pflogsumm log analyzer, sudo access
Exampel config for /etc/agent360.ini:
Example config for /etc/agent360.ini:
[postfix]
enabled = yes
log = /var/log/mail.log
Expand Down

0 comments on commit 95d1411

Please sign in to comment.