Hi all,
i have successfully setup traps for a device. I can easily see these traps with it's full content in the Status information (I recall i had issued a query in the database to set a no character limitation).
However when viewing the View Service History it seems there is a limitation, hence the trap is not shown completely.
Is there also a no limitation that can be set even here?
Attached is an example.
Rgds,
Matthew
Limitation of characters in View Service history
Limitation of characters in View Service history
You do not have the required permissions to view the files attached to this post.
Re: Limitation of characters in View Service history
Try updating the nagios_statehistory table in the DB, so that more data could be stored. You can run the following command from the command line:
If you offloaded mysql on other server, this command needs to be executed on the offloaded server.
Important: Do all of the necessary backups, snapshots, etc. prior to executing this command!
After you've increased the limit in the db, try sending a new trap to the Nagios XI server, and check to see if the output is cut off under the State History report.
Let us know if this helped.
Code: Select all
echo "use nagios;alter table nagios_statehistory modify output varchar(65535) not null;alter table nagios_statehistory modify long_output varchar(65535) not null;" | mysql -pnagiosxiImportant: Do all of the necessary backups, snapshots, etc. prior to executing this command!
After you've increased the limit in the db, try sending a new trap to the Nagios XI server, and check to see if the output is cut off under the State History report.
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Limitation of characters in View Service history
Hi,
Yes it solved the problem!
Thank you
Matthew
Yes it solved the problem!
Thank you
Matthew