Pulling nagios alerts into a 3rd party system

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jkrejci
Posts: 2
Joined: Tue Oct 05, 2010 11:22 am

Pulling nagios alerts into a 3rd party system

Post by jkrejci »

We just recently have begun to use Nagios by way of Nagios XI (latest stable version) and is now activated with the license.
We currently have several large deployments of various versions of Whatsup. We've spent a mammoth amount of time over many years creating custom monitors (they'd be called plugins in Nagios). In addition to that we've created what we call a separate "Whatsdown" page that essentially polls each of the whatsup servers and collects all of the current alert information and displays it all in a single web page. The page shows host, service, alert duration, map, and whatsup server. All "whatsdown" components are links to their respective targets.

Prior to migrating our thousands of hosts onto Nagios (if it ever happens) we'd like to be able to integrate our Nagios monitoring into our central "whatsdown" page for our NOC. To that end I was hoping for some help locating the data necessary to pull out from whatever databases are used for this without have to start learning all of the layouts of everything in Nagios. Does anyone have a nice map for navigating around the Nagios data?
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Pulling nagios alerts into a 3rd party system

Post by tonyyarusso »

There isn't actually a database per se - it gets parsed from a massive flat file. If you want to go that route you could look at the code of V-Shell for how to grab relevant bits with PHP.

An easier way though may be to send SNMP Traps from Nagios to Whatsup when there is a problem. There is a component for doing that with XI available on the Exchange.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked