Johan.Boeckx | 1 Mar 09:47 2008

Re: Fw: [sh] <defunct>


hey martin,

manually i can issue command,  Only when i killl the parent process, it can start polling again.

output ps -axf

22243 ?        S      0:00  \_ /USR/SBIN/CRON
22245 ?        Ss     0:00      \_ /bin/sh -c        cd $JFFNMS && $PHP -q poller2.php master $THREADS >/dev/null 2>&1
22246 ?        S      0:00          \_ /usr/bin/php -q poller2.php master 75
 4749 ?        S      0:00 sh -c /usr/bin/php -q poller2.php - 5
 4750 ?        S      6:07  \_ /usr/bin/php -q poller2.php - 5
 4815 ?        Z      0:00      \_ [sh] <defunct>
19798 ?        S      1:06 /usr/bin/php -q poller2.php master 75
20785 ?        S      0:00  \_ sh -c /usr/bin/php -q poller2.php - 5
20786 ?        S      0:04  |   \_ /usr/bin/php -q poller2.php - 5
20817 ?        Z      0:00  |       \_ [sh] <defunct>
20853 ?        Z      0:00  \_ [sh] <defunct>
21138 ?        Z      0:00  \_ [sh] <defunct>
21140 ?        Z      0:00  \_ [sh] <defunct>
21165 ?        Z      0:00  \_ [sh] <defunct>
21169 ?        Z      0:00  \_ [sh] <defunct>
21173 ?        Z      0:00  \_ [sh] <defunct>
21175 ?        Z      0:00  \_ [sh] <defunct>
21177 ?        Z      0:00  \_ [sh] <defunct>
21201 ?        Z      0:00  \_ [sh] <defunct>
21213 ?        Z      0:00  \_ [sh] <defunct>
21239 ?        Z      0:00  \_ [sh] <defunct>
21241 ?        Z      0:00  \_ [sh] <defunct>
21245 ?        Z      0:00  \_ [sh] <defunct>
21249 ?        Z      0:00  \_ [sh] <defunct>
21253 ?        Z      0:00  \_ [sh] <defunct>
21273 ?        Z      0:00  \_ [sh] <defunct>
21275 ?        Z      0:00  \_ [sh] <defunct>
21279 ?        Z      0:00  \_ [sh] <defunct>
21283 ?        Z      0:00  \_ [sh] <defunct>
21285 ?        Z      0:00  \_ [sh] <defunct>
21575 ?        Z      0:00  \_ [sh] <defunct>
21577 ?        Z      0:00  \_ [sh] <defunct>
21583 ?        Z      0:00  \_ [sh] <defunct>
21585 ?        Z      0:00  \_ [sh] <defunct>
21587 ?        Z      0:00  \_ [sh] <defunct>
21589 ?        Z      0:00  \_ [sh] <defunct>
21591 ?        Z      0:00  \_ [sh] <defunct>
21593 ?        Z      0:00  \_ [sh] <defunct>
21595 ?        Z      0:00  \_ [sh] <defunct>
21607 ?        Z      0:00  \_ [sh] <defunct>
21609 ?        Z      0:00  \_ [sh] <defunct>
21611 ?        Z      0:00  \_ [sh] <defunct>
21613 ?        Z      0:00  \_ [sh] <defunct>
21615 ?        Z      0:00  \_ [sh] <defunct>
21617 ?        Z      0:00  \_ [sh] <defunct>
21637 ?        Z      0:00  \_ [sh] <defunct>
22116 pts/1    S      0:00 /usr/bin/php -q poller2.php 37,94 0 0 0
22162 pts/1    S      0:00  \_ sh -c /usr/bin/rrdtool -
22163 pts/1    S      0:00      \_ /usr/bin/rrdtool -
22251 ?        S      0:00 /usr/bin/php -q consolidate.php


manually issued : sudo -u jffnms php -q poller2.php


