Add service
Posted: Mon May 30, 2016 3:49 pm
Hello guys,
I am newbie with nagios and I need some help... I have installed this fantastic software into my Debian server. Now I am configuring it and need support with one topic...
I want to add a simple check (temperature). I can check system's temperature from "/sys/class/thermal/thermal_zone0/temp". I have tried add this into commands.cfg. I am 115% sure that I was wrong
define command{
command_name temp
command_line cat /sys/class/thermal/thermal_zone0/temp
}
Someone can explain me how to create this service? I have tried find a 'google' solution but... nothing.
Sorry for the inconvenience.
Thanks in advance.
I am newbie with nagios and I need some help... I have installed this fantastic software into my Debian server. Now I am configuring it and need support with one topic...
I want to add a simple check (temperature). I can check system's temperature from "/sys/class/thermal/thermal_zone0/temp". I have tried add this into commands.cfg. I am 115% sure that I was wrong
define command{
command_name temp
command_line cat /sys/class/thermal/thermal_zone0/temp
}
Someone can explain me how to create this service? I have tried find a 'google' solution but... nothing.
Sorry for the inconvenience.
Thanks in advance.