z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

check_by_ssh bash script

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.

check_by_ssh bash script

Postby ammu440 » Fri Sep 16, 2022 1:59 am

Hi all, Looking forward to your suggestions
/usr/lib/nagios/plugins/check_by_ssh -C /usr/lib/nagions/plugins/check_scrip.sh -i /home/.ssh/id_rsa -H hostip -l icinga -E 5
UNKNOWN - check_by_ssh: Remote command '/usr/lib/nagions/plugins/check_script.sh' returned status 127
ammu440
 
Posts: 9
Joined: Fri Sep 09, 2022 9:24 am

Re: check_by_ssh bash script

Postby gormank » Fri Sep 16, 2022 2:09 pm

There's a troubleshooting nrpe document in the documentation pages. You might want to read it.
gormank
 
Posts: 1125
Joined: Tue Dec 02, 2014 12:00 pm

Re: check_by_ssh bash script

Postby cdevidal » Fri Sep 16, 2022 4:00 pm

Does the script work on the remote side?
cdevidal
 
Posts: 7
Joined: Wed Sep 14, 2022 11:12 pm

Re: check_by_ssh bash script

Postby ammu440 » Tue Sep 20, 2022 5:17 am

script does work on remote side.
ammu440
 
Posts: 9
Joined: Fri Sep 09, 2022 9:24 am

Re: check_by_ssh bash script

Postby cdevidal » Tue Sep 20, 2022 8:20 pm

Can you execute other scripts with check_by_ssh?
cdevidal
 
Posts: 7
Joined: Wed Sep 14, 2022 11:12 pm


Return to Open Source Nagios Projects

Who is online

Users browsing this forum: No registered users and 9 guests