Jump to content
Brian Lakstins

Nagios like plugin infrastructure

Recommended Posts

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 checks run concurrently so that I don't block the PluginDataCheck method and make it take a long time.  They are network service checks, so if there are problems some could take up to their timeout (like 30 seconds).  Is this a valid concern?  Is there a certain amount of time that PluginDataCheck needs to run in before it times out?

My next concern was organization and notifications. If multiple checks fail, I'd like to get multiple notifications.  This is currently limited to 1 per plugin.

I was thinking that I could use the Cloud API to create a service for every check that I run.  That way each one could send it's own notifications and I could also organize the checks into groups instead of having them related to the system that's doing the monitoring.  Would that be an abuse of the Cloud API?


Share this post

Link to post
Share on other sites

Hi Brian,

Welcome to the Pulseway community and Merry Christmas :lol:.

The 'PluginDataCheck' method will be invoked from a background thread so it will not influence other Pulseway internal monitors and it will never timeout. Plugins are not limited to 1 active notification per instance, there is an overload to the SendNotificationToAllDevices method which accepts a boolean flag that controls whether the notification can recur or not.

In regards to the Cloud/REST APIs, you wouldn't be 'abusing' the system. You are free to use all exposed methods in our APIs to your own liking, we enforce our rate limits on the server side but they are really high and configured to only trigger when something is definitely wrong in an implementation (I.e. infinite loop of repeating notifications).


Share this post

Link to post
Share on other sites

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

  • Similar Content

    • By ElasticIT
      Hi Guys,
      Not sure if this has been requested before so apologies in advance if it has. I had a customer with a slow PC and wanted to add the Disk Queue Length performance counter to see if that was causing the slowness however didn't want to have to log into her machine. Normally I would go via the Dashboard -> Edit Computer Settings and make whatever changes were necessary. However Performance Counters can't seem to be added this way as there is no Add button:

      Is this a bug or missing feature? If it's missing, it would be handy to have as you can pretty much do everything else from here and it's not always convenient having to log into the users machine
    • By Aspect
      I'm reasonably new to PW. I've just on-boarded 50 endpoints, and it automatically monitors Automatic services. That great, but Services like Bio-metric and Remote Registry; whilst configured as automatic, aren't always started.. So constant notifications.
      I know how to remove the service monitor, but is there an easy way to exclude certain services from being monitored globally?
    • By penzal
      iptime Broadband Route is in use. I'm trying to boot my computer from a cell phone to a cell phone.
      For example, the DDNS address provided in iptime Broad Bridge is referred to as ABC.iptime.org
      Is there any way to boot the computer from outside?
      Currently, it doesn't work well if you want to boot your computer and boot from the outside to the outside of your computer. However, it works well with other applications.
    • By DigitalDentist
      In the active directory module we can see users that are locked out, is it possible to add users with expired passwords as well. 
      Instead if searching for a user sometimes I just want to see a list of users, would it be possible to show all users Instead of searching for them?
      Reason being it's a quick way to help clients with expired passwords and a quick way to see any abnormal accounts in AD. 
    • By JohnnyJoker
      we'd like to move our pcmonitor database from the current SQL Server (2014 Standard) in one Domain to another SQL Server (2016 Enterprise) in a different domain. The Pulseway Enterprise/Admin Server won't change and is already a member of the target domain.
      As far as I remember the process would be:
      Stop Pulseway Services Backup DB on old SQL Server Create SQL Login for the Service on the new SQL Server Restore DB on new SQL Server Edit the connectionstring in the Registry (HKLM\SOFTWARE\MMSOFT Design\PC Monitor Admin\DatabaseConnectionString) The connection string is encrypted - what would be the required format? Edit the connectionstring in the Hosting folder for the follwing web.config files ..\Hosting\Service\web.config Start Pulseway Services Did I miss anything important? If not, all I'd need would be the format of the connectionstring in the registry
      Cheers, Jonathan