zmtrigger unable to write buffer

Forum for questions and support relating to the 1.28.x releases only.
Locked
pashdown
Posts: 11
Joined: Tue Oct 04, 2011 1:31 pm

zmtrigger unable to write buffer

Post by pashdown »

1.28 on Ubuntu 14.04 with AXIS cameras using zmtrigger. This error is keeping my System Log in alarm:

Date/Time
Component PID Level Message File Line
2014-11-11 10:39:28.473420 zmtrigger 19704 ERR Unable to write buffer '14|off|1415727568|45029 to connection Chan1 (10) zmtrigger.pl
2014-11-11 10:39:28.470770 zmtrigger 19704 ERR Unable to write buffer '14|off|1415727568|45029 , expected 24 bytes, sent : Broken pipe zmtrigger.pl
2014-11-11 10:39:28.223270 zmtrigger 19704 ERR Unable to write buffer '14|off|1415727568|45028 to connection Chan1 (10) zmtrigger.pl
2014-11-11 10:39:28.220170 zmtrigger 19704 ERR Unable to write buffer '14|off|1415727568|45028 , expected 24 bytes, sent : Broken pipe zmtrigger.pl
2014-11-11 10:33:34.028150 zmtrigger 19585 ERR Unable to write buffer '18|off|1415727214|45010 to connection Chan1 (10) zmtrigger.pl
2014-11-11 10:33:34.025670 zmtrigger 19585 ERR Unable to write buffer '18|off|1415727214|45010 , expected 24 bytes, sent : Broken pipe zmtrigger.pl
2014-11-11 10:32:01.622060 zmtrigger 19454 ERR Unable to write buffer '14|off|1415727121|45007 to connection Chan1 (10) zmtrigger.pl
2014-11-11 10:32:01.619220 zmtrigger 19454 ERR Unable to write buffer '14|off|1415727121|45007 , expected 24 bytes, sent : Broken pipe zmtrigger.pl
2014-11-11 10:32:01.290580 zmtrigger 19454 ERR Unable to write buffer '14|off|1415727121|45006 to connection Chan1 (10) zmtrigger.pl

It isn't isolated to these cameras either.
ChrisWalker
Posts: 3
Joined: Mon Apr 05, 2021 3:50 pm

Re: zmtrigger unable to write buffer

Post by ChrisWalker »

Are you still experiencing this issue?

I'm experiencing this issue as well and I made some changes to what the camera sends to ZoneMinder in order to clean this up a bit. It seems to work but I would like to see if you can make the same changes and confirm that my changes really did the trick.

For your trigger message, can you:
  • set the score to zero (comments in the Perl script states that this should be zero when action is off)
  • remove the cause (ignored when action is off)
  • remove the text (ignored when action is off)
Your trigger message should look like this: 14|off|0|||showtext

I'm wondering if the Perl script is getting tripped up if the score is non-zero and/or the cause and text are set whenever the action is off.

Thanks
Locked