Access denied when using nxpush
-
Hi,
I'm trying to use nxpush (NetXMS 1.0.5) to update a DCI value manually but I am getting an Access Denied error.
Here is the command running on Windows Server 2003:
C:\Program Files\NetXMS\bin>nxpush -vv -H 10.166.149.132 -u admin -p <password> SV078102:71=0
AddValuePair: dciID="71", nodeName="SV078102", dciName="71", value="0"
Connecting to "10.166.149.132" as "guest"; encryption is disabled
NXCL: SendMsg("CMD_GET_SERVER_INFO", id:0)
NXCL: RecvMsg("CMD_REQUEST_COMPLETED", id:0)
NXCL: SendMsg("CMD_LOGIN", id:1)
NXCL: RecvMsg("CMD_LOGIN_RESP", id:1)
NXCL: Network receiver thread stopped
Unable to connect to the server: Access deniedI can log into the console with the username and password that I am using for nxpush.
Any ideas?
Thanks,
vic -
Hi!
Command line options are case-sensitive, so you should use -P instead of -p for giving password.
Best regards,
Victor -
-
When you configure DCI to receive values via nxpush, you should set it's "Origin" attribute to "Push Agent", like on attached screenshot.
Best regards,
Victor
-
-
No. But why you need that?
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login