View FAQ

[ Return To FAQ Index | Search The FAQs ]

FAQ Database : Plugins : Monitoring Specific Devices, Operating Systems and Services

Title:Why do all my remote services have the same service check result?
FAQ ID:F0130
Submitted By:Tom De Blende 
Last Updated:01/20/2003


I basically have my services file set up like this:

define service{
use generic-service ; Name of service template to use
host_name mail
service_description PING
is_volatile 0
check_period 24x7
contact_groups mail-servers
notification_options w,u,c,r
check_command check_ping

I have the same set up for check_users, check_disk, etc. Well my problem is, I get the stats, but all the stats for the services are the same. After further inspection I learned that all host where returning the stats for the server nagios is actually running on. I have read the manual and I seem to be doing everything correctly. I am assuming the check_* commands are being run, but as it it were checking that machine, and not looking out to the machines I want to monitor.



You should not use plugins like check_disk and check_load to check remote hosts. These can only check the host they are running on.

Have a look at There you can find plugins and add-ons that will help you to monitor these services on remote hosts.

Most used are:

  • NRPE
  • check_by_ssh
  • nagios_statd
  • SNMP
  • NSCA
  • REL


Keywords:remote plugin