Trap message not fully displayed in the GUI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
deepavaidya
Posts: 80
Joined: Sun Oct 06, 2013 8:23 am

Trap message not fully displayed in the GUI

Post by deepavaidya »

Hi,
We are getting traps from an application server. When we see traps in /var/log/messages we can see the entire trap message but it displays only a part of it in the GUI which is meaningless. The main information is truncated. Please can you help us in displaying the entire trap message in the Nagios xi GUI.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Trap message not fully displayed in the GUI

Post by abrist »

How big is the output? Could you post a sample of one of the returned checks? We can increase the max size of the db column for plugin output, we just need to know what value to suggest.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
deepavaidya
Posts: 80
Joined: Sun Oct 06, 2013 8:23 am

Re: Trap message not fully displayed in the GUI

Post by deepavaidya »

Hi Abrist,

we have increased the long_output column in the table nagios_servicestatus of nagios database to 10000(default is 8192). Are we increasing the correct colum and table? if not please let us know the correct column and table information.
after increasing the column size, we have restarted my sql service and nagios service. do we need to restart the http service as well? and please let me know if anything needs to be changed in php script which pulls the information from the database.

the trap message in the /var/log/messages :

Jul 20 07:39:39 snmptrapd[16165]: 2014-07-20 07:39:39 <UNKNOWN> [UDP:]:41516->]]:#012.1.3.6.1.2.1.1.3.0 = Timeticks: (377461014) 43 days, 16:30:10.14#011.1.3.6.1.6.3.1.1.4.1.0 = OID: .1.3.6.1.4.1.19808.100.0.1#011.1.3.6.1.4.1.19808.100.1.1.0 = STRING: "rhino.facility.alarm.manager"#011.1.3.6.1.4.1.19808.100.1.2.0 = STRING: "Major"#011.1.3.6.1.4.1.19808.100.1.3.0 = STRING: "1405838389704"#011.1.3.6.1.4.1.19808.100.1.4.0 = STRING: "Alarm 102:154906702704077 [SbbNotification[service=ServiceID[name=OSCSMonitorService,vendor=xx,version=4.3.1.0],sbb=SbbID[name=MonitorSbb,vendor=xx,version=4.3.1.0]],OSCS.PeerNWEntitiyFailure.10.213.87.20,OSCSCallServerService] was raised at 2014-07-17 16:01:43.687 to level Major #011Peer NW entity 10.213.87.20 is Out of Service"

The trap message in the GUI
This notification is sent when a Resource Adaptor changes state rhino.facility.alarm.manager Major 1405944177211 Alarm 102:154906702704142 [SbbNotification[service=ServiceID[name=OSCSMonitorService,vendor=xx,version=4.3.1.0],sbb=SbbID[name=MonitorSbb,vend
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Trap message not fully displayed in the GUI

Post by abrist »

long_output is not actually used by the XI details tables. You want to increase the column size for "output" instead. Changing the table should be all that is needed.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
deepavaidya
Posts: 80
Joined: Sun Oct 06, 2013 8:23 am

Re: Trap message not fully displayed in the GUI

Post by deepavaidya »

Hi,

Now output is fine. We are able to see the entire message. But the service history doesn't show the entire message. Please can you confirm the column name for this.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Trap message not fully displayed in the GUI

Post by tmcdonald »

The history won't show the full output for older checks because that information was not recorded prior to resizing the table. Are post-size-change records showing up?
Former Nagios employee
Locked