Jump to content
mitch

After run only new notifications

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

 

Share this post


Link to post
Share on other sites

Hi @mitch,

Thank you for contacting us. Unfortunately you will need to implement this logic in your php script. The rest API is not designed for tasks like this. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Content

    • By ARoode
      Does anyone have an update script for making and removing snapshots in VMware?
      I would like to use it together with Windows update scripts to search and install updates.
    • By knis
      I installed Pulseway on Ubuntu 16.10   64 bit.   It was success.
      I want only monitor HDD and CPU usage and Power off computer.
      I want disable other features in config.xml.
      How can I disable (I see mobile app) Users, Terminal, Scripts, Enter Maintenance Mode?
      Thanks!
    • By Xander C
      So just set up the network with all the computers added, But I keep getting this notification.
      "There was an error retrieving the notification."
      From an "Unknown System"
      anyone know what could be the cause?


      Thanks,
       
    • By sakis_s
      Hi! Can anyone please tell me how to get notified (monitoring my PC from an iOS device) when my computer (running windows 10) turns on? The reason is that i have give access to other users as well to turn it on and i want to get notified when this happens. Thanks in advance for your help!
    • By dpbklyn
      Hello and thank you in advance.
      Is there a way to have the default selection on noted be set to "Internal"  I would rather have a technician accidentally hit send on a note that is set to Internal than one that SHOULD be internal and have it accidentally sent to the client.
      Thank you,
       
      dp
×
×
  • Create New...