Topic
  • 41 replies
  • Latest Post - ‏2014-02-27T20:27:04Z by Lee Wei
Lee Wei
Lee Wei
599 Posts

Pinned topic Report Available: Computer Browser

‏2011-12-15T00:20:19Z |
I have posted a new Computer Browser report (app) at the Wiki.
Please check it out.

Link: Computer Browser Report at the TEM Wiki

Lee Wei
  • SystemAdmin
    SystemAdmin
    890 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T13:40:10Z  
    Any way to import this into Web Reports show it shows in the reports list?
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T19:10:04Z  
    John,

    No, not at the moment, the report is written to run outside of Web Reports.
    I did this to get more screen space.

    However, if more people are interested, I can create a version to run in the Web Reports sandbox.

    Lee Wei
  • cstoneba
    cstoneba
    182 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T19:28:18Z  
    I don't use the analysis "BES Inventory and License", causing the "Software Installed" tab to complain. is it possible for me to use a different analysis to populate data in this tab?
  • SystemAdmin
    SystemAdmin
    890 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T19:30:36Z  
    • Lee Wei
    • ‏2011-12-15T19:10:04Z
    John,

    No, not at the moment, the report is written to run outside of Web Reports.
    I did this to get more screen space.

    However, if more people are interested, I can create a version to run in the Web Reports sandbox.

    Lee Wei
    Lee,
    I just want a way to link to it in Web Reports actually. So our users can find it without having to send them the link.
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T20:42:06Z  
    • cstoneba
    • ‏2011-12-15T19:28:18Z
    I don't use the analysis "BES Inventory and License", causing the "Software Installed" tab to complain. is it possible for me to use a different analysis to populate data in this tab?
    Chris,

    When you say "complain", are you getting a message or error?
    I am asking because I had intended to provide information if the Analysis is not available, rather than error out.
    What property would you like to link that to? It is obviously hard coded in the report, and also checking different properties for different operating system.

    Lee Wei
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T20:49:59Z  
    Lee,
    I just want a way to link to it in Web Reports actually. So our users can find it without having to send them the link.
    John,

    We can create 2 types of links and make them reports that can be clicked on.
    The first will redirect to the Computer Browser, but keep it within the Web Reports frame. However, reauthentication still needed.
    The second would be to redirect to a new browser window, thereby gaining the full browser screen estate.

    In either case, create the reports by going Explore Data -> Custom.
    Paste in the following code, then save the report.

    Example 1 to redirect but staying within Web Reports
    
    <script type=
    "text/javascript"> <!-- window.location = 
    "/computerbrowser/computerbrowser.html" 
    // --> </script>
    


    Example 2 to redirect to new browser window
    
    Computer Browser has been started in another window.   <script language=
    "javascript" type=
    "text/javascript"> <!-- ComputerBrowser= window.open(
    "/computerbrowser/computerbrowser.html",
    "ComputerBrowser"); 
    // --> </script>
    


    Hope that works for you.

    Lee Wei
  • cstoneba
    cstoneba
    182 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T21:05:14Z  
    • Lee Wei
    • ‏2011-12-15T20:42:06Z
    Chris,

    When you say "complain", are you getting a message or error?
    I am asking because I had intended to provide information if the Analysis is not available, rather than error out.
    What property would you like to link that to? It is obviously hard coded in the report, and also checking different properties for different operating system.

    Lee Wei
    no, it is just a message saying that the analysis is not activated. It is not an error.

    Get you say in which file the property is hard coded in and I can go tweak it for our environment, or is it a big blue secret?

    thanks
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-15T21:19:16Z  
    • cstoneba
    • ‏2011-12-15T21:05:14Z
    no, it is just a message saying that the analysis is not activated. It is not an error.

    Get you say in which file the property is hard coded in and I can go tweak it for our environment, or is it a big blue secret?

    thanks
    All the source codes are fully available and editable.
    For the Computer Browser, the JavaScript file is here:
    C:\Program Files (x86)\BigFix Enterprise\BES Server\BESReportsServer\wwwroot\computerbrowser\computerbrowser.js

    And then you can search for "Application Information (Windows)".

    Lee Wei
  • Bhargav.Balakrishnan
    3 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-19T10:22:41Z  
    Hi Team,

    I have downloaded this Computer Browser. I am able to login into the Web console of BigFix but not able to see any client PC's or any other information. I have followed the same step provided in this website "https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/Computer%20Browser". Please guide me on how to do this?

    Regards,

    Bhargav.Balakrishnan
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-19T17:02:42Z  
    Hi Team,

    I have downloaded this Computer Browser. I am able to login into the Web console of BigFix but not able to see any client PC's or any other information. I have followed the same step provided in this website "https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/Computer%20Browser". Please guide me on how to do this?

    Regards,

    Bhargav.Balakrishnan
    Hi Bhargav,

    Can you please describe the error that you are getting.
    From the screen shot, it looks like the page has loaded correctly, and you should search for the computers of interest using the Search panel on the left.
    If you check "Global" and open the "Browse to a retrieved property..." drop list, do you see the properties?
    An obvious search might be to select "OS" and then "Win" as the search string.

    Lee Wei
  • cstoneba
    cstoneba
    182 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-22T19:36:54Z  
    • Lee Wei
    • ‏2011-12-15T21:19:16Z
    All the source codes are fully available and editable.
    For the Computer Browser, the JavaScript file is here:
    C:\Program Files (x86)\BigFix Enterprise\BES Server\BESReportsServer\wwwroot\computerbrowser\computerbrowser.js

    And then you can search for "Application Information (Windows)".

    Lee Wei
    LeeWei, in the computerbrowser.js, when it references a site, would the name of the site be the display name (e.g. TestSite), or the name that TEM gives the site (e.g. CustomSite_TestSite) ?
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-22T19:52:18Z  
    • cstoneba
    • ‏2011-12-22T19:36:54Z
    LeeWei, in the computerbrowser.js, when it references a site, would the name of the site be the display name (e.g. TestSite), or the name that TEM gives the site (e.g. CustomSite_TestSite) ?
    Chris,

    First of all, be careful that "bes sites" inspector returns the normal external sites that you subscribe from IBM/BigFix.
    "bes custom sites" inspector is used to return custom sites that you create locally.

    For custom sites, "name" and "display name" will return the same values.
    For something like "CustomSite_XXX", use the "tag" property.

    The "display name" property was added a little later to serve 2 purposes.
    • We want to change the "name" of a site, but don't want to break code that might depend on it. For example, for historical reason, Patches for Windows (English) has the name "Enterprise Security". So "display name" is used to be more informative.
    • "display name" is also useful to embed local language support. So the "display name" for Patches for Windows (Spanish) will be in Spanish.

    Lee Wei
  • cstoneba
    cstoneba
    182 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-22T19:59:17Z  
    • Lee Wei
    • ‏2011-12-22T19:52:18Z
    Chris,

    First of all, be careful that "bes sites" inspector returns the normal external sites that you subscribe from IBM/BigFix.
    "bes custom sites" inspector is used to return custom sites that you create locally.

    For custom sites, "name" and "display name" will return the same values.
    For something like "CustomSite_XXX", use the "tag" property.

    The "display name" property was added a little later to serve 2 purposes.
    • We want to change the "name" of a site, but don't want to break code that might depend on it. For example, for historical reason, Patches for Windows (English) has the name "Enterprise Security". So "display name" is used to be more informative.
    • "display name" is also useful to embed local language support. So the "display name" for Patches for Windows (Spanish) will be in Spanish.

    Lee Wei
    Got it working. thanks!
  • cstoneba
    cstoneba
    182 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-22T20:20:20Z  
    In your next version, can you have SuSE logo detection? It looks like you are detecting "sle", but not "suse". thanks
    operatingSystemParam.toLowerCase().contains('sle'))
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-22T20:37:44Z  
    • cstoneba
    • ‏2011-12-22T20:20:20Z
    In your next version, can you have SuSE logo detection? It looks like you are detecting "sle", but not "suse". thanks
    operatingSystemParam.toLowerCase().contains('sle'))
    Chris,

    Got it, thanks and I have included "suse".
    If anyone else notice a platform not detected, please let me know with the OS string.
    For Windows computers, the "Computer Manufacturer - Windows" property.

    Lee Wei
  • Bhargav.Balakrishnan
    3 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-23T06:48:51Z  
    Hi Team,

    I have downloaded this Computer Browser. I am able to login into the Web console of BigFix but not able to see any client PC's or any other information. I have followed the same step provided in this website "https://www.ibm.com/developerworks/mydeveloperworks/wikis/home?lang=en#/wiki/Tivoli%20Endpoint%20Manager/page/Computer%20Browser". Please guide me on how to do this?

    Regards,

    Bhargav.Balakrishnan
    Respected Sir,

    As you said, that was exactly correct. I thought that it would provide me an info just like the application. When I put "XP" it provided me with all the information's. It's really useful. Sir, I would like to know how to add an image in the web reports that is Bank's Logo in the report. I mean the script for that. Awaiting for your reply.

    Thanks a lot for the support.

    Regards,

    Bhargav.Balakrishnan
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2011-12-23T16:34:27Z  
    Respected Sir,

    As you said, that was exactly correct. I thought that it would provide me an info just like the application. When I put "XP" it provided me with all the information's. It's really useful. Sir, I would like to know how to add an image in the web reports that is Bank's Logo in the report. I mean the script for that. Awaiting for your reply.

    Thanks a lot for the support.

    Regards,

    Bhargav.Balakrishnan
    Bhargav,

    The report is in HTML and JavaScript, so we will need someone who is familiar with HTML.
    The file that we need to modify is ComputerBrowser.js.
    Around line 967 is where the HTML is used to display the title and version number.
    
    html: 
    '<nobr>' + AppTitle + AppVersionDisplay + 
    '</nobr>'
    


    Lee Wei
  • SystemAdmin
    SystemAdmin
    890 Posts

    Re: Report Available: Computer Browser

    ‏2012-01-13T21:21:21Z  
    • Lee Wei
    • ‏2011-12-22T20:37:44Z
    Chris,

    Got it, thanks and I have included "suse".
    If anyone else notice a platform not detected, please let me know with the OS string.
    For Windows computers, the "Computer Manufacturer - Windows" property.

    Lee Wei
    Lee,

    I'm having trouble with the 'Action History' tab. Every time I click on it, it crashes the my web report server and I have to restart the service. This is in my Dev environment with only 17 machines.

    Any ideas?

    thanks,
    Baraq

    Console version 8.1.551.0 with DSS-SAM Version 1.3.1.597
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2012-01-15T02:15:49Z  
    Lee,

    I'm having trouble with the 'Action History' tab. Every time I click on it, it crashes the my web report server and I have to restart the service. This is in my Dev environment with only 17 machines.

    Any ideas?

    thanks,
    Baraq

    Console version 8.1.551.0 with DSS-SAM Version 1.3.1.597
    Wow Baraq,

    I cannot figure out how this is missed. Obviously it worked at some point.
    I just tried it on my version 8.2.1093 and got the same crash.
    The simple Session Relevance that will cause the crash is:

    ((if (exists source fixlets of it) then ("good") else ("bad")) of actions of action results of it) of bes computers whose (id of it = 322607)

    So I am going to file a bug and have engineering look at it.
    Thanks for taking the trouble to report this.

    Lee Wei
  • SystemAdmin
    SystemAdmin
    890 Posts

    Re: Report Available: Computer Browser

    ‏2012-01-16T09:19:07Z  
    • Lee Wei
    • ‏2012-01-15T02:15:49Z
    Wow Baraq,

    I cannot figure out how this is missed. Obviously it worked at some point.
    I just tried it on my version 8.2.1093 and got the same crash.
    The simple Session Relevance that will cause the crash is:

    ((if (exists source fixlets of it) then ("good") else ("bad")) of actions of action results of it) of bes computers whose (id of it = 322607)

    So I am going to file a bug and have engineering look at it.
    Thanks for taking the trouble to report this.

    Lee Wei
    Hi Lee,

    Firstly - what a great report. I just showed it to some of our project managers who are always after server reports from me, they can do it themselves now! Thanks.

    One little thing though (there always is isn't there.... ;) )
    Is it, or would it, be possible to display the server name only once if there are multiple values returned? e.g. when I select Subnet Address from the Global property, any computer with more than one IP address on that subnet gets multiple entries in the list on the left.

    Thanks,
    Mark.
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2012-01-16T16:26:29Z  
    Hi Lee,

    Firstly - what a great report. I just showed it to some of our project managers who are always after server reports from me, they can do it themselves now! Thanks.

    One little thing though (there always is isn't there.... ;) )
    Is it, or would it, be possible to display the server name only once if there are multiple values returned? e.g. when I select Subnet Address from the Global property, any computer with more than one IP address on that subnet gets multiple entries in the list on the left.

    Thanks,
    Mark.
    Mark,

    What you mentioned makes sense.
    I have created a version to prevent duplicates.
    Please replace C:\Program Files (x86)\BigFix Enterprise\BES Server\BESReportsServer\wwwroot\computerbrowser\computerbrowser.js with the file attached (version 0.93).

    Lee Wei
  • UrosZ
    UrosZ
    2 Posts

    Re: Report Available: Computer Browser

    ‏2012-04-03T11:08:05Z  
    • Lee Wei
    • ‏2012-01-16T16:26:29Z
    Mark,

    What you mentioned makes sense.
    I have created a version to prevent duplicates.
    Please replace C:\Program Files (x86)\BigFix Enterprise\BES Server\BESReportsServer\wwwroot\computerbrowser\computerbrowser.js with the file attached (version 0.93).

    Lee Wei
    If I check "Global" and open the "Browse to a retrieved property..." drop list, I dont see the properties
    Its says "loading, please wait" and nothing happens. I'm using IE9 with compatibility mode and chrome 18, same results.
  • Lee Wei
    Lee Wei
    599 Posts

    Re: Report Available: Computer Browser

    ‏2012-04-03T16:35:40Z  
    • UrosZ
    • ‏2012-04-03T11:08:05Z
    If I check "Global" and open the "Browse to a retrieved property..." drop list, I dont see the properties
    Its says "loading, please wait" and nothing happens. I'm using IE9 with compatibility mode and chrome 18, same results.
    Hello UrosZ,

    This means that the application is having problem connecting to your Web Reports server via SOAP.
    What version of TEM are you using? This should work with any 8.x version.
    In IE9, you can access the error console via function F12, or Menu-->Tools-->F12 developer tools-->Console tab.
    There might be errors there that will give us some hints.

    Lee Wei
  • Nem0
    Nem0
    2 Posts

    Re: Report Available: Computer Browser

    ‏2012-05-02T05:00:32Z  
    Love the Computer Browser. Great Job.

    Is there any chance of adding the option to export to csv for the results?