= Zenoss network monitoring =

== Reset/Recover gui password ==
 * Old installation under /opt/zenoss
 * Login with [[https://community.zenoss.com/forum/community-home/digestviewer/viewthread?MessageKey=c1b76fa8-92ff-4e96-a8d8-133ad6a95295&CommunityKey=1518fed6-b03e-410b-81b9-f2240ed9037a&tab=digestviewer|From]]
   1. sudo su zenoss -
   2. cd /opt/zenoss
   3. ls inituser   (should not be there)
   4. Create inituser for zope to use when restarting {{{
$ zpasswd.py -u admin -p MyCr@zyPwd /opt/zenoss/inituser }}}
   5. Check zope uid, and restart, then login {{{
ps ax | grep runzope
$ zopectl restart }}}
   6. Login to web page, with admin and pwd above.

== Check for 9+ rabbitmq q's used by zenoss ==
 * as root {{{
sudo rabbitmqctl -p /zenoss list_queues }}}

== Check that Zenoss services are running ==
{{{
zenoss status
}}}

== Fix POS errors ==
 * check db {{{
$ zodbscan
[2020-10-09 11:29:13] Initializing zodbscan v2.0.0 (detailed log at /opt/zenoss/log/toolbox/zodbscan.log)
[2020-10-09 11:29:14] Examining 550261 items in the 'zodb' database:
[2020-10-09 11:32:39]  CRITICAL  [==================================================] 100% [7 Dangling References]
}}}

 * fix pos errors with --fix flag{{{
$ findposkeyerror --fix --debug
}}}


----
CategoryLinux