Host Status Detail page - Alias Display Length

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Host Status Detail page - Alias Display Length

Post by TBT »

The Alias field has a character limit (of 64) when displayed on the Host Status Details page for any network element. Are we wrong to think this wasn't always the case, and also, is there a way to display the entire text field in these views?

Example, the text field is cut off: Court - Physical Internal Switch - Stack (ICRM / Corporate LAN - Second Floor, Room 2034)
hostdetails.PNG
You do not have the required permissions to view the files attached to this post.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Host Status Detail page - Alias Display Length

Post by lmiltchev »

Try expanding the size by running:

Code: Select all

echo 'alter table nagios_hosts modify alias mediumtext not null;' | mysql -uroot -pnagiosxi nagios
Note: If you changed your "default" db password or if you are using an offloaded db, modify the above command.

Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Host Status Detail page - Alias Display Length

Post by TBT »

That works. For the sake of asking, what is the purpose of truncating that field, aesthetics?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Host Status Detail page - Alias Display Length

Post by tmcdonald »

There might not have been any specific reason beyond "I need a limit for this field and 64 seems long enough".
Former Nagios employee
Locked