<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16939" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>I know this is very
general, but I cannot figure out how to use a plugin.</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>Here is all that I
have done to get the plugins to work.</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>I have nsclient++
running on my client with all the defaults properly communicating (defaults
meaning the nagios monitoring of memory, CPU, explorer, disk space and
uptime)</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>This was done by
editing the .ini file for nsclient and adding the servers within
the Nagios.cfg file and their appropriate service
lines.</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>I want to use other
checks that are located in my /usr/local/nagios/libexe/ such as the check_dns,
check_mailq, check_ping etc</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>Here is a few
uncommented sections of my .ini file on my
clients.</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2><EM>[External
Alias]<BR>alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m
time=30s<BR>alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m
time=30s<BR>alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll
FilterType=FIXED<BR>alias_service=checkServiceState
CheckAll<BR>alias_process=checkProcState $ARG1$=started<BR>alias_mem=checkMem
MaxWarn=80% MaxCrit=90% ShowAll type=physical<BR>alias_up=checkUpTime MinWarn=1d
MinWarn=1h<BR>alias_file_age=checkFile2 filter=out "file=$ARG1$"
filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename%
%write%"<BR>alias_file_size=checkFile2 filter=out "file=$ARG1$"
filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename%
%size%"<BR>alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt
"file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename%
%size%"<BR>alias_event_log=CheckEventLog file=application file=system filter=new
filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success
</EM></FONT></SPAN></DIV>
<DIV><EM><FONT size=2></FONT></EM> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2><EM>filter-severity==informational truncate=1023 unique
descriptions "syntax=%severity%: %source%: %message%
(%count%)"<BR>alias_event_log2=CheckEventLog file=application file=system
filter=new filter=in MaxWarn=1 MaxCrit=1 filter+generated=<2d
"filter+eventSource==Service </EM></FONT></SPAN></DIV>
<DIV><EM><FONT size=2></FONT></EM> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2><EM>Control Manager"
filter+severity==error truncate=1023 unique descriptions
"syntax=%severity%: %source%: %message% (%count%)"<BR>check_ok=CheckOK
Everything is fine!</EM></FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2>[modules]</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2><EM>FileLogger.dll<BR>CheckSystem.dll<BR>CheckDisk.dll<BR>NSClientListener.dll<BR>NRPEListener.dll<BR>SysTray.dll<BR>CheckEventLog.dll<BR>CheckHelpers.dll<BR>;CheckWMI.dll</EM></FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>I really wanted to
monitor the event logs, but cannot figure it out too.</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>I am sure if someone
walks me through how to properly confiure any of the checks I will get the idea
of how these chaeck call each other.</FONT></SPAN></DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=635321913-30112009><FONT face=Arial size=2>Thanks in
advance.</FONT></SPAN></DIV></BODY></HTML>