You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text format parsing error in line 5: second TYPE line for metric name "ssh_exporter", or TYPE reported after samples
Console output
# curl http://localhost:9428/probe?pattern=bastion
# HELP ssh_exporter_bastion_toolbox_exit_status Integer exit status of commands and metadata about the command's execution.
# TYPE ssh_exporter gauge
ssh_exporter_bastion_toolbox_exit_status{name="bastion_toolbox",host="1.ssh.host",user="monitoring",script="echo success",exit_status="0"} 0
# HELP ssh_exporter_bastion_toolbox_pattern_match Boolean match of regex on output of script of commands and metadata about the command's execution.
# TYPE ssh_exporter gauge
ssh_exporter_bastion_toolbox_pattern_match{name="bastion_toolbox",host="1.ssh-host",user="monitoring",script="echo success",regex="success"} 1
# HELP ssh_exporter_bastion_management_exit_status Integer exit status of commands and metadata about the command's execution.
# TYPE ssh_exporter gauge
ssh_exporter_bastion_management_exit_status{name="bastion_management",host="2.ssh.host",user="monitoring",script="echo success",exit_status="0"} 0
# HELP ssh_exporter_bastion_management_pattern_match Boolean match of regex on output of script of commands and metadata about the command's execution.
# TYPE ssh_exporter gauge
ssh_exporter_bastion_management_pattern_match{name="bastion_management",host="2.ssh.host",user="monitoring",script="echo success",regex="success"} 1
The text was updated successfully, but these errors were encountered:
Hi.
I'm using current master build of ssh_exporter
Prometheus is 1.7.1
ssh_exporter config:
Prometheus config:
Prometheus gives me this output:
text format parsing error in line 5: second TYPE line for metric name "ssh_exporter", or TYPE reported after samples
Console output
The text was updated successfully, but these errors were encountered: