Skip to content

Commit

Permalink
about-me: add "ncdu" to tools
Browse files Browse the repository at this point in the history
  • Loading branch information
NavidSassan committed Nov 22, 2023
1 parent 4660b47 commit b27635a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion check-plugins/about-me/about-me
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ except ImportError:


__author__ = 'Linuxfabrik GmbH, Zurich/Switzerland'
__version__ = '2023112101'
__version__ = '2023112201'

DESCRIPTION = 'Reports a quick overview about the host dimensions and installed software.'

Expand Down Expand Up @@ -1635,6 +1635,12 @@ def find_tools(): # pylint: disable=R0915
'installed': output is not False,
}

output = run_cmd('command -v ncdu')
s['ncdu'] = {
'display-name': 'ncdu',
'installed': output is not False,
}

output = run_cmd('command -v nmap')
s['nmap'] = {
'display-name': 'nmap',
Expand Down

0 comments on commit b27635a

Please sign in to comment.