Adding clamd service in nagios..

Harshal Yadwadkar y.harshal at drushti.in
Thu Jan 31 10:41:32 CET 2008


Hello,

I have Nagios 2.10 installed and having nagios-plugins-1.4.11. I want to
add the service for monitoring clamd(clamav) port on the host.Can any body
help me out what should have been done to get the above done?.

I have tried by adding the following in the localhost.cfg file but it
gives me the error as

Error: Service check command 'check_clamd' specified in service 'ClamAV'
for host 'localhost' not defined anywhere!

define service {
  use                       local-service
  host_name                 localhost
  service_description       ClamAV
    is_volatile             0
    check_period            24x7
    max_check_attempts      3
    normal_check_interval   5
    retry_check_interval    1
    contact_groups          admins
    notification_interval   240
    notification_period     24x7
    notification_options    w,u,c,r
    servicegroups           mail
    check_command           check_clamd
}


Regards,
Harshal.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list