Community
 
 
 

Radia Support

720 followers
 
Avatar
Paweł Korpisz

Extended Notify Security to remote notify for patches

Hello,

I would like to execute remote command to download patches but I have applied "Extended Notify Security to validate remote notify" https://radiasupport.accelerite.com/hc/en-us/articles/203659824 and when I type Radntfyc.exe localhost -l Token -p PASSWORD -e ENCRYPT Token it use command from the ZNFYCMDL Radntfyc localhost radskman ip=<core-ip>,dname=software,uid=$machine,cop=y,log=connect.log.

There is other way to run command remotely to agent to download patches (not software)?

Should I use some special switches for Radntfyc.exe or add special values for class Extended Security Notify in CSDB?

11 comments
0

Please sign in to leave a comment.

 
 

Previous 11 comments

Avatar
James Longo

use dname=PATCH when attempting a patch connect.

Comment actions Permalink
Avatar
Paweł Korpisz

Could you provide for me full command? Because it's not work for me.

Comment actions Permalink
Avatar
senthilkumar raju

use ZNFYCMDL as radskman ip=<core-ip>,dname=patch,uid=$machine,cop=y,log=patchconnect.log

Comment actions Permalink
Avatar
Paweł Korpisz

OK. Understand. But all that option are static.

And what if I want to notify client to install only one application with parameters sname=EXAMPLE_ZSERVICE ?

Comment actions Permalink
Avatar
senthilkumar raju

you are correct Pawel. if you want specific software then you should use sname=<name_of_software> clause in radskman command.

Comment actions Permalink
Avatar
Paweł Korpisz

And how to use it with that command? Radntfyc.exe localhost -l Token -p PASSWORD -e ENCRYPT Token ?

Or should I create for every ~500 application in my database ZNFYCMDL option?

There is some option to use it flexible or it is only static command?

Comment actions Permalink
Avatar
Fazahath Baig

Hi Pawel,

New instance named say for example :"SOFTINST" can be added to the ZNFYXSEC class with the command line that ends with a , (comma) in the ZNFYCMDL.

We can then create a Job template or supply the sname = <SERVICENAME> argument when launching and this command as shown below.

Radntfyc.exe localhost -l SOFTINST -p PASSWORD -e ENCRYPT SOFTINST sname=<SERVICENAME>

This way sname can be a variable and any service can be installed with just one instance created in the ZNFYXSEC. For more information/help on this please log a support case with Radia Support and we will be happy to help you set this up.

NOTE: Am using ZNFYNAME "SOFTINST" instead of "Token"

 

Regards

Fazahath

Comment actions Permalink
Avatar
Paweł Korpisz

Hi Fazahath,

It's not working for me. Probably because there is space sign in command.

I used command Radntfyc.exe localhost -l Token -p PASSWORDToken sname=BAUER_BDNFONTS02_EN,log=_Install_BAUER_BDNFONTS02_EN.log

Logs from file radexecd.log

NVD000001I [xsecure_set    ] 11:57:36 [RADEXECD / 0000079c] SYSTEM ---  parameters accepted[dname=SOFTWARE,cop=y sname=BAUER_BDNFONTS02_EN,log=_Install_BAUER_BDNFONTS02_EN.log]
NVD000001I [xsecure_set    ] 11:57:36 [RADEXECD / 0000079c] SYSTEM ---  validated ok to run[radskman] args[dname=SOFTWARE,cop=y sname=BAUER_BDNFONTS02_EN,log=_Install_BAUER_BDNFONTS02_EN.log]

And logs from _Install_BAUER_BDNFONTS02_EN.log

NVD000010A [RADSKMAN       ] 11:57:36 [RADSKMAN / 00000fc0] SYSTEM ---  CMD LINE = dname=SOFTWARE,cop=y sname=BAUER_BDNFONTS02_EN,log=_Install_BAUER_BDNFONTS02_EN.log
NVD000010V [RADSKMAN       ] 11:57:36 [RADSKMAN / 00000fc0] SYSTEM ---  Semaphore [Global\_RADSKMAN_] successfully locked after [0] seconds
NVD000010E [RADSKMAN       ] 11:57:36 [RADSKMAN / 00000fc0] SYSTEM --!  Error parsing command line rc [-15]

In my environemnt option ZNFYCMDL is radskman dname=SOFTWARE,cop=y without any space sign at the end.

Comment actions Permalink
Avatar
Fazahath Baig

The ZNFYCMDL needs to end with a comma, 

radskman dname=SOFTWARE,cop=y,

Comment actions Permalink
Avatar
Paweł Korpisz

Working like a charm!

Many thanks! :)

Comment actions Permalink
Avatar
Libor Janda

Hello Pawel,

you have to define more tokens in CSDB - like SWConnect for current, Patchconnect, UpdateOnly, Inventory etc. One for every action you want notify agents.

Comment actions Permalink

Top Contributors