[Nagiosplug-help] check_swap only on nagios server?

eugene eugene at mnc.com.my
Mon Mar 14 14:40:34 CET 2005


Guys, is this the correct way to define 'check_swap'

-------------------------------------------------------------------------------------------------------
# 'check_local_swap' command definition
define command{
        command_name    check_swap
        command_line    $USER1$/check_swap -w $ARG1$ -c $ARG2$
        }

-------------------------------------------------------------------------------------------------------
In services.cfg, i use the below command,

# Service definition
define service{
        use                            generic-service

        host_name                      DatabaseServer
        service_description          Check Local Swap
        is_volatile                        0
        check_period                   24x7
        max_check_attempts       3
        normal_check_interval      3
        retry_check_interval         1
        contact_groups                Support-Team
        notification_interval          120
        notification_period            24x7
        notification_options          w,u,c,r
        check_command             check_local_swap!70%!60%
        }
-------------------------------------------------------------------------------------------------------

I realize this will check to my nagios server, even i had define teh host with a different IP in hosts.cfg

Anyone know how to 'check_swap' on particular server?

Thank You.....



Eugene Than 
HelpDesk Support, Network and System
MNC Wireless Berhad (635884-T)
No. 45, Block A, Level 3, Unit 3.03,
Medan Setia 1, Plaza Damansara,
Bukit Damansara, 50490 Kuala Lumpur

M: +6012-613 4855 
T: +603-2095 6063
F: +603-2093 5909
E: eugene at mnc.com.my
W: www.mnc.com.my
Mobile Portal: www.gospecial.com


--------------------------------------------------------------------------------

This email is intended only for the use of the individual or entity named above and may contain information that is confidential and/or privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying of, or other use of, or taking of any action in reliance upon this email is strictly prohibited. When addressed to our clients, any opinions or advice contained in this email are subject to the terms and conditions expressed in the governing MNC client engagement letter. If you have received this email in error, please notify us immediately by return email or telephone +603-2095 6063 and destroy the original message. Thank you. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20050314/50edde01/attachment.html>


More information about the Help mailing list