Linking monitor over two zoneminder servers

Forum for questions and support relating to the 1.24.x releases only.
Locked
cinco
Posts: 1
Joined: Fri Jan 22, 2010 3:04 am

Linking monitor over two zoneminder servers

Post by cinco »

Hello!

I have two installations of Zoneminder, each on a different server and IP. To facilitate the understanding, i call server A and server B.

My goal is that the monitor in server B, also appear in the list of monitors in server A. Thus, I keep the user need to log into two servers to be able to view the monitors.

How can you do this? Or is it impossible?


Sorry for my poor English.
Thank you very much
dcbour
Posts: 12
Joined: Wed Oct 07, 2009 1:30 am

Post by dcbour »

Use the monitor on A as a source type remote (first tab) to track the local device monitor on B. Your other monitors on A are likely local devices. I've done similar just to track various activities and report them in one place. One group of monitors does nothing but recording. The other unit does all the alarm triggers, etc.
The host name will be either the external address or IP of the B monitor server
The path will be something like...
cgi-bin/nph-zms?mode=jpeg&monitor=20&scale=100&maxfps=5&user=admin&pass=abcdefg&connkey=1&rand=1

You get the monitor id by simply opening the device to view it's video and examining the source of the html on the B monitor

You can set your username and password. I found trouble using any type of authenication (auth_relay in options) other than plain.

If you have multiple monitors, you may wish to change the connkey and rand numbers. I found if they were absent or matched other remote monitors, I had trouble. Not sure what role they do play but seem necessary.

Finally, make sure your fps setting is reasonable for going through the network. I found the max I could get without errors was about 5fps but your mileage may vary.

Drop a line if you have any issues. Lot's of expertise on this forum...
D.
Dave
Locked