Monitoring Proofpoint appliances

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Monitoring Proofpoint appliances

Post by emartine »

I was just told that one of our Proofpoint systems experienced a queue issue last night and I was asked to monitoring the queues on these appliances. I have not been able to find any docs on how to monitor proofpoint devices. Anyone know of any snmp checks that can be done?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Monitoring Proofpoint appliances

Post by mcapra »

Is your use case covered by an API call?

https://help.proofpoint.com/Threat_Insi ... umentation
Former Nagios employee
https://www.mcapra.com/
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Monitoring Proofpoint appliances

Post by emartine »

Why do you ask?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Monitoring Proofpoint appliances

Post by mcapra »

If there was an API call that returned the metric you're looking for, or something you could use to extrapolate out for what you wanted, it probably wouldn't be that tricky to build a plugin around it.

That and I've been unable to find much documentation about comparable CLI tools or what queuing mechanism they use on the back-end.
Former Nagios employee
https://www.mcapra.com/
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Monitoring Proofpoint appliances

Post by tmcdonald »

APIs are a great way to monitor something, as they generally have solid documentation, authentication, and sometimes parameters you can set. SNMP, while widely available, is not always an option, and lacks a lot of the flexibility that an API provides. If Proofpoint exposes metrics over an API, it is fairly trivial to write a plugin that can use it.

Edit: @mcapra beat me to it.
Former Nagios employee
User avatar
emartine
Posts: 660
Joined: Thu Dec 29, 2011 10:47 am

Re: Monitoring Proofpoint appliances

Post by emartine »

Are there examples out there I can use that would help create an API plugin?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Monitoring Proofpoint appliances

Post by mcapra »

This plugin allows you to check JSON attributes generically which is useful if the condition you're evaluating is held in a single JSON attribute returned by a REST API call:
https://exchange.nagios.org/directory/P ... s)/details

If you had a convenient "queue" object returned by a REST API call (maybe something like this):

Code: Select all

{
	"name":"My Great Queue",
	"metrics": {
		"queued":20000,
		"state":"waiting"
	}
}
The check_json plugin is probably appropriate if you want to check how large the "queued" attribute is or what the value of "state" is.

Here's one I wrote a while back that leverages the Nagios Log Server API (more so the ElasticSearch API) to monitor the command subsystem within Nagios Log Server:
https://github.com/mcapra/nagios-check_ ... mmands.php
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring Proofpoint appliances

Post by scottwilkerson »

Thanks again @mcapra
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked