Nagator is a command line Nagios configuration viewer written in Python. It use pynag and clint as dependencies.
Install with pip:
pip install nagator
Print list of every hosts (templates not include) with legend:
nagator --list host --options small,legend --address '(.*)'
Print service templates:
nagator --list service --register 0
There are some aliases examples:
# Print pretty list of every hosts (templates not include) alias nagator-hosts="nagator --list host --options small --address '(.*)'" # Same with services alias nagator-services="nagator --list service --options small --host_name '(.*)'"
- If service or host have no register option and give filter with register 1, print it
- Implement hostdependency, hostdependency
- Better view for timeperiods
See LICENSE.