Hi Everyone,
I am unable to figure out that how to connect to Oracle 10g db, and query the COUNT TSQL.
I would like to record the three COUNTs in one graph.
1. select count (*) from tbl_name; (ALL Count)
2. select count (*) from tbl_name where status = 'UP'; (UP Count)
3. select count (*) from tbl_name where status = 'DOWN'; (DOWN Count)
I am running windows version of Cacti 0.8.8b.
Please suggest.
Thank you.
Query Oracle 10g, record counts.
Moderators: Developers, Moderators
Re: Query Oracle 10g, record counts.
1) http://docs.cacti.net/
2) create a script which runs those queries and outputs the numbers in a format Cacti wants.
3) create the data templates, graphs, etc for the script.
2) create a script which runs those queries and outputs the numbers in a format Cacti wants.
3) create the data templates, graphs, etc for the script.
| 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 |
Re: Query Oracle 10g, record counts.
Could you share a sample script which connect to Oracle db, and run a simple query. I am not well versed with the scripting. That would be of great help.
Thank you.
Thank you.
Who is online
Users browsing this forum: No registered users and 1 guest