Unsolved

This post is more than 5 years old

8 Posts

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?

1 Rookie

 • 

108 Posts

June 20th, 2018 09:00

The 'w' in show is capitalized: shoW.  Try it again but make it lowercase.

--Thom

8 Posts

June 20th, 2018 22:00

No its mistake in line in my question.

In real all in lowercase.

4 Operator

 • 

8.6K Posts

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, .....

8 Posts

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!

1 Rookie

 • 

108 Posts

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



8 Posts

June 22nd, 2018 03:00

Very thanks

4 Operator

 • 

4.5K Posts

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

No Events found!

Top