Brian Lakstins

Nagios like plugin infrastructure

2 posts in this topic

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 PaulB
      Hi All,
      New to the software and love its ease of use. I am looking for an update from the roadmap on when the custom reporting may be available?
      Things like asset reporting on all PCs with x of software (Eg. office 2010) or License numbers of x software.Have a microsoft audit for example and need to gather all the FPP license numbers!
      All the information you appear to have already from the summary and detail asset reports its just the selection of those items into one report.
      or if any one knows a script that performs that task? 
    • By itshero
    • By JaeN
      My company has been testing out PSA/RMM systems for about a year now. Hands down Pulseway has been the BEST, however it's looking likely we are NOT going to be using PW because you don't have 2 simple features MOST others have. LDAP Integration is CRITICAL for our end users & security. We want to seriously "DUMB IT DOWN" for them. Emails DO NOT ACCOMPLISH THIS. On a constant basis no matter how much training they (end Users) get, they more often than not send emails like "It doesn't work." or "I got an error." 
      Asking for further details beyond that kinda makes me wish I had become a dentist cause pulling teeth would probably be easier. For the same reason as stated above a web based ticket portal where we can control the "REQUIRED" fields would be amazing. This would give us the information we need to triage the incident and respond appropriately. We are looking for a system that makes us pro-active not re-active. Furthermore with the above LDAP integration some fields can be automatically populated like workstation and User (cause yes some people don't know how to spell their own name at times). With this Web Portal Ticket System we can make an easy button or desktop icon they can get right to without having to hunt for it. 
      In summery:  LDAP Integration and Web Based Ticket Portal. This could have made us customers for a very long time. 
    • By Hanfelt
      I tried to find a way to monitor hp and dell servers. Ive been using other more complex system that is doing a great job by finding all hardware sensors automatically via snmp.
      Pulseway is much more simple to use and configure though but it really lacks in hardware monitoring for server administrators. What i did was i created two files for event log that you can try out and import into your servers.
      I wish Pulseway would either add support for hp and dell server into their hardware module or rework the snmp module so we can add snmp templates for autodiscovery of hardware devices, like check_mk, nagios...
      Update my files didnt work that well i just tried them out on a hp server. I made a new one that i will try out some more and post here next week.
    • By Aaron Trujillo
      Bottom line... can i change the computer identifier to something new?
      I am using a copy of a VM.vhdx to create a new secondary VM.  However, the computer identifier is the same on both after setting them up.  What do I need to do to create a new computer identifier?  Deleting and reinstalling Pulseway is not enough, it still shows up with the same one.  I assume somewhere deep in the registry I need to delete some things to stop this from happening.