Subversion Repositories vnag

Rev

Rev 32 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
31 daniel-mar 1
 
2
[![VNag](https://raw.githubusercontent.com/danielmarschall/vnag/master/logos/vnag_logo_400.png "VNag")](https://www.viathinksoft.com/projects/vnag "VNag")
3
 
4
**VNag** (**V**iaThinkSoft **Nag**ios) is a framework for PHP which allows developing plugins for Nagios-compatible systems (e.g. Icinga2), following the [development guidelines](https://nagios-plugins.org/doc/guidelines.html "development guidelines").
5
 
6
The download package contains documentation, examples and many new plugins, e.g. to check WordPress installations.
7
 
8
Beside developing normal Nagios/Icinga plugins (PHP will be called via CLI), you can develop plugins which are additionally served over HTTP.
9
 
10
- The plugins can be shown via a HTTP-Demon (e.g. Apache) in user's browsers. Beside the output for Nagios (Summary, Verbose information, Performance data), user-defined HTML output can be added, e.g. to complete your Nagios output with more diagrams, pictures, etc. Only one code base is required!
11
 
12
- The web-output contains a hidden machine readable part, which can be read out with the "WebReader" plugin of VNag. The WebReader plugins reads the machine readable part and outputs the data in the output format which can be read by Nagios. This way, you can monitor things like WordPress version at systems where you have no shell access and/or without Nagios installed.
13
 
14
- It is also possible to create websites which only have a machine readable part (i.e. you include your VNag output in your existing website). This machine readable part can be optionally signed and/or encrypted.
15
 
16
Pre-Installed plugins
17
---------------------
18
 
19
VNag comes with following plugins pre-installed:
20
 
21
- **4images_version**: Checks 4images installations for updates.
22
- **disk_running**: Checks if harddisks which do not have SMART capability are online
23
- **file_timestamp**: Warns when files are not modified withhin a specific interval/age.
24
- **ipfm**: Checks the log files of the tool "ipfm" and warns when the measured traffic exceeds a given limit.
25
- **joomla_version**: checks Joomla installations for updates.
26
- **last**: Checks the output of the tool "last" and warns when logins from suspicious IP adresses are detected.
27
- **mdstat**: Parses the output of "/proc/mdstat" and warns when drives inside a RAID array have failed.
28
- **mediawiki_version**: Checks MediaWiki installations for updates.
29
- **pmwiki_version**: Checks PmWiki installations for updates.
30
- **net2ftp_version**: Checks net2ftp installations for updates.
31
- **nocc_version**: Checks NOCC webmail installations for updates.
32
- **openbugbounty**: Checks if your domains are listed at OpenBugBounty.org.
33
- **phpbb_version**: Checks phpBB installations for updates.
34
- **phpmyadmin_version**: Checks phpMyAdmin installations for updates.
35
- **roundcube_version**: Checks RoundCube installations for updates.
36
- **smart**: Checks the SMART attributes of harddrives and warns when bad attributes are detected.
37
- **virtual_mem**: Checks the amount of virtual memory (physical memory + swap).
38
- **webreader**: Reads the output of another VNag plugin transferred over HTTP.
39
- **wordpress_version**: Checks WordPress installations for updates.
40
- **x509_expire**: Warns when X.509 (PEM) certificate files reach a specific age.
41
 
42
Use-case diagrams
43
-----------------
44
 
45
1. [Simple case](https://raw.githubusercontent.com/danielmarschall/vnag/master/doc/vnag_model_1.png "Simple case"): Nagios/CLI checks an object
46
2. [Extended case](https://raw.githubusercontent.com/danielmarschall/vnag/master/doc/vnag_model_2.png "Extended case"): Nagios/CLI checks an object, and a user can additionally view the status in a web-browser
47
3. [More extended case](https://raw.githubusercontent.com/danielmarschall/vnag/master/doc/vnag_model_3.png "More extended case"): Nagios/CLI checks an object, a user can additionally view the status in a web-browser, and another Nagios/CLI instance can remotely access the output of the primary Nagios/CLI
48