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 Joe Savage
      Hi all,
      I hope you're having a great day and are keeping safe.
      I'm having an issue with setting up email notifications via SMTP to Office365. I've followed the document on setting Pulseway up to talk with Office365. I've also been in touch with support on this and haven't been satisfied with their answer.
      Have any of you linked this up successfully? If so, which IP addresses do you have whitelisted? Is there anything obvious I'm missing?
      I've set up a relay and can't see any attempt at mail delivery via 365.
      Cheers!
      Joe

    • By kappnet
      Hi,
      I am looking for a script that can trigger a 3rd party patch policy ad-hoc outside the policy schedule.
      It´s going to be used to start the installation process of software on newly registered machines in a "Computer registered" workflow.
      If there is anyone with another take on that I´m all ears.

      Best regards

      Mike

       
       
    • By Andreas Schwanke
      Hi! 
      I was searching for an option in the mobile Android app to switch the language! Perhaps I'm just blind... 
      Thanks,
      BR, 
      Andreas 
    • By JaydenE55
      I would like to make a script that will run a batch file on my desktop. How do i do that?
    • By Parallax Abstraction
      Hey all.
      I've enabled 2FA on my Pulseway account but I'm having an issue with it constantly prompting for 2FA every time I try to use Remote Control on a system I manage from the Pulseway Dashboard application. I have the setting enabled in the WebApp to refuce the frequency of the prompts but it doesn't seem to have made much of a difference. I seem to be getting prompted every time. I'd honestly rather get prompted once when I launch the Dashboard application then every single time I want to remote to a system.
      Is there a way to stop these constant 2FA prompts without disabling it entirely? Thanks!
×
×
  • Create New...