NSClient++ Help (#1) - Service name with a $ sign in the name (#56) - Message List

Service name with a $ sign in the name

I have a windows service with a $ sign in the name. On my nagios webpage the second half of the name, after the dollar sign, gets cut off. If I put single quotes around it in the config file it still gets cut off but if I put double quotes around it, then for some reason, a second $ sign is added to the end of the name on the nagios webpage. Either way nagios cant find the service because it is looking for the wrong service name. Any ideas?

  • Message #82

    This one had me scratching my head for a while too.

    "$$" works for me.

    ie.

    Service MSSQL$BACKUPEXEC should be quoted MSSQL"$$"BACKUPEXEC

    Mat.

    • Message #814

      This one had me scratching my head for a while too.

      "$$" works for me.

      ie.

      Service MSSQL$BACKUPEXEC should be quoted MSSQL"$$"BACKUPEXEC

      Mat.

      Works fine to me! Thanks for this solution. Wil.

Subscriptions