<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
adi yesaya wrote:
<blockquote
 cite="mid7ad6d2f90704190342l543135e9t4d1f94d99eea25cc@mail.gmail.com"
 type="cite">
  <div>Hi Nagiosers,</div>
  <div> </div>
  <div>I'm just starting my school project in writing plug-ins for
Nagios, it's my first time with Nagios and im also learning more about
Linux.</div>
  <div>In this project i installed Nagios on a Linux box and run
several plug-ins.</div>
  <div>My question is:</div>
  <div>Is there any way that we can know how much memory and cpu
percentage do we need</div>
  <div>when running 1 plug-in? </div>
  <div>I need to make an estimation how much memory and cpu it will
take to run</div>
  <div>around 300 to 900 plug-ins.</div>
  <div> </div>
  <div>Could you share with me how much memory and cpu does your Nagios
plug-in requires when they run?</div>
  <div> </div>
  <div>Thank you,</div>
  <div>Adi Yesaya</div>
  <div> </div>
  <pre wrap="">
<hr size="4" width="90%">
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a></pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
Hello, I am a Nagios user, <br>
I can give you my statistics.<br>
Nagios is currently monitoring:<br>
256 hosts (0 down) (the coincidence with 2^8 is only a coincidence )<br>
2212 services<br>
 2203 OK<br>
 3 Warn.<br>
 1 Unkn.<br>
 5 Criticals.<br>
<br>
I give you the `ps` output.<br>
<br>
[root@nagios01 plugins]# ps auxwww|grep nagios<br>
nagios   28426  0.0  0.0  5708  664 ?        S    Apr04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -t 60 -P 3 -L
authPriv -a MD5 -A  -U nagios -X  -o laErrorFlag.2 laErrMessage.2
laLoad.2 -c 0:0<br>
nagios   28430  0.0  0.1  6448 1376 ?        S    Apr04   0:00
/usr/bin/snmpget -t 60 -r 5 -m ALL -v 3 -l authPriv -a MD5 -u       
-A     -x DES -X              **.*6.198.208:161 laErrorFlag.2
laErrMessage.2 laLoad.2<br>
nagios   29198  0.0  0.0  7420  664 ?        S    Apr04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3
-L authPriv -a MD5 -A  -U nagios -X  -w 0:0 -c 0:1 -o
.1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1<br>
nagios   29199  0.0  0.1  6324 1376 ?        S    Apr04   0:00
/usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u       
-A              -x DES -X              **.*6.198.208:161
.1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1<br>
nagios   30092  0.0  0.0  6100  664 ?        S    Apr04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3
-L authPriv -a MD5 -A  -U nagios -X  -w 0:0 -c 0:1 -o
.1.3.6.1.4.1.2021.107.100.1 .1.3.6.1.4.1.2021.107.101.1<br>
nagios   30093  0.0  0.1  5984 1376 ?        S    Apr04   0:00
/usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u       
-A              -x DES -X              **.*6.198.208:161
.1.3.6.1.4.1.2021.107.100.1 .1.3.6.1.4.1.2021.107.101.1<br>
nagios   30153  0.0  0.0  6584  664 ?        S    Apr04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3
-L authPriv -a MD5 -A  -U nagios -X  -w 0:0 -c 0:1 -o
.1.3.6.1.4.1.2021.76.100.1 .1.3.6.1.4.1.2021.76.101.1<br>
nagios   30154  0.0  0.1  6252 1376 ?        S    Apr04   0:00
/usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u       
-A              -x DES -X              **.*6.198.208:161
.1.3.6.1.4.1.2021.76.100.1 .1.3.6.1.4.1.2021.76.101.1<br>
nagios   27018  0.0  0.0  5792  792 ?        S    Apr04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.198.208 -e 1 -t 120 -P 3
-L authPriv -a MD5 -A  -U nagios -X  -w 0:0 -c 0:1 -o
.1.3.6.1.4.1.2021.110.100.1 .1.3.6.1.4.1.2021.110.101.1<br>
nagios   27019  0.0  0.1  4612 2020 ?        S    Apr04   0:00
/usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u       
-A       -x DES -X              **.*6.198.208:161
.1.3.6.1.4.1.2021.110.100.1 .1.3.6.1.4.1.2021.110.101.1<br>
nagios   27425  0.9  1.0 37400 11184 ?       Ssl  10:43   1:24
/usr/bin/nagios -d /etc/nagios/nagios.cfg<br>
nagios    8307  0.0  0.9 37404 9436 ?        S    13:04   0:00
/usr/bin/nagios -d /etc/nagios/nagios.cfg<br>
nagios    8308  0.0  0.0  5592  792 ?        S    13:04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.197.92 -e 1 -t 120 -P 3 -L
authPriv -a MD5 -A  -U nagios -X  -w 0:0 -c 0:1 -o
.1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1<br>
nagios    8309  0.5  0.1  6264 1932 ?        S    13:04   0:00
/usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u       
-A              -x DES -X              **.*6.197.92:161
.1.3.6.1.4.1.2021.95.100.1 .1.3.6.1.4.1.2021.95.101.1<br>
nagios    8379  0.0  0.9 37404 9436 ?        S    13:04   0:00
/usr/bin/nagios -d /etc/nagios/nagios.cfg<br>
nagios    8381  0.0  0.0  6236  788 ?        S    13:04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.196.3 -e 1 -t 120 -P 3 -L
authPriv -a MD5 -A  -U nagios -X  -w 0:0 -c 0:1 -o
.1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1<br>
nagios    8385  2.0  0.1  5608 2020 ?        S    13:04   0:00
/usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u       
-A              -x DES -X              **.*6.196.3:161
.1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1<br>
nagios    8415  0.0  0.9 37404 9436 ?        S    13:04   0:00
/usr/bin/nagios -d /etc/nagios/nagios.cfg<br>
nagios    8416  0.0  0.0  6128  792 ?        S    13:04   0:00
/usr/lib/nagios/plugins//check_snmp -H **.*6.197.23 -e 1 -t 120 -P 3 -L
authPriv -a MD5 -A  -U nagios -X  -w 0:0 -c 0:1 -o
.1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1<br>
nagios    8417  8.0  0.1  6220 2020 ?        S    13:04   0:00
/usr/bin/snmpget -t 120 -r 1 -m ALL -v 3 -l authPriv -a MD5 -u       
-A              -x DES -X              **.*6.197.23:161
.1.3.6.1.4.1.2021.50.100.1 .1.3.6.1.4.1.2021.50.101.1<br>
root      8423  0.0  0.0  3760  664 pts/0    S+   13:04   0:00 grep
nagios<br>
<br>
<br>
I hope this is useful for you.<br>
bye<br>
</body>
</html>