Jump to content

After run only new notifications


mitch

Recommended Posts

I have used the rest api Publish and Notify to make a system in Pulseway.
When I run the api the system will be updated and there will be notifications of the devices I monitor. (if their are up or down)

But if I run the script I get alle the notifications that I don't want because the state isn't change of the devices.
Is there a php script that makes the Pulseway Notifiy api remember the state of the last send notification so there will only be send a notification if the state is change since the last send notification?

Kind regards,

Mitch

 

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...