it-novum / openITCOCKPIT

openITCOCKPIT is an Open Source system monitoring tool built for different monitoring engines like Nagios, Naemon and Prometheus.
https://openitcockpit.io/
GNU General Public License v3.0
262 stars 50 forks source link

Output / Perfomance data truncated #1630

Open kbilev opened 7 months ago

kbilev commented 7 months ago

Describe the bug When a command output returns many metrics, it can happen that openITC truncates the Output and Performance Data. When the command is run directly on the host, all output is dispayed.

To Reproduce Steps to reproduce the behavior: Run /opt/openitc/nagios/libexec/check_nwc_health in mode interface-health on a switch or router with many interfaces. After +-41 metrics, probably depending on the length of the output per metric, the remaining output is cut off

Expected behavior openITCOCKPIT should consider all metrics returned by the command

Screenshots image

Versions

Additional context I don't think that this is a critical bug. One service in openITCOCKPIT should not monitor 20 different interfaces with 12 different metrics each I don't need a fix for this, but for Completeness’ Sake I opened the issue