Is it possible for Nagios to display a multiline repsonce in the WebUI?
I am trying to use an environmental check on my ProCurve switches which when ran from the CLI for one switch gives the following:
OK: All Environmental Sensors ok
Fan Sensor #1 = Good
Power Supply 1 Sensor #1 = Good
Power Supply 2 Sensor #1 = Good
Power Supply 3 Sensor #1 = Good
Power Supply 4 Sensor #1 = Good
RPS Power Supply Sensor #1 = notPresent
Over-temperature Sensor #1 = Good
External Power Supply 1 Sensor #1 = notPresent
External Power Supply 2 Sensor #1 = notPresent
However when it shows in the webUI it only shows the first line - OK: All Environmental Sensors ok
The only thing I can find seems to be about getting multiline information in email notifications but not the WebUI.
Any help or guidance greatly appreciated.
Multiline Responce in Nagios WebUI
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Multiline Responce in Nagios WebUI
Have you taken a look at the bottom half of this document yet?:
http://nagios.sourceforge.net/docs/3_0/pluginapi.html
This outlines service output lengths and plugin return limits.
http://nagios.sourceforge.net/docs/3_0/pluginapi.html
This outlines service output lengths and plugin return limits.
-
capeschools
- Posts: 10
- Joined: Tue May 15, 2012 2:05 pm
Re: Multiline Responce in Nagios WebUI
I did read that but to be honest my knowledge is not great - my Nagios install is from an RPM so its not compiled so if the only way would be for me to edit the mentioned file and recompile then I guess I'll have to pass as I really do not want to go down that sort of route.
Re: Multiline Responce in Nagios WebUI
Most of the ui changes require editing the cgi files. This requires a source install, or at least downloading the source, editing the necessary cgi, building the file, and copying it over into the cgi directory.
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.
"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.
-
capeschools
- Posts: 10
- Joined: Tue May 15, 2012 2:05 pm
Re: Multiline Responce in Nagios WebUI
Understood thanks...I was hoping it was just a case of adding something to the command definition