Page 1 of 1

Character limitations in service name

Posted: Mon Sep 17, 2018 11:35 am
by nms
Hi,

is there a limitation in the service monitor name in xi, limited to 128bytes? It seems that after 128 bytes are skipped, the rrd graph icon will not be visible and hence there will be no rrd graph for that service.
Can this be somehow altered?

Rgds,

Re: Character limitations in service name

Posted: Mon Sep 17, 2018 4:01 pm
by ssax
I was able to replicate this, as a workaround you can run this command:

Code: Select all

echo "alter table nagios_objects modify name2 varchar(255) CHARACTER SET latin1 DEFAULT NULL;" | mysql -uroot -pnagiosxi nagios
Then apply configuration so that it updates the information in the table and it should resolve the issue.

Thank you

Re: Character limitations in service name

Posted: Tue Sep 18, 2018 2:39 am
by nms
Thank you!

That solves the issue.

Re: Character limitations in service name

Posted: Tue Sep 18, 2018 1:18 pm
by ssax
Great, are we okay to mark this as resolved and lock the topic?

Re: Character limitations in service name

Posted: Wed Sep 19, 2018 1:49 am
by nms
Yes, please.
Thanks once again