Has anybody tried to use nimalarm to generate multiple lines alarm message so it would generate alarm like this:
message field line 1
message field line 2
message field line 3
I have tried to use \n or \n\r but it does not interpolate the extended formatting to newline. Is there anything that I might miss? Thanks.
I've also tried this without succeeding. It seems to me these are stripped before inserting the message to nas_alarms table. Would love to know if there's a way to do this!
I am sorry to say that the nas does not currently support any control characters.
You may like to add this to the ideas section.
I have worked around this in the past by using "\n" in alarm messages (which remained two characters in the NAS and was not treated as a new line) and then making sure that combination was interpreted as a new line when pushing alarms into an external ticketing system. But this does not help if you need to work with the alarms directly in the Alarm SubConsole or if you use one of the Nimsoft-provided gateway probes.