Search Results

Search: Posts Made By: sundari127
13,789
Posted By sundari127
this worked agent.sh...
this worked

agent.sh "hostname=${Host}&port=${Port}&username=${User}&password=${Pass}&jvm=UsedMemory,${Warning},${Critical}"
13,789
Posted By sundari127
cool thanks that worked :)
cool thanks that worked :)
13,789
Posted By sundari127
Hi Srini The agent.sh has a requirement that...
Hi Srini

The agent.sh has a requirement that the parameters passed should be within single quotes.
13,789
Posted By sundari127
Hi Srini i updated my script(a.sh) as below ...
Hi Srini

i updated my script(a.sh) as below

Host=$1
Port=$2
User=$3
Pass=$4
Warning=$5
Critical=$6
SCRIPT_LOC=/opt/agent/
$SCRIPT_LOC/agent.sh...
13,789
Posted By sundari127
Hi #/bin/bash set -x Host=$1 Port=$2 ...
Hi

#/bin/bash
set -x
Host=$1
Port=$2
User=$3
Pass=$4
Warning=$5
Critical=$6
SCRIPT_LOC=/opt/agent/...
13,789
Posted By sundari127
Passing parameter with single quote to shell script
Hello All,

I am trying below

+++++++++
#/bin/bash
set -x
Host=$1
Port=$2
User=$3
Pass=$4
Warning=$5
Critical=$6
SCRIPT_LOC=/opt/agent/...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy