Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple concurrent event handling is broken #59

Closed
pliablepixels opened this issue Nov 4, 2018 · 6 comments
Closed

multiple concurrent event handling is broken #59

pliablepixels opened this issue Nov 4, 2018 · 6 comments
Labels

Comments

@pliablepixels
Copy link
Member

Needs to be done before #58 is addressed

pliablepixels added a commit that referenced this issue Nov 4, 2018
pliablepixels added a commit that referenced this issue Nov 4, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
@vajonam
Copy link
Contributor

vajonam commented Nov 5, 2018

did a pull and ran it got this issue when trying to send mqtt.

11/04/18 20:58:58.285804 zmeventnotification[550].INF [main:584] [Monitor 1 event: last time not found, so sending]
11/04/18 20:58:58.286049 zmeventnotification[550].INF [main:584] [Sending notification over MQTT]
Can't call method "EventId" on unblessed reference at /usr/bin/zmeventnotification.pl line 847.

pliablepixels added a commit that referenced this issue Nov 5, 2018
@vajonam
Copy link
Contributor

vajonam commented Nov 5, 2018

Fixed by changing this. Some typos (+ instead of . ) and missing braces for blessed references.

  my $description = $alarm->{Name}.":(".$alarm->{EventId}.") Cause:".$alarm->{Cause};

@pliablepixels
Copy link
Member Author

Yup try again

@vajonam
Copy link
Contributor

vajonam commented Nov 5, 2018

still need to change that plus to a dot

my $description = $alarm->{Name}.":(".$alarm->{EventId}.")-".$alarm->{Cause};

That works

@pliablepixels
Copy link
Member Author

Just did. Thx

pliablepixels added a commit that referenced this issue Nov 5, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
pliablepixels added a commit that referenced this issue Nov 5, 2018
@pliablepixels
Copy link
Member Author

Closing. Please leave comments directly in #60

pliablepixels added a commit that referenced this issue Nov 6, 2018
#59 reworked concurrent event handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants