AppWorx, Dollar Universe and Sysload Community

 View Only
Expand all | Collapse all

Finding email address in DU Uprocs

  • 1.  Finding email address in DU Uprocs

    Posted Jul 03, 2018 11:41 AM

    Hi All,

     

    How can I find all email addresses entered in Uprocs notification area ?

    (we have hundreds of Uprocs, some have emails notification, not all)

     

    Thanks !

    Agnès

    (DU $U DollarU Dollar Universe)

    #email notification uprocNew



  • 2.  Re: Finding email address in DU Uprocs

    Broadcom Employee
    Posted Jul 05, 2018 04:40 PM

    One way to get this information would be to run the "uxshw upr" command and save the results into a file, and then filter on the output to get the email.
    For example, from the CLI, load the environment and then run "uxshw upr upr=* > file.txt".
    Open the file with an editor, such as Notepad++ and search on the word recipient.  This should then show you all the email addresses.



  • 3.  Re: Finding email address in DU Uprocs

    Posted Jul 09, 2018 05:00 AM

    Hi buria01, this is exactly what we do at our site, however every time we do this we have to then create a simple script to read through the file and extract the uproc name followed by the recipient (or whichever particular item we require). Do you know if there is a switch on the uxshw command where we can extract only the uproc name if it has a recipient? or only a uproc name if it has variables etc? can this be done via the CLI without having to extract all ths uproc information first?  



  • 4.  Re: Finding email address in DU Uprocs

    Broadcom Employee
    Posted Jul 09, 2018 09:37 AM

    Unfortunately, the uxshw command is not robust enough to provide this kind of detail.
    For more details on Dollar Universe commands, you could check the online documentation at:
    Dollar Universe Commands Guide 



  • 5.  Re: Finding email address in DU Uprocs

    Broadcom Employee
    Posted Jul 19, 2018 10:05 AM

    Hi,

     

    You can try the following commands:

     

    On UNIX:

    $UXEXE/uxshw upr upr=*|grep recipient


    On Windows:
    %UXEXE%\uxshw upr upr=*|findstr "recipient"

     

     

     

    Thanks

    Bobby



  • 6.  Re: Finding email address in DU Uprocs

    Posted Jul 19, 2018 10:33 AM

    Thanks for this Bobby, this is fine for listing all the email recipients, however what I also need is the uproc name along with the corresponding recipient fairly tricky for me as I only want the uproc name if it has an email, along with the recipient. I'm sure it's probably very simple in unix using either sed/awk however for me it feels like missing functionality from the product. Kind regards, Neil.



  • 7.  Re: Finding email address in DU Uprocs

    Posted Aug 28, 2018 05:46 AM

    Thanks to All for your answers and solution proposal,

    I'll test all this and will share my results here.

     

    Have a nice day ;

    Agnès



  • 8.  RE: Re: Finding email address in DU Uprocs

    Posted Mar 04, 2021 04:48 AM
    Hello,

    I was looking to do the same thing... Find uproc name which have a particular email address in recipient. 
    Unfortunately, the export format used by $u with uxshw is not very useful if you have to script something. 

    It would interesting to be able to export in xml or json. 

    Did someone manage to write a script ? if not, I'll do it myself ;-)

    Thx


  • 9.  RE: Finding email address in DU Uprocs

    Posted Mar 05, 2021 03:26 AM
    Use dependency checker 
    it does very well
    https://drive.google.com/drive/folders/10HCGXXzpeGsZz9tHpZBchrIoaRmmIRWN?usp=sharing

    ------------------------------
    Main director
    SynApps
    ------------------------------



  • 10.  RE: Finding email address in DU Uprocs

    Posted Mar 08, 2021 11:05 AM
    Thank you for sharing this, Eric! I will definitely be testing it out. 

    As an aside, it might be interesting to contribute this script to the Automic Marketplace:
    marketplace.automic.com.

    More people may be able to benefit from it there. 

    Thanks again!

    ------------------------------
    Regards,

    Domenico Cotugno
    Support Automation Apta Solutions
    ------------------------------



  • 11.  RE: Finding email address in DU Uprocs

    Posted Mar 09, 2021 05:55 AM
    welcome
    Yes I tried multiple times with PS in the past....Too huge activities to have time to share this definitively

    Have a nice week Domenico
    Regards
    Eric
    SynApps

    ------------------------------
    Main director
    SynApps
    #dollaruniverse
    ------------------------------



  • 12.  RE: Finding email address in DU Uprocs

    Posted Mar 09, 2021 02:23 AM
    Thank you !