forked from hecko/nagmap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
31 lines (21 loc) · 1.16 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
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.
Apache / Nagmap setup
=====================
Your webserver (e.g. Apache) needs to have PHP support enabled!
1) copy the nagmap directory into your Apache web folder
(/var/www/ on Debian/Ubuntu, or /var/www/html/ on RedHat/CentOS)
2) edit config.php file to fit your needs
3) Open the website of nagmap installation (e.g. open Firefox - point to http://www.youwebserver.org/nagmap )
When nothing works, open the source code of the website (Ctrl-U in Firefox) and send to [email protected] for support :)
Support
=======
Free from [email protected] - please do not hesitate to send an email!