forums.meulie.net


powdery

Nagios Dashboard - PHP

Problems with Nagios & any other/3rd party applications? This is the place to be!

Nagios Dashboard - PHP

Postby gregorian » 25 Oct 2008 13:59

Hello,

We implemented Nagios and found that trying to display their web interface and some other interfaces on a projector screen was not working. I am not a dedicated programmer but i decided to code my own web interface. It is coded in PHP. It requires that PHP5 be installed on your Nagios box. The PHP script is quite flexible and can be edited easily.

The web interface is being used on our live Nagios box, version 3.0.3. Put script in /var/www and point your web browser to your
http://nagiosbox/nagios.php

It will display hosts/services in a table with different colors etc indicating whether the host/service is up, down, warning, critical.

This might help someone somewhere somehow. Script attached.
Attachments
1224935999_11252_FT0_nagios.zip
(2.87 KiB) Downloaded 309 times
gregorian
_
_
 
Posts: 3
Joined: 25 Oct 2008 13:47

Postby Evert » 27 Oct 2008 10:20

Do you have some screenshots for us? 8)
Regards,
Evert
Image
User avatar
Evert
Site Admin
Site Admin
 
Posts: 350
Joined: 24 Apr 1972 02:00
Location: Sarpsborg, Norway

Postby gregorian » 27 Oct 2008 17:43

Screens attached. Screens are from live environment without hosts column and services column.The data for the table is pulled straight from status.dat.

1225122238_11252_FT13586_nagios1.jpg
1225122238_11252_FT13586_nagios1.jpg (90.51 KiB) Viewed 3422 times


1225122238_11252_FT13586_nagios2.jpg
1225122238_11252_FT13586_nagios2.jpg (125.22 KiB) Viewed 3422 times
gregorian
_
_
 
Posts: 3
Joined: 25 Oct 2008 13:47

Postby gregorian » 01 Nov 2008 08:36

Anyone tried the above yet?
gregorian
_
_
 
Posts: 3
Joined: 25 Oct 2008 13:47

Re: Nagios Dashboard - PHP

Postby basilbaby » 23 Sep 2009 00:19

This looks good! . I have started using it with bit more customization and gave a Netcool look.
Is it possible to alter this script to get status of a particular hostgroup? Did someone try that ?
basilbaby
_
_
 
Posts: 1
Joined: 23 Sep 2009 00:16

Re: Nagios Dashboard - PHP

Postby ralph » 12 Nov 2009 11:41

We changed the script a bit and uploaded it to our blog:

http://dingleberry.me/2009/11/nagios-op ... dashboard/

Thanks for giving us the base to work on:)
ralph
_
_
 
Posts: 1
Joined: 12 Nov 2009 11:38


Return to Nagios 3rd party applications support

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

ip information