3

My workplace used to use Monarch (bundled in Groundwork Community Edition). I built a custom CGI that would update the configuration when changes happen in our database of hosts (separate application).

Since Groundwork Community Edition is no longer supported and I can't find a standalone, new edition of Monarch, does anyone have suggestions for a free Nagios configuration frontend / config generator that has an API?

I've looked at nagiosql. It has no API, and the way it's written makes it hard to reuse its code from other PHP files that I may put in there to provide the API. At least Monarch has some modular code that can be reused.

dunxd
  • 9,632
  • 22
  • 81
  • 118
lmz
  • 379
  • 2
  • 4
  • 17
  • I'm not sure Groundworks Community Edition ever really was "supported" -its status doesn't seem particularly different now (see http://www.groundworkopensource.com/2011/groundwork-monitor-community-edition-update/). Other options exist, but if they are free, you will find the support is only as good as their open source developer base - again, this is no different from the way things were with Groundworks before. If you are really looking for something "supported" then you probably need to pay, in which case Groundwork still seems a valid option. – dunxd Mar 15 '11 at 09:33
  • @dunxd wasn't my decision, but then again we only need a Monarch replacement. I don't think we ever used what other parts of Groundwork added over plain Nagios. – lmz Mar 15 '11 at 09:36

2 Answers2

2

There is an API written in perl for NConf.

Kenny Rasschaert
  • 9,045
  • 3
  • 42
  • 58
  • Copied from comment on TiZon's answer: How's the API working for you? Have you tried it? NConf's database design is a bit unconventional (EAV design) so that's something I'm rather wary of. – lmz Mar 15 '11 at 08:45
  • To be perfectly honest, haven't tried it. I just use NConf's web interface, which imho is the best one I've found yet. – Kenny Rasschaert Mar 15 '11 at 08:47
1

Icinga + Icinga-Web + NConf
Nconf has an API: Link

Icinga is a fairly recent Nagios-spark with lots of improvements.It does the job pretty well (I prefer it to Nagios because it has a single API you can use to get data and is 100% compatible with Nagios-plugins).

There is a video about Nagios VS Icinga that describes it pretty well: Youtube (It's by Icinga, so, approach with caution)

Bart De Vos
  • 17,911
  • 6
  • 63
  • 82
  • How's the API working for you? Have you tried it? NConf's database design is a bit unconventional (EAV design) so that's something I'm rather wary of. – lmz Mar 15 '11 at 08:44
  • Haven't used the API myself. Sorry. – Bart De Vos Mar 15 '11 at 08:47
  • If you haven't used the API yourself, why did you say you prefer it because it has the API? – dunxd Mar 15 '11 at 09:27
  • I prefer the API of Icinga to get data from it (i.e. Jasper Reports can talk to it). Nconf also has an API (to make configuration changes) but I haven't used that one yet. How Icinga works: http://i.ytimg.com/vi/jLqhXvGTazI/0.jpg – Bart De Vos Mar 15 '11 at 09:30