How to check the status of a source from Perl?
Posted: Sun Oct 18, 2009 9:36 pm
Hi,
I'm on ZM 1.24.2 and I've been having some issues with an IP camera. These issues are wireless network related, but it brought me to a question.
I'm looking for a way to get an email alert when a source goes offline for whatever reason - i.e. appears red in the console. I can't seem to find an event filter setting to achieve this, so I've been trying through Perl.
So far I've been using the "zmdc.pl status" for particular sources, checking if it isn't in a running state.
Am I chasing the right direction or is there a better method to go about this, either in Perl or from the ZM console?
Thanks,
Mark.
I'm on ZM 1.24.2 and I've been having some issues with an IP camera. These issues are wireless network related, but it brought me to a question.
I'm looking for a way to get an email alert when a source goes offline for whatever reason - i.e. appears red in the console. I can't seem to find an event filter setting to achieve this, so I've been trying through Perl.
So far I've been using the "zmdc.pl status" for particular sources, checking if it isn't in a running state.
Am I chasing the right direction or is there a better method to go about this, either in Perl or from the ZM console?
Thanks,
Mark.