# Apache monitoring tool

**URL:** <https://forums.percona.com/t/apache-monitoring-tool/2623>\
**Category:** Percona Monitoring Plugins\
**Created:** [September 24, 2012, 2:15pm UTC](https://forums.percona.com/t/apache-monitoring-tool/2623 "2012-09-24T14:15:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![informatica](https://avatars.discourse-cdn.com/v4/letter/i/3ab097/32.png) [@informatica](https://forums.percona.com/u/informatica)\
**Post date:** [September 24, 2012, 2:15pm UTC](https://forums.percona.com/t/apache-monitoring-tool/2623/1 "2012-09-24T14:15:57Z")

</div>

Hi, I am using this monitoring tool to monitor my apache requests and workers, but I can make it work, no data in graphs.  
This is my cacti log:  
09/24/2012 04:45:05 PM - CMDPHP: Poller[0] Host[4] DS[52] CMD: /usr/local/bin/php -q /var/www/cacti/scripts/ss\_get\_by\_ssh.php --host [www.myhost.com](http://www.myhost.com) --type apache --items g0, output: g0:-1

Now, if I execute the same line with root in my console I have a good result:  
/usr/local/bin/php -q /var/www/cacti/scripts/ss\_get\_by\_ssh.php --host [www.myhost.com](http://www.myhost.com) --type apache --items g0  
g0:4897174

So, I think its a permission issue but I dont know why.  
Any help will be great.

Thanks

---

<div class="post-metadata">

**Author:** ![weber](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@weber](https://forums.percona.com/u/weber)\
**Post date:** [November 29, 2012, 3:52am UTC](https://forums.percona.com/t/apache-monitoring-tool/2623/2 "2012-11-29T03:52:14Z")

</div>

If relevant anymore you can run the same command as ‘cacti’ user and see the result:  
sudo -u cacti …
