Hi all
I'm new to all this so any help will be appretiated.
I have a php script I run which outputs the following:
C:\web\cacti\scripts>php c:\web\cacti\scripts\gameserver.php hl2 196.24.9.35 27015
X-Powered-By: PHP/4.4.2
Content-type: text/html
player_count:21 max_players:21
C:\
I'm trying to grab the player_count & max_player count values but dont understand how to do this. I dont understand how to tell cacti to read these vaules and to graph them. A simple explenation on how this is done would be greatly apprectiated.
Debuging gives me this:
CMDPHP: Poller[0] Host[8] DS[20] WARNING: Result from CMD not valid. Partial Result: X-Powered-By: PHP/4.
CMDPHP: Poller[0] Host[8] DS[20] CMD: php c:\web\cacti\scripts\gameserver.php hl2 196.24.9.35 27015 , output: U
Help understanding using a PHP script & graph output
Moderators: Developers, Moderators
Take a read http://forums.cacti.net/viewtopic.php?t=11288
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 4 guests