Page 3 of 3

Re: check_by_ssh remote command failed @@@@@@@

Posted: Thu Jun 28, 2018 10:45 am
by scottwilkerson
scottwilkerson wrote: I am presuming the cacti user executes the command correct?

Re: check_by_ssh remote command failed @@@@@@@

Posted: Thu Jun 28, 2018 10:50 am
by scottwilkerson
You are likely going to need to give it a shell like /bin/bash

This is the doc we give people for check_by_ssh setup for XI
https://assets.nagios.com/downloads/nag ... ng_SSH.pdf

and a nagios user, even without a password usually has this

Code: Select all

nagios:x:500:100::/home/nagios:/bin/bash

Re: check_by_ssh remote command failed @@@@@@@

Posted: Thu Jun 28, 2018 11:30 pm
by yellowdog
I have already checked everything with the doc (3 times).

And nagios users's is already declared bin/bash in /etc/passwd

According to you, the problem is related with cacti user or nagios user ?

I repeat, I don't remeber cacti paswword, thus how can I reset it and might it be a bad idea to change it ?

Re: check_by_ssh remote command failed @@@@@@@

Posted: Fri Jun 29, 2018 7:35 am
by scottwilkerson
I'm not going to be much help.
I still don''t know if the cacti user is what is going to be executing this command.

If it is you would need to follow the doc but on the modify it so on the cacti server you need to give it a password because it currently doesn't have one.

Code: Select all

passwd cacti
Then follow the doc.

I cannot say if this will affect cacti, because we aren't the authors of that software.