AIX IHS
AIX IHS input supports collecting workers, request counts, and scoreboard metrics through Apache/IHS mod_status. When status_url is not configured, it uses apachectl -t for liveness and configuration checks.
Configuration¶
[inputs]
# Global switch for middleware inputs.
enabled = true
[[inputs.ihs]]
# Instance name, reported as the `instance` tag.
name = "ihs"
# Whether to enable this IHS instance collection.
enabled = true
# Collection interval.
interval = "60s"
# Optional file loaded before collection to set instance environment variables.
env_file = ""
# apachectl command path.
apachectl = "/opt/IBM/HTTPServer/bin/apachectl"
# mod_status auto output URL.
status_url = "http://127.0.0.1/server-status?auto"
Command Dependencies¶
| Command | Description |
|---|---|
GET <status_url> |
Recommended. collect server-status?auto metrics. |
apachectl -t |
Check IHS configuration and liveness when status_url is not configured. |
Metrics¶
All metrics append host, input=ihs, and instance=<name> tags.
ihs¶
| Tags & Fields | Description |
|---|---|
| up | Whether IHS is available. Type: int | (gauge) |
| status_code | status_url HTTP status code.Type: int | (gauge) |
| busy_workers | BusyWorkers. Type: int | (gauge) Unit: count |
| idle_workers | IdleWorkers. Type: int | (gauge) Unit: count |
| total_accesses | Total Accesses. Type: int | (count) Unit: count |
| total_kbytes | Total kBytes. Type: int | (count) Unit: KB |
| uptime_seconds | IHS uptime. Type: int | (gauge) Unit: sec |
| scoreboard_waiting | Number of workers waiting for connections. Type: int | (gauge) Unit: count |
| scoreboard_starting | Number of starting workers. Type: int | (gauge) Unit: count |
| scoreboard_reading | Number of workers reading requests. Type: int | (gauge) Unit: count |
| scoreboard_sending | Number of workers sending responses. Type: int | (gauge) Unit: count |
| scoreboard_keepalive | Number of KeepAlive workers. Type: int | (gauge) Unit: count |
| scoreboard_open_slot | Number of open slots. Type: int | (gauge) Unit: count |