check_by_ssh remote command failed @@@@@@@

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post by scottwilkerson »

scottwilkerson wrote: I am presuming the cacti user executes the command correct?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
yellowdog
Posts: 20
Joined: Mon Dec 02, 2013 7:22 am

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

Post 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 ?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked