<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>plugins</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"sans serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:#606420;
text-decoration:underline;}
p
{margin-right:0cm;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.emailstyle19
{font-family:Arial;
color:navy;}
span.emailstyle20
{font-family:Arial;
color:navy;}
span.EmailStyle21
{font-family:Arial;
color:navy;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink="#606420">
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>That's fine. That works and I
implemented it. It refers to the CPU load but my question was about the link
utilization</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Thanks yiannis.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Platt, Nicholas
[mailto:Nick.Platt@myflorida.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 01 March 2004 16:18<br>
<b><span style='font-weight:bold'>To:</span></b> 'Yiannis Zimianitis'<br>
<b><span style='font-weight:bold'>Cc:</span></b>
'nagios-users@lists.sourceforge.net'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users]
plugins</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>From the
PLUGINS directory, this is how you do it manually:</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>cd
/usr/lib/nagios/plugins</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>[root@enms
plugins]# ./check_snmp -H 192.168.24.1 -o .1.3.6.1.4.1.9.2.1.56.0 -C
[CommunityString]</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>SNMP OK
- 2</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>It
worked from me!</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>From the
services file, you must configure the /usr/local/nagios/etc/checkcommands.cfg
file match the same arguments:</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>#
'check_snmp' command definition</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>define
command{</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
command_name check_snmp</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -w
$ARG2$ -c $ARG3$ -P 1 -C $ARG4$</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
}</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>You then
can configure the /usr/local/nagios/etc/services.cfg</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>define
service{</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
use
generic-service ; Name of
service template to use</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
host_name
TestRouter</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
service_description
Check CPU</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
is_volatile
0</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
check_period
24x7</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
max_check_attempts
3</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
normal_check_interval
1</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
retry_check_interval
1</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
contact_groups
network-admins</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
notification_interval
60</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
notification_period
24x7</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
notification_options
c,u,r</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>
check_command
check_snmp! .1.3.6.1.4.1.9.2.1.56.0!70!90!CommunityString</span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:36.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Yiannis Zimianitis
[mailto:yiannis.zimianitis@sssltd.co.uk] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, March 01, 2004 9:12
AM<br>
<b><span style='font-weight:bold'>To:</span></b> 'Goldberg Alain (IT)'; Yiannis
Zimianitis; nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users]
plugins</span></font></p>
<p class=MsoNormal style='margin-left:72.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>It
doesn't work I am afraid. The OID does not exist. Or better it does exist but
its not the only one. Each interface has ifInOctets and ifOutOctets and when I
tried to set the warning and critical limits always comes up with critical</span></font></p>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks
very much</span></font></p>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Any more
ideas?</span></font></p>
<p class=MsoNormal style='margin-left:72.0pt'><font size=2 color=navy
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:108.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Goldberg Alain (IT)
[mailto:alain@towersemi.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 29 February 2004 06:58<br>
<b><span style='font-weight:bold'>To:</span></b> Yiannis Zimianitis;
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [Nagios-users]
plugins</span></font></p>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>I have this in checkcommands.cfg</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>define
command {<br>
command_name
check_snmpif<br>
command_line
$USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -m IF-MIB<br>
}</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> the check_snmpif in this
format spares a lot of MIB parsing.</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>and this in servicves.cfg:</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'>check_command
check_snmpif!enterprises.9.2.1.58.0 -w 1:50 -c 1:70</span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=2 color=blue
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:blue'> </span></font><font
size=2 color=black face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:black'>will warn above 50% and critical above 70%</span></font></p>
</div>
<div>
<p style='margin-left:108.0pt;text-align:justify'><b><font size=1 color=silver
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:silver;
font-weight:bold'>_________________________________________________________________________________________________________________________________________________________________</span></font></b><font
size=1 color=black face=Arial><span style='font-size:9.0pt;font-family:Arial;
color:black'><br>
</span></font><b><font size=1 color=teal face=Arial><span style='font-size:
9.0pt;font-family:Arial;color:teal;font-weight:bold'>Alain Goldberg</span></font></b><font
size=1 color=teal face=Arial><span style='font-size:9.0pt;font-family:Arial;
color:teal'> - Network manager - CCDA/CCNA AGG-RIPE</span></font><font
size=1 color=black face="sans serif"><span style='font-size:9.0pt;font-family:
"sans serif";color:black'> - </span></font><b><font size=1 color=navy
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:navy;
font-weight:bold'>Tower<span class=grame> Semiconductors</span> LTD.</span></font></b><font
size=1 color=black face="sans serif"><span style='font-size:9.0pt;font-family:
"sans serif";color:black'> </span></font><span class=grame><u><font
size=1 color=green face=Arial><span style='font-size:9.0pt;font-family:Arial;
color:green'>Tel :</span></font></u></span><u><font size=1 color=green
face=Arial><span style='font-size:9.0pt;font-family:Arial;color:green'>
972-4-650</span></font></u><b><u><font size=1 color=navy face=Arial><span
style='font-size:9.0pt;font-family:Arial;color:navy;font-weight:bold'>6003</span></font></u></b><u><font
size=1 color=green face=Arial><span style='font-size:9.0pt;font-family:Arial;
color:green'> Fax : 972-4-6547788 Cell: 972-64-209662</span></font></u></p>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
108.0pt'><b><font size=1 color=silver face=Arial><span style='font-size:9.0pt;
font-family:Arial;color:silver;font-weight:bold'>_________________________________________________________________________________________________________________________________________________________________</span></font></b></p>
<p class=MsoNormal style='margin-left:108.0pt'><font size=1
face="Times New Roman"><span style='font-size:9.0pt'> </span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<div style='margin-left:36.0pt'>
<div style='margin-left:36.0pt'>
<div class=MsoNormal align=center style='margin-left:36.0pt;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
</div>
</div>
<p class=MsoNormal style='margin-right:0cm;margin-bottom:12.0pt;margin-left:
108.0pt'><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:
Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> Yiannis Zimianitis
[mailto:yiannis.zimianitis@sssltd.co.uk] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Thursday, February 26, 2004
11:44 AM<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] plugins</span></font></p>
<p class=MsoNormal style='margin-left:108.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p style='margin-left:108.0pt'><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'>I am after some plugins or any ideas on how to monitor
cpu load on cisco routers. Also utilization on the links (serial - fastethernet
etc)</span></font></p>
<p style='margin-left:108.0pt'><font size=2 face="Times New Roman"><span
style='font-size:10.0pt'>Thanks Yiannis</span></font> </p>
</div>
</body>
</html>