Search found 2 matches

by pizu
Fri Aug 27, 2021 3:23 am
Forum: Open Source Nagios Projects
Topic: by_ssh plugin issue
Replies: 2
Views: 1154

Re: by_ssh plugin issue

issue solved by doing the count from mysql itsfel, but it would be great if we could use this as the reply I wanted in my case was just 1 number and not that the query is ok etc..
by pizu
Wed Aug 25, 2021 10:37 am
Forum: Open Source Nagios Projects
Topic: by_ssh plugin issue
Replies: 2
Views: 1154

by_ssh plugin issue

Hi, Am trying to use the check_by_ssh using the below command: ./check_by_ssh -fqv -H remoteserver -C [ "sudo", "mysql -uusernamehere -ppasswordhere -s -e "use radius; select * from radacct WHERE acctstoptime IS NULL;" |wc -l" ] and am getting the below: -su: syntax err...