Welcome to docs.opsview.com

Differences

This shows you the differences between two versions of the page.

opsview:push-notifications-duplicate-uuid [2013/02/07 13:25]
tvoon
opsview:push-notifications-duplicate-uuid [2013/02/07 13:26] (current)
tvoon
Line 23: Line 23:
===== How to resolve ===== ===== How to resolve =====
If you have a duplicated UUID, then you need to reset the UUID: If you have a duplicated UUID, then you need to reset the UUID:
-  - Logon to command line as the ''opsview'' user. The default password is ''opsview'' +  * Logon to command line as the ''opsview'' user. The default password is ''opsview'' 
-  - Switch to the nagios user: ''sudo su - nagios'' +  * Switch to the nagios user: ''sudo su - nagios'' 
-  - Reset the existing UUID by running:+  * Reset the existing UUID by running:
<code> <code>
perl -e 'use lib "/usr/local/nagios/lib"; use Opsview; Opsview->db_Main->do("update systempreferences set uuid=NULL")' perl -e 'use lib "/usr/local/nagios/lib"; use Opsview; Opsview->db_Main->do("update systempreferences set uuid=NULL")'
</code> </code>
-  - Restart opsview-web:+  * Restart opsview-web:
<code> <code>
/etc/init.d/opsview-web restart /etc/init.d/opsview-web restart
</code> </code>
-  - Confirm that the UUID is different in the About page+  * Confirm that the UUID is different in the About page
When this is done, you then need to go into the Opsview Mobile app for iOS and then select Settings (top left corner) => Done. Wait 10 seconds - the spinner will appear meaning your iOS device is communicating with our push servers to register the new UUID. When this is done, you then need to go into the Opsview Mobile app for iOS and then select Settings (top left corner) => Done. Wait 10 seconds - the spinner will appear meaning your iOS device is communicating with our push servers to register the new UUID.
Navigation
Print/export
Toolbox