Full Disk Metrics - Text Getting Truncated

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
parthiv39731
Posts: 8
Joined: Mon Dec 28, 2015 1:14 pm

Full Disk Metrics - Text Getting Truncated

Post by parthiv39731 »

Hi,
we are using one of the community plugins ( https://exchange.nagios.org/directory/P ... ks/details)
for getting the “Full Disk Usage” metric .

The data from the plugin is being pulled using the api url (http://XX.XX.XX.XX/nagiosxi/backend/?cm ... t=6bm9jkb0). This returns the usage of all the disk mount points.
The problem is when the number of disks attached to the machine are more, the output which comes in the <status-text></status-text> is trimmed. Looks like Nagios is not allowing more than 255 characters.

following is a sample response from the API -
<status_text>All drive usage is healthy. Drive(s) checked: N: (Used 122639 MB of 204818 MB, 59.88%), K: (Used 76653 MB of 143378 MB, 53.46%), J: (Used 36147 MB of 71698 MB, 50.42%), G: (Used 63654 MB of 102418 MB, 62.15%), F: (Used 6030 MB of 51218 MB, 11.77%), E: (Us</status_text>

If you look at the above response from the API the information related to drive E has been truncated.

Is there any way to get full status text?

Thanks
Parthiv
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Full Disk Metrics - Text Getting Truncated

Post by Box293 »

This KB article will resolve your problem:

https://support.nagios.com/kb/article.php?id=478
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked