How to install Cacti (a system monitoring and graphing solution) with Nginx?

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring How to install Cacti (a system monitoring and graphing solution) with Nginx?
# 1  
Old 03-15-2013
How to install Cacti (a system monitoring and graphing solution) with Nginx?

Here's a short tutorial on installing Cacti with Nginx on Linux.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Monitoring Solution

Hi Our organization has a lot of IT systems ( OLTP, MIS, Exadata, EMV, noncore ... ) - running diferrent platforms ( AIX, Linux, Sun, Win Server, ...), each system has its own monitoring tool designed by its manufacturer. We also write some shell scripts to do it manually. But we... (3 Replies)
Discussion started by: bobochacha29
3 Replies

2. Linux

Best Linux monitoring system

Hi all, I'm looking for the best tool to monitor the Linux system. I've found a lot of interesting tools searching the web but I didn't find one which can do all the requirments (like a one in all tool). I would prefer it to include a command line interface also. Thank you, Andreea (0 Replies)
Discussion started by: andreea9322
0 Replies

3. UNIX for Dummies Questions & Answers

Install Cacti on Debian for dummies

Hi all, I want to install cacti (frontend to RRDTool) on my Debian 6 VPS. My dummy questions please... The requirements include RRDTool and net-snmp so is there a way to check these are properly installed? Re the command # apt-get install cacti After logging in to my VPS in putty... (1 Reply)
Discussion started by: Juc1
1 Replies

4. AIX

How to install system resource monitoring utilities?

Hello Experts, Topas, nmon, vmon & top monitoring tool not working. We use above AIX utilities to identify cpu and memory usage. I can execute the topas but on execution I receive "SpmiCreateStatSet can't create StatSet" message & no output. I use AIX 5.3, TL3. Please assist to restore... (4 Replies)
Discussion started by: sumit30
4 Replies

5. Cybersecurity

best monitoring solution

Hi people, i would like to know your opinion about the best monitor solution that can: - monitor OS (could be ubuntu, AIX, HP-UX, redhat,...) - monitor BD (ORACLE, Mysql,...) - monitor specific services - scipts that i develop for monitoring them - have parent and child architecture, for... (1 Reply)
Discussion started by: gfca
1 Replies

6. Solaris

Solaris Performance Monitoring Graphing Tool

Hi All Anyone out there using any graphing tool for Solaris performance data taken either through SAR utility or iosatat, vmstat, nicstat etc. There are a couple on googling like statsview and rrdtool but not sure if anyone is really happy and satisfied with using any of the graphing tool. ... (1 Reply)
Discussion started by: baner_n
1 Replies
Login or Register to Ask a Question
YAF_ROUTER(3)								 1							     YAF_ROUTER(3)

The Yaf_Router class

INTRODUCTION
Yaf_Router is the standard framework router. Routing is the process of taking a URI endpoint (that part of the URI which comes after the base URI: see Yaf_Request_Abstract::setBaseUri) and decomposing it into parameters to determine which module, controller, and action of that controller should receive the request. This values of the module, controller, action and other parameters are packaged into a Yaf_Request_Abstract object which is then processed by Yaf_Dispatcher. Routing occurs only once: when the request is initially received and before the first controller is dispatched. Yaf_Router is designed to allow for mod_rewrite-like functionality using pure PHP structures. It is very loosely based on Ruby on Rails routing and does not require any prior knowledge of webserver URL rewriting. It is designed to work with a single Apache mod_rewrite rule (one of): Example #1 Rewrite rule for Apache RewriteEngine on RewriteRule !.(js|ico|gif|jpg|png|css|html)$ index.php or (preferred): Example #2 Rewrite rule for Apache RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] If using Lighttpd, the following rewrite rule is valid: Example #3 Rewrite rule for Lighttpd url.rewrite-once = ( ".*?(.*)$" => "/index.php?$1", ".*.(js|ico|gif|jpg|png|css|html)$" => "$0", "" => "/index.php" ) If using Nginx, use the following rewrite rule: Example #4 Rewrite rule for Nginx server { listen ****; server_name yourdomain.com; root document_root; index index.php index.html; if (!-e $request_filename) { rewrite ^/(.*) /index.php/$1 last; } } DEFAULT ROUTE
Yaf_Router comes preconfigured with a default route Yaf_Route_Static, which will match URIs in the shape of controller/action. Addition- ally, a module name may be specified as the first path element, allowing URIs of the form module/controller/action. Finally, it will also match any additional parameters appended to the URI by default - controller/action/var1/value1/var2/value2. Note Module name must be defined in config, considering application.module="Index,Foo,Bar", in this case, only index, foo and bar can be considerd as a module name. if doesn't config, there is only one module named "Index". Some examples of how such routes are matched: Example #5 Yaf_Route_Static(default route)example // Assuming the following configure: $conf = array( "application" => array( "modules" => "Index,Blog", ), ); Controller only: http://example/news controller == news Action only(when defined yaf.action_prefer=1 in php.ini) action == news Invalid module maps to controller name: http://example/foo controller == foo Module + controller: http://example/blog/archive module == blog controller == archive Module + controller + action: http://example/blog/archive/list module == blog controller == archive action == list Module + controller + action + params: http://example/blog/archive/list/sort/alpha/date/desc module == blog controller == archive action == list sort == alpha date == desc CLASS SYNOPSIS
Yaf_Router Yaf_Router Properties o protected$_routes o protected$_current Methods o public bool Yaf_Router::addConfig (Yaf_Config_Abstract $config) o public bool Yaf_Router::addRoute (string $name, Yaf_Route_Abstract $route) o public Yaf_Router::__construct (void ) o public string Yaf_Router::getCurrentRoute (void ) o public Yaf_Route_Interface Yaf_Router::getRoute (string $name) o public mixed Yaf_Router::getRoutes (void ) o public bool Yaf_Router::route (Yaf_Request_Abstract $request) PROPERTIES
o $_routes - registered routes stack o $_current - after routing phase, this indicated the name of which route is used to route current request. you can get this name by Yaf_Router::getCurrentRoute. PHP Documentation Group YAF_ROUTER(3)