nagios-api
nagios-api copied to clipboard
Allow output width setting
nagios-cli appears to limit output to 100 characters wide. This means that some longer service statuses get truncated. It would be nice if the maximum width could be set in the configuration.
It appears that line width is hardcoded in commands/objects.py
line 320:
str(host.services[service].plugin_output)[:48]))
(PS: thanks for nagios-cli - I use it pretty much every day on servers where port-forwarding the Nagios HTTP interface is too cumbersome)