Wednesday, April 13, 2011

nagios notes

escape the special characters.
This does not work:
check_command  check_win_proc!"SQL Server \(Sunbelt\)"
nor:
check_command  check_win_proc!"SQL Server \(Sunbelt\)"
These two works:
check_command  check_win_proc!"SQL Server \\(Sunbelt\\)"
check_command  check_win_proc!"SQL Server \\\(Sunbelt\\\)"
--

No comments:

Post a Comment