Page 1 of 1

Nagios XI missing/cutting Output information

Posted: Tue Jun 02, 2015 3:56 am
by gpi
Hello all,

I am facing a strange issue on Nagios XI. I've created a command to monitor all mounted FS on an AIX server. Everything seems to be working properly. When I do the "Check Command" from the Nagios XI Service configure tab the output is partially cut. When the same command is commited from the system, the output shows properly all filesystems mounted, without any data loss.

Even more, when I check the Service Details from Home tab, I lose more data, missing more than the half which is showed in the "Check Command" output (which this outout was already missing some information).

Is there any character limit in the "Check Command" output and in the Status Information from the Home Tab that is making me "lose" information? If so, is there a way to increase that limit?

Thanks in advance for your help.

Regards,

J.

Re: Nagios XI missing/cutting Output information

Posted: Tue Jun 02, 2015 9:23 am
by abrist
You will need to increase the column size. Run the following:

Code: Select all

echo "desc nagios.nagios_servicestatus" | mysql -t -pnagiosxi | grep "output\|perfdata"
echo "alter table nagios.nagios_servicestatus modify output varchar(50000);" | mysql -pnagiosxi
echo "alter table nagios.nagios_servicestatus modify long_output varchar(50000);" | mysql -pnagiosxi
echo "alter table nagios.nagios_servicestatus modify perfdata varchar(50000);" | mysql -pnagiosxi
echo "desc nagios.nagios_servicestatus" | mysql -t -pnagiosxi | grep "output\|perfdata"

Re: Nagios XI missing/cutting Output information

Posted: Wed Jun 03, 2015 2:51 am
by gpi
Like a charm.

Many thanks :)

Regards,

J.

Re: Nagios XI missing/cutting Output information

Posted: Wed Jun 03, 2015 9:10 am
by abrist
No problem. Have a good one!