nagios-api icon indicating copy to clipboard operation
nagios-api copied to clipboard

Allow output width setting

Open jefft opened this issue 6 years ago • 0 comments

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)

jefft avatar Apr 18 '18 06:04 jefft