service Avast no monitoring

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
marioalves2014
Posts: 2
Joined: Thu Jan 16, 2014 12:43 pm

service Avast no monitoring

Post by marioalves2014 »

AvastSvc.exe service is not being monitored.

define service {
use generic-service
house host_name
Avast service_description
check_nrpe check_command! ServiceState! SHOWALL-d-l AvastSvc.exe
}
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: service Avast no monitoring

Post by tmcdonald »

You have things backwards. It should be:

Code: Select all

define service {
use generic-service 
host_name house
service_description Avast
check_nrpe check_command! ServiceState! SHOWALL -d -l AvastSvc.exe 
}
I'm not even sure how Nagios let that through.
Former Nagios employee
marioalves2014
Posts: 2
Joined: Thu Jan 16, 2014 12:43 pm

Re: service Avast no monitoring

Post by marioalves2014 »

hi, my friend am new to Nagios, I'll test some services, which has the same syntax and are not running well.
I'm grateful, until soon.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: service Avast no monitoring

Post by tmcdonald »

I look forward to your results
Former Nagios employee
Locked