Search found 5 matches

by liebherrjohan
Tue Sep 18, 2018 7:57 am
Forum: Nagios XI
Topic: Change default to use single quotes
Replies: 8
Views: 1674

Re: Change default to use single quotes

Good morning, I have tried inserting the \ before the special character. This caused the command to add the \ to the password instead of using it as an escape character. I also attempted to enter the password in the configuration wizard using the escape character which resulted in the same results a...
by liebherrjohan
Mon Sep 17, 2018 3:13 pm
Forum: Nagios XI
Topic: Change default to use single quotes
Replies: 8
Views: 1674

Re: Change default to use single quotes

Good day, I added the single quotes to the resource.cfg and then edited the command and took out the double quotes. This works. resource.cfg: $USER9$='abcdefg' check command: check_xi_service_ifoperstatusnag!8!-v3 -u USERNAME -A $USER9$ -x AES -X $USER9$ -a SHA -l authPriv When I try to add a host u...
by liebherrjohan
Fri Sep 14, 2018 10:06 am
Forum: Nagios XI
Topic: Change default to use single quotes
Replies: 8
Views: 1674

Re: Change default to use single quotes

Hello, liebherrjohan . I think the reason why double quotes are failing is likely because you're using some special characters in the password and Nagios is not able to escape them properly. I suggest creating a custom macro with the password in the resource.cfg file, and in the network switch/rout...
by liebherrjohan
Fri Sep 14, 2018 9:03 am
Forum: Nagios XI
Topic: Change default to use single quotes
Replies: 8
Views: 1674

Re: Change default to use single quotes

Hi, I have done the steps to do this: 1: Added $USER9$=PASSPHRASE_HERE to the resource.cfg file 2: Used the $USER9$ in the password field during the network switch/router wizard The initial scan completes successfully, but the status for each port is still failing with "UNKNOWN - No info is bei...
by liebherrjohan
Thu Sep 13, 2018 3:22 pm
Forum: Nagios XI
Topic: Change default to use single quotes
Replies: 8
Views: 1674

Change default to use single quotes

Hello, I require help with the creation of services for a host. When using the Network Switch wizard to add a switch to Nagios XI the wizard completes successfully. The wizard creates the following check command for interface status (passphrase has been replaced with ****): /usr/local/nagios/libexec...