Jump to content
Pulseway 9.14 🔥

Windows Client API

Windows Agent Client API / Plugins

  1. Hi, When a plugin returns a datetime (eg. in a simpleitem) it is formatted acording to the agent device language and timezone. Is it somehow possible to format/convert it so it match the mobile apps regional setting and timezone? Br, Martin.

  2. Started by Elliott,

    Hi all, I'm trying to follow the guide to starting to program a plug in but I'm falling at the first hurdle. I'm following the guide to "create your first plugin" https://www.pulseway.com/api/clientnet but when I get to where it says "From solution explorer rename "Class1.cs" to "SimplePlugin.cs" and open it. Now we need to add a project reference to our PulsewayClient.dll file which is located in the directory of Pulseway. See Figure B." I cannot for the life of me find a dll called PulseWayClient.dll. I presume it's taking about the installation directory of the pulseway agent, but this file does not seem to exist in any machine that I've checked and f…

  3. Started by psycik,

    And am thinking of writing a new one. But before I do there's a coupl eo fthings I'm wondering. With the plugin I see a simple page and a Group Page. Both of these have a standard information "I" or arrows icon. Is this customisable? Currently my plugin has three pages, and they're all of the main screen of the machine, whereas all the system plugins have a single entry on the machine screen, and a pretty icon. Lastly, is the order selectable? Plugins seem to default to after the power options.

  4. Started by Gurdeep Sira,

    Hi, I have installed POTS in MobilePCMonitor on two Windows Server 2008 R2 x64 SP1 servers. On the first server, I installed the plugin, and restarted the POTS service (although not required) and the menu has the POTS menu and relevant sub menus (anti-virus). However, this looks like the "simple" config file in the plugin dir. If I make a change in that config xml file and re-load the plugin and restart the service, the change is not picked up in POTS (e.g. change "PowerOfTheShell" to "sksjksjsjs" in the xml file). On the 2nd server, if I delete all but the nested (and largest) config xml file in the plugin dir, and install the plugin/restart the windows service, …

  5. Hi MMSOFT. Is there an easy way for using SetValueForKey and GetValueForKey without encrypting the data. Sometimes we want the plugin-data to be configured or manipulated directly via registry. If not, can anyone help providing a C# function that always will return the same registry key name as GetValueForKey/SetValueForKey uses? Best Regards, Martin.

  6. Started by gbrown481,

    has anyone seen or does anyone know how to create a notification that can be triggered when a file is created in a certain directory??? like a backup creating a log file after the job is complete?

    • 5 replies
    • 4.8k views
  7. I monitor my infrastructure using Nagios running on multiple Linux servers. I'm switching over to using Pulseway. There are a lot of things that Nagios does that Pulseway does not, so I'm looking to implement some of the important things using plugins. For starters, I'm planning on checking HTTP (speed of response, size of response, does the response contain key information). I want to expand to other network service checks (DNS, SMTP, IMAP) to ensure my infrastructure is always available. I am going to have multiple host and service checks run through the PluginDataCheck method of the ClientPlugin. I'm concerned that I might need to make these check…

  8. Started by meikelenboom,

    Hello, I'm developing a plugin to monitor a row amount in a sql server table. If it's above a certain amount I need to have a warning. To build a good application I want to configure the connectionstring and certain other values through a configuration screen. I'm able to popup the screen add a text box and close it. What I'm looking for is a small example on how to use the SetRegistryValue and the GetValueForKey in the form. Can anybody help me?

  9. Started by RKalfa,

    Hi, How to update plugins on customers' machines? I have an idea :-) Mayby I can do it in this way: - 2 plugins are needed - plugin no. 1 is the "main plugin" - plugin no. 2 is "updater", it waits for trigger - "updater" can unload "main plugin" dll from memory - then "updater" can download new dll file from "somewhere" - next new "main plugin" should be loaded. Or "updater" checks published (somewhere) "main plugin" version and if it is higher then try to update it as described above. Do you plan to make plugin updatable? Thx, Roman

  10. Started by Xander,

    How do you guys go about debugging your more complicated client plugins? Do you load and unload them constantly between builds / tests? Anyways, today I got tired of doing that (I have PW installed on a remote virtual machine so that increased the pain a bit), so I built a basic program that emulates the Pulseway interface (I specifically utilized the PW iOS interface as that is what I had available to me) and loads DLLs quickly. I then just made my class library project (i.e. my plugin project) start an external program (the PW Emulator) after building and passes the path to the dll as a parameter. I'm not quite done with it (only a few hours of work on it), so it…

    • 1 reply
    • 4.3k views
  11. Hello, In french, some messages sent by SendNotificationToAllDevices contain special characters such as é è à ù ... I've tried to encode these messages as UTF-8 string, but these characters are replaced by a black diamond containing a question mark, when shown, e.g. on the mobile app. I've trie HTML encoding but it shows the HTML code, not the correct character. Is there a way to pass french messages properly? Thanks in advance for your answer. Best regards, Guy

  12. Started by gbrown481,

    does anyone have a plug in to allow more than one notification to be sent for the same error id in event log? for example: If an event has occurred and a notification has been sent, then if the same event occurs, an event doesnt send. this is a tad annoying if we have two backup jobs that run on a server that report using the same event id, pc monitor only sends a notification for the first one. thanks. gary.

  13. Started by tsauter102,

    Hello, I am starting to write my first plugin to monitor a BackupExec server. The plugin works fine. But I try to query if the system can send notifications (via CanSendNotifications) and if not, put the message in a queue for later processing. However, the CanSendNotifications is always false. Even there are no messages send and all notifications cleared. Isn't this the correct way? Thank you for your help. Thorsten

  14. Hi all We’d like to start scripts on monitored systems using C# or Powershell, or JSON, or an API you have available. I’ve looked through your REST API documentation, but haven’t seen any details about starting a script there. We want to automate the starting of scripts via a trigger, rather than starting them manually. What API's, SDK's or methods are there available to achieve this? Thanks, Martin.

    • 2 replies
    • 4.3k views
  15. Started by patrick2206,

    I have a software on my computer that is called Koolance Thermal Management Software v2.1 the web site is http://koolance.com/tms-205-software-thermal-interface-controller (TMS-205) it has 10 temperature sensors and pumps and fans is there a way to get the temperature off of the software and see it on the iphone pc monitor thank you

  16. Started by Chris Roberts,

    Hey there I'm writing a simple plugin, but I've found that none of the input fields work through the web app. I can send input to the plugin from the mobile app (ints, dropdowns and datetimes), but none of the fields do anything besides show their title and subtitle from Chrome, Edge or Firefox. Is this a planned feature? It seems hugely restrictive if this can only be done from mobile as that's only how a tiny fraction of our engineers will work. Thanks

  17. Started by meikelenboom,

    I'm looking for a way to delay this check. I'm running queries and I don't want to burden my server too much. Does anybody have a best practice to decrease to, for example every five minutes.

  18. Basically I'm trying to make (for now) just a services viewer app! I have some success with: public override Groups GetAdditionalComputerDetails() { Groups container = new Groups(); // Group of "Group" types. Group mainGroup = new Group("Services"); // Group of "SimpleItem" / "CommandItem" / "PageItem" with the title Simple Plugin. ServiceController[] services = ServiceController.GetServices(); foreach (ServiceController service in services) { SimpleItem thisitem = new SimpleItem(service.DisplayName.ToString() + ":", service.Status.ToString()); mainGroup.Items.Add(thisitem); } container.Add(mainGroup); // Adding the mainGroup Group to Groups container. …

  19. Started by Dilbert,

    Hi, I want to write a plugin for changing user configurations. As the list of users is long (more than 100) it would be great, if I could create a page with the list of the users and a "search" textbox. If the user enters some text, the list will be filtered. It could be like the "Search users" feature of the Active Directory Server Module. Is this somehow possible with a plugin? Dilbert

  20. Started by Cesar Lacerda,

    There is the ability to download or upload a file via ftp from terminal pc monitor?

  21. Hi I wrote a couple of plugins for Pulseway. The plugins often provide a "global" state and a more detailed status on a seperate page. Currently, I have to create a group containing 2 items in the GetAdditionalComputerDetails method. The first item is a SimpleItem with the title "XYZ state" and a subtile "OK". The second item is a PageItem "Details...". It would save a lot of space if I could have a PageItem which has an icon in front (so that the state is easily visible). Dilbert

  22. Started by ale,

    Is there a way to do the following: "Use an API to call pulseway to trigger a workflow of any type on a server"

  23. This Plugin will check for the certain Windows event log entry which was logged during the boot process into the system log. You will have the option to configure Windows event id (any ID) and the time. Read_startup_events.dll

    • 0 replies
    • 3.7k views
  24. Started by frankrossouw,

    Hi We're writing a little plugin that sends notifications. The problem is that the plugin now spams notifications and does not take heed of the CanSendNotification. I get 40 of the same message appearing. public override void PluginDataCheck() { if (CanSendNotifications) { SendNotificationToAllDevices("bLAHbLAH", NotificationPriority.CRITICAL); } } Am I misunderstanding what the cansendnotifications property means? I am under the impression that this property will switch to false after I send the first time? And only after viewing the message will it revert back to true? Kind Regards Frank

    • 3 replies
    • 3.7k views
  25. Started by NESTEC Austria,

    Just launched a Plugin to integrate well known and common used ALTARO VMBACKUP into Pulseway. In the current version 0.3.0 we support latest Backup State and Access to the history log of every VM thats backes up at least once; Future plans including trigger a backup job and more. Short Video: https://youtu.be/ZvUta6wND0o (german titles)