Fix monitoring and add the publication monitoring.
Merge pull request #4041 from HassenRiahi/FixMonitoringAddPubMonitoring

Fix monitoring and add the publication monitoring.