RFA (2): Multiprocesses on Netsaint 0.0.7 & Nagios 1.0.b6 - RedHat 7.3

Michael Smedeus michael.smedeus at consultant.saab.se
Fri Oct 25 08:39:10 CEST 2002


Hi

Thank's all for you responses

Still haven't figured out what the difference is. Tom DE BLENDE 
suggested that this is by design, ok then I guess it must be kernelstuff 
that differs, or perhaps the 'ps' command itself? My old RH7.2 (PII 
350MHz, 190MB) has one and only motherprocess. The new RH7.3 (PIII 
730MHz, 128MB) has what to me looks like many forked main processes that 
come and go but there are always many of them.

Done some strace on them and it looks like they are servicechecks that 
do what they should.
I might be digging into something that I realy shouldn't bother about 
but I'm a curios person.


$ ps -auxww
netsaint 13889  0.0  0.9  2252 1264 ?        S    07:26   0:00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 14597  0.0  0.9  2252 1264 ?        S    07:34   0:00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 14600  0.0  0.9  2252 1264 ?        S    07:34   0:00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg

........ about 70-80 of these .............

netsaint 16835  0.0  0.9  2252 1264 ?        S    07:52   0:00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 16838  0.0  0.9  2252 1264 ?        S    07:52   0:00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 16841  0.0  0.9  2252 1264 ?        S    07:52   0:00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg




Stanley Hopcroft wrote:
> Dear Sir,
> 
> On Mon, Oct 21, 2002 at 10:26:43AM +0200, Michael Smedeus wrote:
> 
>>Hi
>>
>>Last week I installed Netsaint 0.0.7 on a RedHat 7.3 box that will be a 
>>replacement for an old RH7.2 one.
>>When running Netsaint on the new machine with an exact copy of all 
>>config files, (Netsaint 0.0.7 on both) Netsaint creates 60-70 subprocesses.
>>
>>I'm curios about this if it's normal on a RH7.3 box with more than one 
>>netsaint process? I have never seen this before starting from RH6.1-7.2 
>>until now and I belive that the normal behavior i just one process running.
>>
> 
> 
> I am not sure that I understand your observation but I expect to see 
> _many_ shortlived Netsaint processes as the parent Netsaint forks itself 
> to run service checks, send alerts etc etc.
> 
> Here's a FreeBSD box,
> 
> tsitc> ps -auxw | grep netsaint
> netsaint 31778  0.0  4.5 12176 11548  ??  Ss    9:35PM   0:11.91 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 42993  0.0  4.5 12168 11548  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 42995  0.0  0.1   628  280  ??  S    10:16PM   0:00.00 sh -c 
> /usr/local/netsaint/libexec/check_ppp
> netsaint 42998  0.0  0.5  1656 1264  ??  S    10:16PM   0:00.02 
> /usr/local/bin/expect -f /usr/local/netsaint/libexec/check_ppp
> netsaint 42999  0.0  0.6  2372 1520  p5  Ss+  10:16PM   0:00.01 
> /usr/sbin/ppp -interactive a6
> netsaint 43014  0.0  4.5 12168 11548  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 43016  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
> /usr/local/netsaint/libexec/check_ping 10.0.100.191 5 10 50.0 100.0 -p 
> 10 -to 15 -nohtml
> netsaint 43018  0.0  0.2   984  616  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/libexec/check_ping 10.0.100.191 5 10 50.0 100.0 -p 
> 10 -to 15 -nohtml
> netsaint 43019  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
> /sbin/ping -n -c 10 10.0.100.191
> netsaint 43034  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 43035  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
> /usr/local/netsaint/libexec/check_ping 10.0.100.15 5 10 50.0 100.0 -p 10 
> -to 15 -nohtml
> netsaint 43036  0.0  0.2   980  612  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/libexec/check_ping 10.0.100.15 5 10 50.0 100.0 -p 10 
> -to 15 -nohtml
> netsaint 43037  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
> /sbin/ping -n -c 10 10.0.100.15
> netsaint 43039  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 43041  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
> /usr/local/netsaint/libexec/check_ping 10.0.100.52 5 10 50.0 100.0 -p 10 
> -to 15 -nohtml
> netsaint 43042  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 43043  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
> /usr/local/netsaint/libexec/check_ping 192.168.103.129 20 50 500.0 
> 1000.0 -p 10 -to 15 -noht
> netsaint 43044  0.0  0.2   980  612  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/libexec/check_ping 10.0.100.52 5 10 50.0 100.0 -p 10 
> -to 15 -nohtml
> netsaint 43045  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
> /sbin/ping -n -c 10 10.0.100.52
> netsaint 43046  0.0  0.2   984  616  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/libexec/check_ping 192.168.103.129 20 50 500.0 
> 1000.0 -p 10 -to 15 -nohtml
> netsaint 43047  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
> /sbin/ping -n -c 10 192.168.103.129
> netsaint 43049  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 43050  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
> /usr/local/netsaint/libexec/check_ping 10.0.100.11 5 10 50.0 100.0 -p 10 
> -to 15 -nohtml
> netsaint 43051  0.0  0.2   980  612  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/libexec/check_ping 10.0.100.11 5 10 50.0 100.0 -p 10 
> -to 15 -nohtml
> netsaint 43052  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
> /sbin/ping -n -c 10 10.0.100.11
> netsaint 43057  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
> netsaint 43058  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
> /usr/local/netsaint/libexec/check_ping 10.0.100.148 5 10 50.0 100.0 -p 
> 10 -to 15 -nohtml
> netsaint 43059  0.0  0.2   984  616  ??  S    10:16PM   0:00.00 
> /usr/local/netsaint/libexec/check_ping 10.0.100.148 5 10 50.0 100.0 -p 
> 10 -to 15 -nohtml
> netsaint 43060  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
> /sbin/ping -n -c 10 10.0.100.148
> 
> tsitc> uname -a
> FreeBSD tsitc.aipo.gov.au 4.6.1-RELEASE-p10 FreeBSD 4.6.1-RELEASE-p10 
> #1: Wed Aug  7 17:49:05 EST 2002     
> root at tsitc.aipo.gov.au:/usr/obj/usr/src/sys/TSITC  i386
> tsitc> 
> 
> Is it possible that your 7.[12] boxes are vastly more powerful than your 
> 7.3 host ? (so that the checks finish real quick and you are not aware 
> of their presence).
> 
> How long do these multiple Netsaint processes last for ?
> 
> Are the process IDs the same ?
> 
> 
>  
> 
>>Some more facts:
>>Netsaint performs alright on the new machine
>>The main process is started by the standard daemon-init script and both 
>>machines sitting on the very same network segment.
>>
>>
>>Regards
>>
>>Michael Smedéus
>>
> 
> 


Regards
Michael Smedéus




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en




More information about the Users mailing list