Page 1 of 1

Mobo Beep on error

Posted: Wed Mar 22, 2006 3:46 pm
by jameswilson
If an error occurs (obviously not a fatal one) where zm cannot do what it thinks it can ie record etc video loss etc, can the mobo beeper like er beep. Ideally this would be an enable/disable option. and there could be 2 grades of fault, intermittent and a more serious continous. I ask for this as i had a system that got corrupted and it was streaming great but wouldnt playback as even though image were being written the db couldnt tie them up as it had a problem. Plus the mocord indicators were orange but they didnt tell me till something happened. A beep would have driven them mad and i would have been told about that (purely just to shut it up!!)

Thanks

Posted: Thu Mar 23, 2006 5:01 pm
by zoneminder
If anyone knows how to trigger a beep then it would be relatively easy to add as a trigger.

Posted: Fri Jul 14, 2006 12:20 am
by jameswilson
http://www.carcosa.net/jason/software/beep/
Is all the info i can find that i understand

I have found various refences to printf("\a") and /7

I also found this
http://freshmeat.net/projects/beep/

let me know if any of these are any good so i can start looking again if need be.
I suppose if its made to bee p on error it can also beep on motion detection, camera disconnect etc etc?

http://www.developer.com/open/article.php/631191
Above is something in C in case you want to integrate it instead of another dep?

Regards
James

Posted: Fri Jul 14, 2006 10:50 am
by zoneminder
The freshmeat project looks the right sort of thing. I use SmoothWall and that does a triple ascending beep when ready which is cool, so it would probably be more useful to have a small number of differnet patterns and tones.

Posted: Fri Jul 14, 2006 11:10 am
by jameswilson
I agree. It would be nice if we could turn on varios 'feedback' noises too. The obvious ones are
General Fault
Camera Fault
Motion alarm/alert
Zm start
zm stop
zm change run state
anyone else care to add

Posted: Wed Oct 04, 2006 7:22 pm
by jameswilson
Hi Phil, sorry to bump this up, but i had a hd issue today and we didnt know, until we needed to playback! Also a Status page like the alarm one would be good with a basic healthcheck. I could then hook this into zm4ms and errors could be reported to end users. I could also write a monitoring app that would check all server are ok etc from the same page

Posted: Thu Oct 05, 2006 3:27 pm
by zoneminder
Are you still talking about the beeps? Or just a general system health page?

If there a simple way to monitor disk health, maybe there is a /proc file that includes disk errors? If so then it should be fairly simple to poll it. However it may be that plugging that kind of thing into Nagios would give more functionality.

Posted: Thu Oct 05, 2006 8:47 pm
by jameswilson
Im thinking both sorry!
Im not so much thinking of disk health etc only zm health. Whats wrong would take investigation or nagios plugins etc

Ideally from mine only point of view as i use mocord or record only
If for any reason its not recording id like it to be made public! I would also like a health page which would show

disk usage
oldest recording
currunt global fps
running/stopped etc
all enabled cams ok
and a table of how the current monitors are set, ie non, monitor, modect etc

Then once this is in place i suppose we could turn beeps on for them too. From my point of view beeps would be more use that sound card outlets as i tend to disable to audio and never fit speakers. I think fancy noises should be part of the client we/I eventually get round to writing

Thanks Phil