Is there any way to reset the Monitor ID number?

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
l8nite4me
Posts: 36
Joined: Sun May 09, 2004 4:29 am
Location: US Alabama

Is there any way to reset the Monitor ID number?

Post by l8nite4me »

I was wondering if there is anyway to manually reset the monitor ID number in the console view. During setup and playing around with different cameras my monitor id's have become skewed. I would like to manually id them or reset back to default. Is this possible?

Thanks
L8nite
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

You can manually set them by going into mysql as in

mysql zm

and then typing

update Monitors set Id = 1 where Id = 27;

however you will have to ensure that there is no monitor with that Id already present. You will also need to update the other tables, so whilst still in mysql do

update Zones set MonitorId = 1 where MonitorId = 27;
update Events set MonitorId = 1 where MonitorId = 27;
update Stats set MonitorId = 1 where MonitorId = 27;
update TriggersX10 set MonitorId = 1 where MonitorId = 27;

then quit mysql

quit

though you will probably only need the first two of these. You will also need to update the allowed MonitorIds field of any users you have created with restricted ids if the restriction is not to be messed up.

Phil,
User avatar
l8nite4me
Posts: 36
Joined: Sun May 09, 2004 4:29 am
Location: US Alabama

Post by l8nite4me »

Thanks Phil
Locked