Warning: fputs(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 22
09:37:55  :  H     :  I 1052 :  P LPD : last_poll_date(): 1204360672 -> db(last_poll_date): 1 (time P: 0.09 | B: 239.39)

Warning: fopen(/opt/jffnms/logs/poller2-2008-03-01.log): failed to open stream: Permission denied in /opt/jffnms/lib/api.inc.php on line 20

Warning: fputs(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 22
09:37:55  :  H     :  I 493 :  P LPD : last_poll_date(): 1204360667 -> db(last_poll_date): 1 (time P: 0.08 | B: 4.23)

Warning: fopen(/opt/jffnms/logs/poller2-2008-03-01.log): failed to open stream: Permission denied in /opt/jffnms/lib/api.inc.php on line 20

Warning: fputs(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 22
09:37:55  :  H 38,108 : Poller End, Total Time: 11287 msec.
.............
Warning: fopen(/opt/jffnms/logs/poller2-2008-03-01.log): failed to open stream: Permission denied in /opt/jffnms/lib/api.inc.php on line 20

Warning: fputs(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 22
09:37:58  :  H  94 :  I 999 :  P  15 : snmp_counter:tcp_established(.1.3..9.0):  -> buffer(): 23 (time P: 6046.84 | B: 0.15)

Warning: fopen(/opt/jffnms/logs/poller2-2008-03-01.log): failed to open stream: Permission denied in /opt/jffnms/lib/api.inc.php on line 20

Warning: fputs(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 22
09:37:58  :  H  37 :  I 479 :  P  16 : interface_oper_status(8): up -> alarm(3,,180): Nothing was done (time P: 120.42 | B: 1.27)
.
Warning: fopen(/opt/jffnms/logs/poller2-2008-03-01.log): failed to open stream: Permission denied in /opt/jffnms/lib/api.inc.php on line 20

Warning: fputs(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 22
09:37:59  :  H  37 :  I 480 :  P  16 : interface_oper_status(8): up -> alarm(3,,180): Nothing was done (time P: 65.75 | B: 1.07)

Warning: fopen(/opt/jffnms/logs/poller2-2008-03-01.log): failed to open stream: Permission denied in /opt/jffnms/lib/api.inc.php on line 20

Warning: fputs(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 21

Warning: fclose(): supplied argument is not a valid stream resource in /opt/jffnms/lib/api.inc.php on line 22
09:37:59  :  H  37 :  I 481 :  P  16 : interface_oper_status(8): up -> alarm(3,,180): Nothing was done (time P: 60.43 | B: 1.02)



Martin Beecroft <jffnms-7LVbQpiFQjW9FHfhHBbuYA@public.gmane.org>

28/02/2008 18:50

To
Johan.Boeckx-/SqWFB5/3cJl57MIdRCFDg@public.gmane.org
cc
jffnms-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject
Re: [jffnms-users] Fw:  [sh] <defunct>





Hi Johan,

this sounds like the poller isn't exiting correctly and leaving a
defunct shell running.  Have you upgraded anything recently?  Could you
run a "ps axf" and send the output to the list?

Also it could be worth trying to run the poller manually as the jffnms
user and see what the output is like, try "sudo -u jffnms php -q
poller2.php".

Cheers

Martin


Johan.Boeckx-/SqWFB5/3cJl57MIdRCFDg@public.gmane.org wrote:
>
> Hi,
>
> Anybody ? Please ? Those [sh] <defunct>   -messages, prevent from
> polling, and happens every 2 days.
>
> Greetings,
> Johan
> ----- Forwarded by Johan Boeckx/EU/WTG/PENTAIR on 28/02/2008 14:20 -----
>
> jffnms-users-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org wrote on 25/02/2008 10:31:26:
>
>  >
>  > Hi,
>  >
>  > I am running jffnms on debian server, and since a week i have
>  > problem with stopping processes, meaning no polling is done anymore
>  > : it suddenly stops. The cron keeps running. This is what I see in
> the logs :
>  > Anybody knows what is [sh] <defunct> ?
>  > www-data 22901     1  0 05:02 ?        00:00:10 /usr/bin/php -q
>  > poller2.php mast
>  > www-data 23404 22901  0 05:08 ?        00:00:00 sh -c /usr/bin/php -
>  > q poller2.ph
>  > www-data 23405 23404  0 05:08 ?        00:00:16 /usr/bin/php -q
>  > poller2.php - 5
>  > www-data 23406 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23408 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23418 23405  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23426 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23428 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23430 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23432 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23434 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23436 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23438 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23454 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23458 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23468 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23470 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23472 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23474 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23476 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23512 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23514 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23516 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23518 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23522 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23524 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23526 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23528 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23550 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23556 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23561 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23563 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23565 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23567 22901  0 05:08 ?        00:00:00 [sh] <defunct>
>  > www-data 23569 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23587 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23589 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23591 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23593 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23595 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23597 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23599 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23601 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23603 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23605 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23607 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23609 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23611 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23613 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23615 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23617 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23619 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23621 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23623 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23625 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  > www-data 23627 22901  0 05:09 ?        00:00:00 [sh] <defunct>
>  >
>  > Greetz,
>  > Johan
>  > ______________________________________________________________________
>  > This email has been scanned by the MessageLabs Email Security System.
>  > For more information please visit http://www.messagelabs.com/email
>  > ______________________________________________________________________
>  > -------------------------------------------------------------------------
>  > This SF.net email is sponsored by: Microsoft
>  > Defy all challenges. Microsoft(R) Visual Studio 2008.
>  > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>  > _______________________________________________
>  > jffnms-users mailing list
>  > jffnms-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>  > https://lists.sourceforge.net/lists/listinfo/jffnms-users
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> jffnms-users mailing list
> jffnms-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/jffnms-users

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users
Craig Small | 5 Mar 04:48 2008
Picon

Re: RE : poller works when run manually, but NaN from cron??

On Thu, Feb 28, 2008 at 09:20:17AM -0500, ... wrote:
> So when running that command, I find that after a few minutes, there are no
> new hosts finishing and if I look up to see which hosts were last added and
> then run the poller manually against them, I find quite a few crash with
> segmentation faults.  Is this a hardware problem on this box, or is it
> software?  Thanks
You have something sick going on there. PHP should never segv not matter
what rubbish you give it. It might bomb out and complain loudly, but
segv is a good indicator you have far more serious problems going on.

 - Craig
--

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Craig Small | 5 Mar 04:50 2008
Picon

Re: Fw: [sh] <defunct>

On Sat, Mar 01, 2008 at 09:47:12AM +0100, Johan.Boeckx@... wrote:
> 19798 ?        S      1:06 /usr/bin/php -q poller2.php master 75
> 20785 ?        S      0:00  \_ sh -c /usr/bin/php -q poller2.php - 5
> 20786 ?        S      0:04  |   \_ /usr/bin/php -q poller2.php - 5
> 20817 ?        Z      0:00  |       \_ [sh] <defunct>
> 20853 ?        Z      0:00  \_ [sh] <defunct>
> 21138 ?        Z      0:00  \_ [sh] <defunct>
Hmm, something is hanging up a shell script that the poller is using, as
it is a child process of the poller.  75 child pollers seems an  awful
lot, maybe you have hit some sort of limit?

 - Craig
--

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Craig Small | 5 Mar 04:51 2008
Picon

Re: Trap Unrecognized for JFFNMS 0.8.3

On Fri, Feb 29, 2008 at 02:09:21PM +1930, Daniel Alberto Ortiz Lara wrote:
> Trap unknown OID SNMPv2-SMI: enterprises.9.9.41.2.0.1 Values: 1: IP_VFR, 2:
> 5, 3: FRAG_TABLE_OVERFLOW, 4: 22:0:04:02.55, 5: 172.17.1.24, 6: ncnaldmnw
> 
> How can we change that recognizes these TRAPS SNMP to avoid leaving alerts
> type Warning?
Do you want to ignore them completely or do something with them?

 - Craig
--

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Craig Small | 5 Mar 04:56 2008
Picon

Re: Help-me

On Fri, Feb 29, 2008 at 02:53:15PM -0300, Geovane Plácido Silva wrote:
> i work in services management using Nagios v2.
A fine program!

> I started a project for change Nagios, and  JFFNMS and Openms will be my
> choice.
> I liked it very jffnms...
> My question is ....It would like to know if jffnms obtains interaction with
> Nagios?
They are really two different things. I've used both of them
side-by-side as they have different strengths.

You could write a poller that grabs out data from the Nagios status file
and then interprets it to make pretty graphs. I have actually done such
work but it is not trivial to do.

My first attempt sucked, it didn't scale above a few hundred points. I
chucked out the OO wankyness and wrote another. The second attempt was 
better but I didn't get to optimise it as much as I would of liked to.

 - Craig
--

-- 
Craig Small      GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/                             csmall at : enc.com.au
http://www.debian.org/          Debian GNU/Linux, software should be Free 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
la Bigmac | 5 Mar 15:43 2008
Picon

manual discovery w/o PortScan


Hello,

I have created a new bunch of interfaces, pollers and poller backends, I am able to monitor the device in question to some degree, I have some more to work iron out a few things but I think I can handle that.

I have a problem when I do a manual discovery w/o PortScan of a host, while the interfaces I want to monitor are displayed I get an error printed to the screen ERROR: Calling function ‘discovery_asm_realservers’ doesn’t exists.

Very true it does not exist. I do have a function called asm_realservers that I have created…  I am thinking that I have made a typo somewhere and it should be pointing to the directory …/discovery/asm_realservers but I cannot for the life of me find where.

What config files control the “manual Discovery w/o portscan option? I am thinking I made a mistake and should look their next?

Any other pointers are welcome.

Regards,

Mat.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users
Joseph Davila | 6 Mar 02:13 2008

Forbidden Access to JFFNMS

I just setup a new Windows JFFNMS installation. However, when I try to go to the setup page I get a forbidden access message. I have inputted the following at the very bottom of my httpd.conf file:

 

NameVirtualHost jffnms

 

<VirtualHost jffnms>

ServerAdmin josephd-0q92sFSxcdTQT0dZR+AlfA@public.gmane.org

DocumentRoot c:\jffnms\htdocs

ServerName meta9.mbasis.com

DirectoryIndex index.php

LimitRequestLine 20000

</VirtualHost>

 

I have given the jffnms local user account full control to the folder. I am not sure what else to do.

 

-Joseph

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users
... | 10 Mar 19:02 2008
Picon

using strace to troubleshoot high CPU

Hi
So I've been troubleshooting some problems with a new installation of jffnms on an ubuntu 7.10 server with an adaptec 2400a raid controller and I've been told to use strace to identify any problems with individual pollers.  Here is what I'm seeing with the strace;

read(7, 0x8973f98, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000}, NULL)             = 0
read(7, 0x8973f98, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000}, NULL)             = 0
read(7, 0x8973f98, 8192)                = -1 EAGAIN (Resource temporarily unavailable)
nanosleep({0, 10000}, NULL)             = 0


Any idea what this could mean??  Hardware failure?


Thanks

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users
Daniel Alberto Ortiz Lara | 10 Mar 19:41 2008
Picon

Trap Unrecognized for JFFNMS 0.8.3

On Fri, Feb 29, 2008 at 02:09:21PM +1930, Daniel Alberto Ortiz Lara wrote:
> Trap unknown OID SNMPv2-SMI: enterprises.9.9.41.2.0.1 Values: 1: IP_VFR, 2:
> 5, 3: FRAG_TABLE_OVERFLOW, 4: 22:0:04:02.55, 5: 172.17.1.24, 6: ncnaldmnw
>
> How can we change that recognizes these TRAPS SNMP to avoid leaving alerts
> type Warning?
>Do you want to ignore them completely or do something with them?


I want to do something with them. In particular I want to acknowledge what JFFNMS but I do not have the slightest idea of how to do that. I can help in that part Craig ?????

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jffnms-users mailing list
jffnms-users@...
https://lists.sourceforge.net/lists/listinfo/jffnms-users
Joe Wells | 10 Mar 22:42 2008

Poller output doesn't seem to match rrd file

I've been trying to add some custom interfaces to JFFNMS with little
success. Interfaces that ship with JFFNMS seem to work fine, but custom
ones seem to have trouble getting the data into the rrd file. To check
myself, I created the ICMP in Messages interface as outlined in the manual.
Once I discover and add it to a host, I can run the poller and get output
similar to:

adcsl10vmnet:/opt/jffnms/engine # php poller.php 3 2386
16:40:16  :  H   3 : Poller Start : 2 Items.
16:40:16  :  H   3 :  I 2386 :  P  10 : icmp_inmsgs(.1.3..1.0): 7833 ->
rrd(): icmp_inmsgs:7833 (time P:4.96 | 35.88)
16:40:16  :  H   3 :  I 2386 :  P LPD : last_poll_date(): 1205185216 ->
db(last_poll_date): 1 (time P:0.47 | 3.45)
16:40:16  :  H   3 : Poller End, Total Time: 51.92 msec.

So it sees 7833 ICMP in Messages, which is confirmed with a good ol' SNMP
walk. If I continue to run the poller manually, I see a slowly increasing
counter which matches a direct SNMP query.

But if I look at the rrd file:

adcsl10vmnet:/opt/jffnms/rrd # rrdtool fetch interface-2386-0.rrd AVERAGE
<snip>
1205181900: 5.6561418239e-01
1205182200: 6.6423300309e-01
1205182500: 7.0178642332e-01
1205182800: 6.5275188699e-01
1205183100: 7.0373823316e-01
1205183400: 6.6701743714e-01
1205183700: 7.3279752134e-01
1205184000: 7.6681153137e-01
1205184300: 7.1651385658e-01
1205184600: 6.8056924193e-01
1205184900: 7.3923700552e-01
1205185200: nan

I don't have any idea where these numbers are coming from. They don't make
any sense to me.

Thoughts anyone?
-Joe Wells

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane