Character limitations in service name

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Character limitations in service name

Post 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,
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Character limitations in service name

Post 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
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Character limitations in service name

Post by nms »

Thank you!

That solves the issue.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Character limitations in service name

Post by ssax »

Great, are we okay to mark this as resolved and lock the topic?
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Re: Character limitations in service name

Post by nms »

Yes, please.
Thanks once again
Locked