Menu

#6 exporting = 'unterminated quoted string'

open-accepted
nobody
None
5
2002-08-30
2002-07-29
No

The illegal_object_name_chars and
illegal_macro_output_chars can't have " in them, otherwise
nagios breaks. Nagat was exporting these two items to
nagios.cfg, but I couldn't find a nagiosdata.inc line for
them.

So, I added:

'illegal_object_name_chars'
=>
array('string','~!$%^&*|?,()=',FALSE),
'illegal_macro_output_chars'
=> array('string','~$&|',FALSE),

to nagiosdata.inc and
then the export included these two items, and nagios no longer
complained about "unterminated string" while running.

-
john

Discussion

  • Geert Vanderkelen

    • labels: 419002 -->
    • milestone: 199108 -->
    • status: open --> open-accepted
     
  • Geert Vanderkelen

    Logged In: YES
    user_id=131327

    Hey John,

    I updated it in the CVS. Saving/showing those special chars
    give some problems, have to fix that.

    Thanks for reporting them,

    Geert

     

Log in to post a comment.

MongoDB Logo MongoDB