Nagios xi change default account for ssh_proxy
-
- Posts: 4
- Joined: Tue Sep 01, 2020 12:37 pm
Nagios xi change default account for ssh_proxy
is their a way to change the default account for the ssh_proxy to a difrant account The"nagios" account does not match our user policy for names
-
- Support Tech
- Posts: 5045
- Joined: Tue Feb 07, 2017 11:26 am
Re: Nagios xi change default account for ssh_proxy
Welcome to the forum, @btaylorjr!
Do you mean the check_by_ssh plugin? If so, then you can use a different login. First, transfer the key over to the account on the remote machine:
and then use the "-l" option with the check_by_ssh plugin to specify the account:
These are small changes to the same commands that https://assets.nagios.com/downloads/nag ... ng_SSH.pdf outlines.
Do you mean the check_by_ssh plugin? If so, then you can use a different login. First, transfer the key over to the account on the remote machine:
Code: Select all
ssh-copy-id -i ~/.ssh/id_rsa.pub bob@192.168.55.33
Code: Select all
/usr/local/nagios/libexec/check_by_ssh -H 192.168.55.3 -l bob -C uptime
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.