<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Guys, is this the correct way to define
'check_swap'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>-------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2># 'check_local_swap' command definition<BR>define
command{<BR>
command_name
check_swap<BR>
command_line $USER1$/check_swap -w $ARG1$ -c
$ARG2$<BR> }</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>-------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>In services.cfg, i use the below
command,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># Service definition<BR>define
service{<BR>
use
generic-service</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
host_name
DatabaseServer<BR>
service_description Check
Local Swap<BR>
is_volatile
0<BR>
check_period
24x7<BR>
max_check_attempts 3<BR>
normal_check_interval 3<BR>
retry_check_interval 1<BR>
contact_groups Support-Team<BR>
notification_interval
120<BR>
notification_period
24x7<BR>
notification_options w,u,c,r<BR>
check_command
check_local_swap!70%!60%<BR>
}<BR>-------------------------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I realize this will check to my nagios server, even
i had define teh host with a different IP in hosts.cfg</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Anyone know how to 'check_swap' on particular
server?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank You.....</FONT></DIV>
<DIV><FONT face="Trebuchet MS" color=#000080 size=2></FONT> </DIV>
<DIV><FONT face="Trebuchet MS" color=#000080 size=2> </DIV>
<DIV><BR><STRONG><FONT size=4>Eugene Than </FONT><BR><FONT size=2>HelpDesk
Support, Network and System</FONT><BR><FONT size=3>MNC Wireless Berhad</FONT>
<FONT size=1>(635884-T)</FONT><BR>No. 45, Block A, Level 3, Unit 3.03,<BR>Medan
Setia 1, Plaza Damansara,<BR>Bukit Damansara, 50490 Kuala Lumpur<BR><BR>M:
+6012-613 4855 <BR>T: +603-2095 6063<BR>F: +603-2093 5909<BR>E: <A
href="mailto:eugene@mnc.com.my">eugene@mnc.com.my</A><BR>W: <A
href="http://www.mnc.com.my">www.mnc.com.my</A><BR>Mobile Portal: <A
href="http://www.gospecial.com">www.gospecial.com</A><BR></DIV></STRONG>
<DIV>
<HR color=#000099 noShade>
</DIV>
<DIV><FONT size=1>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. </FONT></FONT></DIV></BODY></HTML>