Hi.
I've a problem with Performance Data in my Icinga2 installation, using
nagios plugin check_procs, (version 2.0.3).
I've tryed to use the monitoring-plugins's one too, version 2.1.2, but the
problem is the same.
For example I want to check that are running exactly 5 instances of a
particural process:
apply Service "NAMEOFPROC" {
import "generic-service"
command_endpoint = host.name
check_command = "procs"
vars.procs_warning = "5:5"
vars.procs_critical = "5:5"
vars.procs_command = "NAMEOFPROC"
assign where host.vars.os == "Linux"
}
But into my Icinga Web 2 console, under Performance Data, I see:
Label Value Warning Critical
procs 5.00 0.00 0.00
Warning and Critical values are not displayed correctly, are all set to 0.
But if I don't use ranges it works correcly, like this example, to monitor
Apache processes:
apply Service "httpd" {
import "generic-service"
command_endpoint = host.name
check_command = "procs"
vars.procs_warning = "30"
vars.procs_critical = "50"
vars.procs_command = "httpd"
assign where host.vars.apacheserver
}
Label Value Warning Critical
procs 11.00 30.00 50.00
I'm using Graphite module to graph my environment, with graphite-web and
python-carbon.
What could be the problem?
Please let me know, thanks.
Bye, Morgan
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users