Unsolved
This post is more than 5 years old
8 Posts
0
1626
June 20th, 2018 01:00
Operation failed. Error code: 0x1000018
Hi guys!
I want create monitoring to replication sessions status in Nagios.
I run next command and get next result.
uemcli -d x.x.x.x -u xxxxx -p XXXxxxXXX /prot/rep/session show
Operation failed. Error code: 0x1000018
There is a syntax error in the command. Please recheck the command syntax. (Error Code:0x1000018)
But when i run that's command from my Linux server i have sussed result.
What it this?
No Events found!



ThomDaleyPPI
1 Rookie
•
108 Posts
0
June 20th, 2018 09:00
The 'w' in show is capitalized: shoW. Try it again but make it lowercase.
--Thom
Inishev
8 Posts
0
June 20th, 2018 22:00
No its mistake in line in my question.
In real all in lowercase.
Rainer_EMC
4 Operator
•
8.6K Posts
0
June 21st, 2018 02:00
if your command works manually but not in a Skript then you need to troubleshoot your Skript - its doing something wrong
could be extra character, not escaping special characters in password, missing env, .....
Inishev
8 Posts
0
June 21st, 2018 03:00
thanks for your reply
I think, that is exactly STDIN and STDOUT problem in my case!
I will try rewriting script and than inform you!
ThomDaleyPPI
1 Rookie
•
108 Posts
0
June 21st, 2018 08:00
One other thing you may want to consider is saving the username and password locally like so:
uemcli -sslPolicy store -d X.X.X.X -u support -p password -saveUser
Then you can issue uemcli commands without passing the credentials in each time you execute as in:
uemcli -d x.x.x.x /prot/rep/session show
Inishev
8 Posts
0
June 22nd, 2018 03:00
Very thanks
kelleg
4 Operator
•
4.5K Posts
0
June 26th, 2018 09:00
Was your question answered correctly? If so, please remember to mark your question Answered when you get the correct answer and award points to the person providing the answer.
Remembering to mark the question Answered helps others with similar problems and awarding points helps motivate people to take the time answer you questions. Forgetting this may affect responsiveness.
glen