Description

This article explains the reason why SD-cloud runs the below commands on the SRX devices:

 

Jan 23 19:43:35 xxxxxxx mgd[48202]: %INTERACT-6-UI_NETCONF_CMD: User 'sduser' used NETCONF client to run command 'get-environment-information'

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_CMDLINE_READ_LINE: User '(authentication in progress)', command 'rpc command .set auth environment user root logname sduser host xxxxxxx agent mgd current-directory /var/home/sduser pid 48202 ppid 48063 '

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_JUNOSCRIPT_CMD: User '(authentication in progress)' used JUNOScript client to run command 'request-authentication user=root logname=sduser host=xxxxxxx agent=mgd current-directory=/var/home/sduser pid=48202 ppid=48063'

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_AUTH_EVENT: Authenticated user 'sduser' assigned to class 'super-user'

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_LOGIN_EVENT: User 'sduser' login, class 'super-user' <unknown>[48759], ssh-connection '', client-mode 'junoscript'

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_CMDLINE_READ_LINE: User 'sduser', command 'command rpc rpc command show chassis environment scc-dont-forward '

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_JUNOSCRIPT_CMD: User 'sduser' used JUNOScript client to run command 'get-environment-information'

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_JUNOSCRIPT_CMD: User 'sduser' used JUNOScript client to run command 'request-end-session'

Jan 23 19:43:35 xxxxxxx mgd[48759]: %INTERACT-6-UI_LOGOUT_EVENT: User 'sduser' logout

Solution

This is an expected behavior since SD-Cloud wants to monitor the health of the SRX device. After running the command, SD-cloud will end the session to clear the mgd process.

Modification History

2025-03-04 : Article Created