Need help with service description
Posted: Wed Apr 12, 2017 7:50 pm
Hello Guys,
I have currently the following two service defined as below:
What I want is output string to be:
System check - PING - <Actual hostname where this alarm got fired off>
System check - Swap Usage - <Actual hostname where this alarm got fired off >
I think this could be possible but I just don't know how to make it possible.
Would sincerely appreciate your guidance on that.
Many Thanks
Jim
I have currently the following two service defined as below:
Code: Select all
define service {
use my-webapp-service
hostgroup_name all
service_description System check - PING
check_command check_ping!100.0,20%!500.0,60%
}
Code: Select all
define service {
use my-webapp-service
hostgroup_name all
service_description System check - Swap Usage
check_command check_nrpe!check_swap
check_interval 1
}
System check - PING - <Actual hostname where this alarm got fired off>
System check - Swap Usage - <Actual hostname where this alarm got fired off >
I think this could be possible but I just don't know how to make it possible.
Would sincerely appreciate your guidance on that.
Many Thanks
Jim