Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
What I basically want is a kind of help on the command option "message"... I want it to accept escape characters such those used in C like \n or in powershell such as `n... I want to do a new line so it displays more information on that block.
Hello, @Dearl1988. As far as I know, Nagios should accept \n newline character in the status information field. Have you tried that? I think it's using PHP for the front end so most characters supported in PHP they should work in Nagios.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
@Dearl1988 , Glad that worked for you. Yes, so basically those plugin output fields will accept most of the HTML characters. But I don't think it's possible to make special characters from C be recognized in that context. If your goal is just to be able to pass these characters as a string then you could try to use some standard escape characters like \, you could try wrapping your message in single quotes, etc. Or is there any way to configure your NSCA check to return the output without special characters?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.