Description

This article provides a work-around for fixing issue related to App-visibility data not visible in SD UI.

Symptoms

- Application visibility data/reports will not work
- Application visibility Page will show "No data available"

Solution

Workaround: 

Step 1:
To verify if Application Visibility polling got stopped by SD run below command 

[root@space-005056a9771e ~]# mysql -u jboss -p$(grep mysql.jboss /etc/sysconfig/JunosSpace/pwd | awk -F= '{print $2}') appvisibility_db -e 'select * from Poll;'
mysql: [Warning] Using a password on the command line interface can be insecure.
+-------+----------+----------------+
| id    | domainId | lastPolledTime |
+-------+----------+----------------+
| 15275 |        1 1710336600000 |
+-------+----------+----------------+
 
[root@space-005056a9771e ~]# date
Tue Apr  9 03:09:24 GMT 2024

Note: Epoch time can converted using Epoch time conversion tool. As per above snippet last polling happened by SD on "1710336600000 = Wednesday, 13 March 2024 13:30:00"
 

Step 2: We need disable application visibility polling manually under application setting, to disable polling redirect to below page

NMP Administration -> Application -> Right click on Application Visibility -> Click on modify application setting -> enable the "Stop Polling" checkbox to disable to Appvisibility polling -> then click on modify to save the configuration. 


Step 3: Need to delete "lastPolledTime" from appvisibility database with below command 

Note: "id" details you can fetch if from step 1 command output. 

[root@space-005056a9771e ~]# mysql -u jboss -p$(grep mysql.jboss /etc/sysconfig/JunosSpace/pwd | awk -F= '{print $2}') appvisibility_db -e 'delete from Poll where id=15275;'
mysql: [Warning] Using a password on the command line interface can be insecure.
[root@space-005056a9771e ~]#

 

Step 4: Restart jboss services by following KB [Junos Space] How to restart JBOSS
 

Step 5: Once the Space WebUI came up start the Application Visibility polling by starting the the polling under application settings 

NMP Administration -> Application -> Right click on Application Visibility -> Click on modify application setting -> Disable the "Stop Polling" checkbox to enable to Appvisibility polling -> then click on modify to save the configuration. 


Step 6 : Verify if Application Visibility Polling timer got updated successfully 

[root@space-005056a9771e ~]# mysql -u jboss -p$(grep mysql.jboss /etc/sysconfig/JunosSpace/pwd | awk -F= '{print $2}') appvisibility_db -e 'select * from Poll;'
mysql: [Warning] Using a password on the command line interface can be insecure.
+-------+----------+----------------+
| id    | domainId | lastPolledTime |
+-------+----------+----------------+
| 15380 |        1 |  1712635200000 |
+-------+----------+----------------+

[root@space-005056a9771e ~]# date
Tue Apr  9 04:06:39 GMT 2024

Now the polling timer will be updated example:  "1712635200000 = Tuesday, 9 April 2024 04:00:00". By default Application Visibility data will be fetched in every 15 minutes and Polling timer will be updated in every 15 minutes. 

 

Note : If you face any issues, please contact JUNIPER JTAC Support for assistance.

 

Modification History

10th April 2024 : Article Published