forked from hecko/nagmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
34 lines (24 loc) · 1.46 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Nagios Configuration
====================
The 'notes' field for host definition in Nagios needs to match the following example:
latlng: 66.174082,-13.119136
If you are editing Nagios configuration files by hand this is how the FULL notes line should look like:
notes latlng: 66.174082,-13.119136
You can get the precise coordinates from Google Maps (http://maps.google.com) - right click on
the spot where your device is located and select option "What's here?". The coordinates will be set
in maps search bar.
To draw connections, hosts need to have 'parents' field set up in Nagios / Icinga.
Apache / Nagmap setup
=====================
Your webserver (e.g. Apache) needs to have PHP support enabled!
Please make sure your PHP is version 5.2.0 and above :) (see phpinfo() php function)
On some distributions you might need to install mbstring for PHP - like Fedora / RedHat:
yum install php-mbstring
1) copy the nagmap directory into your Apache web folder
(/var/www/ on Debian/Ubuntu, or /var/www/html/ on RedHat/CentOS)
2) copy config.php.example into config.php and edit this file (config.php) to fit your needs
3) Open the website of nagmap installation (e.g. open Firefox - point to http://www.youwebserver.org/nagmap )
When not working as expected, send the source code of the website (Ctrl-U in Firefox) to [email protected] for support :)
Support
=======
Free from [email protected] - please do not hesitate to send an email! I will eventualy respond to everyone!