From: Aiello, S. \(G. C. consultant\) <ste...@ge...> - 2006-02-28 12:45:13
|
> Well, the sysdesc field is a regex that is matches against=20 > the sysDesc value. You could add as many different values as=20 > you wanted, separated by pipes '|', which is the regexp 'or' operator. >=20 > If you wanted to be sneaky, you could edit the=20 > /config/snmp/snmpd.conf on your bigip box and add a sysdesc=20 > override to it. I havent done that but it might work :) We=20 > cheated by putting 'bigip' in the hostname, so the sysDesc=20 > that is normally returned has that string in it. >=20 > I was also thinking of using some sort of secondary=20 > auto-detection method to fall back on, maybe if there is no=20 > "sysdesc" field defined, you could have a "hostname" field=20 > that would match on the bb-hosts hostname. But then, of=20 > course, you are still dependent on having the device type in=20 > your hostname, which not everybody does, or wants to.=20 > The autodetection is nice, but think there should be a failsafe to override the autodetection by having the option to hardcode. I thouhgt hardcoding with the bbtag like "DEVMON:cisco-2920". =20 > So, basically, any device that is running snmpd on on a unix=20 > platform is=20 > going to cause trouble, because there's really no way of=20 > telling them apart (short of overriding the sysdesc variable=20 > on a per host basis). >=20 > -Eric I have a lot of templates to make now ;) Anyone have suggestions on the best/eaiest method ? I would assume I need to grab the SNMP MIB from the device vendor, and then use that info to make the template. Currently I have been reading the raw text MIB, and it barely makes sense ;) Any tool you know of to assist ? Again, thanks for your hard work on this. Happy to help however I can. >=20 > -----Original Message----- > From: dev...@li... on behalf of=20 > Aiello, Steve (GE, Corporate, consultant) > Sent: Mon 2/27/2006 8:24 PM > To: dev...@li... > Subject: RE: [Devmon] Inappropriate ioctl for device > =20 > Running on=20 >=20 > Red Hat Enterprise Linux AS release 3 (Taroon Update 4)=20 > 2.4.21-32.0.1.ELsmp #1 SMP=20 >=20 > Also is there a way to add multiple entries to a spec file ?=20 > The newer F5 BigIP (1500) are some form of linux, the sysDescr.0 is: >=20 > Linux Server.Domain.com 2.4.21-9.1.0.3.0smp #2 SMP Wed May 18=20 > 02:11:03 PDT 2005 i686 >=20 >=20 > > -----Original Message----- > > From: dev...@li... > > [mailto:dev...@li...] On Behalf=20 > > Of Aiello, Steve (GE, Corporate, consultant) > > Sent: Monday, February 27, 2006 7:54 PM > > To: dev...@li... > > Subject: RE: [Devmon] Inappropriate ioctl for device > >=20 > >=20 > > I am experiencing the same issue of: "Can't fork: > > Inappropriate ioctl for device". > >=20 > > Also I am testing against an old BigIP (4.2 PTF 9), and the > > Connects test is not coming up with valid data. It displays as: > >=20 > > Connection statistics: > >=20 > > Active connections: > >=20 > > Active client connections : Unknown > > Active server connections : Unknown > > Active pva client connections : Unknown > > Active pva server connections : Unknown > > Active ssl native connections : Unknown > > Active ssl compat connections : Unknown > > Total active connections : No data > >=20 > > New Connections: > > New client connections/sec : No data > > New server connections/sec : No data > > New pva client connections/sec : No data > > New pva server connections/sec : No data > > New ssl native connections/sec : No data > > New ssl compat connections/sec : No data > > Total new connections : Bad data > >=20 > > Throughput: > > Client bits in/sec : Bad data > > Client bits out/sec : Bad data > > Server bits in/sec : Bad data > > Server bits out/sec : Bad data > >=20 > > Http connections: > > Total http requests : Unknown > > Http requests/sec : No data > >=20 > > Devmon.log logs the following: > >=20 > > [06-02-27@19:44:38] No SNMP data found for ramCacheUtil on > > F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for=20 > > clientBytesOut on F5-BigIP.host.com [06-02-27@19:44:38] No=20 > > SNMP data found for pvaClientTotCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] No SNMP data found for memUsed on=20 > > F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for=20 > > sslNativeTotCon on F5-BigIP.host.com [06-02-27@19:44:38] No=20 > > SNMP data found for sslCompatCurCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] No SNMP data found for serverBytesIn on=20 > > F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for=20 > > pvaServerCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No=20 > > SNMP data found for sslCompatTotCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] No SNMP data found for clientTotCon on=20 > > F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for=20 > > serverBytesOut on F5-BigIP.host.com [06-02-27@19:44:38] No=20 > > SNMP data found for clientBytesIn on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] No SNMP data found for httpReqs on=20 > > F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for=20 > > serverCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP=20 > > data found for sslNativeCurCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] No SNMP data found for pvaClientCurCon on=20 > > F5-BigIP.host.com [06-02-27@19:44:38] No SNMP data found for=20 > > clientCurCon on F5-BigIP.host.com [06-02-27@19:44:38] No SNMP=20 > > data found for pvaServerTotCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] No SNMP data found for serverTotCon on=20 > > F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for=20 > > pvaClientTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant=20 > > find snmp data for clientBytesOut on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] Cant find snmp data for clientTotCon on=20 > > F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data for=20 > > serverTotCon on F5-BigIP.host.com [06-02-27@19:44:38] Cant=20 > > find snmp data for pvaServerTotCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] Cant find snmp data for sslNativeTotCon=20 > > on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data=20 > > for sslCompatTotCon on F5-BigIP.host.com [06-02-27@19:44:38]=20 > > Data type mismatch for clientNewCon on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch=20 > > for serverNewCon on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch=20 > > for pvaClientNewCon on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch=20 > > for pvaServerNewCon on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch=20 > > for sslNativeNewCon on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch=20 > > for sslCompatNewCon on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Data type mismatch=20 > > for clientBitsOut on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Cant find snmp data=20 > > for clientCurCon on F5-BigIP.host.com [06-02-27@19:44:38]=20 > > Cant find snmp data for serverCurCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] Cant find snmp data for pvaClientCurCon=20 > > on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data=20 > > for pvaServerCurCon on F5-BigIP.host.com [06-02-27@19:44:38]=20 > > Cant find snmp data for sslNativeCurCon on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] Cant find snmp data for sslCompatCurCon=20 > > on F5-BigIP.host.com [06-02-27@19:44:38] Cant find snmp data=20 > > for serverBytesOut on F5-BigIP.host.com [06-02-27@19:44:38]=20 > > Cant find snmp data for clientBytesIn on F5-BigIP.host.com=20 > > [06-02-27@19:44:38] Data type mismatch for clientBitsIn on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Cant find snmp data=20 > > for httpReqs on F5-BigIP.host.com [06-02-27@19:44:38] Data=20 > > type mismatch for serverBitsOut on > > F5-BigIP.host.com: 'No data' does not match regex=20 > > '^[-+]?\d+(\.\d+)?$' [06-02-27@19:44:38] Cant find snmp data=20 > > for serverBytesIn on F5-BigIP.host.com [06-02-27@19:44:38]=20 > > Data type mismatch for serverBitsIn on > > F5-BigIP.host.com: 'No data' does not match regex=20 > '^[-+]?\d+(\.\d+)?$' > >=20 > > > -----Original Message----- > > > From: dev...@li... > > > [mailto:dev...@li...] On Behalf > > > Of Schwimmer, Eric E *HS > > > Sent: Monday, February 27, 2006 5:24 PM > > > To: dev...@li... > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > >=20 > > >=20 > > >=20 > > > Okay, engaging 'wild guessing' mode. > > >=20 > > > Did you, by any chance, compile your own gcc on this machine? If=20 > > > not, are you running the latest and greatest gcc > > > (3.2.3-53) on it? After browsing online for a bit apparently > > > some people on RHEL3 had a problem applications balking at=20 > > > forks with that error. > > >=20 > > > Have you tried running devmon in the foreground (./devmon=20 > -vv -f)?=20 > > > If that works, try suspending it and resuming it in the=20 > background.=20 > > > (^Z and then "bg"). If that works, I guess you could bypass=20 > > > Devmon's fork subroutine by asking it to run in the=20 > foreground, but=20 > > > causing your shell to background it, ie: > > >=20 > > > myhost# ./devmon -f & > > >=20 > > > -Eric Schwimmer > > > Network Engineer > > > UVA HSCS Network Engineering > > >=20 > > > > -----Original Message----- > > > > From: dev...@li... > > > > [mailto:dev...@li...] On=20 > Behalf Of=20 > > > > Craig Boyce > > > > Sent: Monday, February 27, 2006 4:50 PM > > > > To: dev...@li... > > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > > >=20 > > > > Hi Eric, > > > >=20 > > > > I do not have SELinux. > > > > I am running it as root for now. > > > > The only entries in messages is the Inappropriate ioctl=20 > for device=20 > > > > messages. > > > >=20 > > > > Craig > > > >=20 > > > > -----Original Message----- > > > > From: Schwimmer, Eric E *HS > > [mailto:EE...@hs...] > > > > Sent: Tuesday, 28 February 2006 8:43 a.m. > > > > To: Craig Boyce > > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > > >=20 > > > >=20 > > > >=20 > > > > Strange; I've tested it on an RE2 box and it worked okay. > > > >=20 > > > > A few more questions: > > > > Is this machine running SELinux? > > > > What user are you running Devmon as? > > > > Are there any odd messages in the /var/log/messages file? > > > >=20 > > > > -Eric > > > >=20 > > > > > -----Original Message----- > > > > > From: dev...@li... > > > > > [mailto:dev...@li...] On > > Behalf Of > > > > > Craig Boyce > > > > > Sent: Monday, February 27, 2006 2:07 PM > > > > > To: dev...@li... > > > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > > > >=20 > > > > > Hi Eric, > > > > >=20 > > > > > It is RedHat Enterprise Release 3, Kernel 2.4.21-32.EL > > > > >=20 > > > > > Thanks > > > > >=20 > > > > > Craig > > > > >=20 > > > > > -----Original Message----- > > > > > From: dev...@li... > > > > > [mailto:dev...@li...] On > > Behalf Of > > > > > Schwimmer, Eric E *HS > > > > > Sent: Tuesday, 28 February 2006 7:46 a.m. > > > > > To: dev...@li... > > > > > Subject: RE: [Devmon] Inappropriate ioctl for device > > > > >=20 > > > > >=20 > > > > >=20 > > > > > What OS is this running on? > > > > >=20 > > > > > -Eric > > > > >=20 > > > > > > -----Original Message----- > > > > > > From: dev...@li... > > > > > > [mailto:dev...@li...] On > > > Behalf Of > > > > > > Craig Boyce > > > > > > Sent: Monday, February 27, 2006 1:44 PM > > > > > > To: dev...@li... > > > > > > Subject: [Devmon] Inappropriate ioctl for device > > > > > >=20 > > > > > > Hi, > > > > > >=20 > > > > > > I have installed Devmon but when I start devmon it failes > > > > with the > > > > > > following error > > > > > >=20 > > > > > > Can't fork: Inappropriate ioctl for device > > > > > >=20 > > > > > > The log file I created in /var/log is also empty, Could > > > this be a > > > > > > permissions issue > > > > > >=20 > > > > > > Thanks > > > > > >=20 > > > > > > Craig Boyce > > > > > >=20 > > > > > > ________________________________ > > > > > >=20 > > > > > > Disclaimer: > > > > > >=20 > > > > > > The information in this electronic mail message is > > > > confidential and > > > > > > may be legally privileged. It is intended solely for the > > > > > > Addressee.Access to this internet electronic mail message > > > > by anyone > > > > > > else is unauthorised. If you are not the intended > > recipient, any > > > > > > disclosure, copying, distribution or any action taken or > > > > omitted to > > > > > > be taken in reliance on it is prohibited and may be > > > > unlawful. If you > > > >=20 > > > > > > have received this message in error please notify us > > > immediately. > > > > > >=20 > > > > > > Rodney District Council accepts no responsibility for > > > > any effects > > > > > > this email message or attachments has on the recipient > > > network or > > > > > > computer system. > > > > > >=20 > > > > > > ________________________________ > > > > > >=20 > > > > > >=20 > > > > >=20 > > > > >=20 > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by xPML, a > > groundbreaking scripting > > > > > language that extends applications into web and mobile > > > > media. Attend > > > > > the live webcast and join the prime developer group > > > > breaking into this > > > >=20 > > > > > new coding territory!=20 > > > > >=20 > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > > > > _______________________________________________ > > > > > Devmon-support mailing list=20 > Dev...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > > ############################################################## > > > > > ####################### > > > > > Disclaimer: > > > > > The information in this electronic mail message is=20 > confidential=20 > > > > > and may be legally privileged. It is intended solely for the=20 > > > > > Addressee.Access to this internet electronic mail message by=20 > > > > > anyone else is unauthorised. If you are not the intended=20 > > > > > recipient, any disclosure, copying, distribution or=20 > any action=20 > > > > > taken or omitted to be taken in reliance on it is=20 > prohibited and=20 > > > > > may be unlawful. If you have received this message in error=20 > > > > > please notify us immediately. > > > > >=20 > > > > > Rodney District Council accepts no responsibility for > > any effects > > > > > this email message or attachments has on the recipient > > network or > > > > > computer system. > > > > >=20 > > > > > ############################################################## > > > > > ####################### > > > > >=20 > > > > >=20 > > > > > ------------------------------------------------------- > > > > > This SF.Net email is sponsored by xPML, a groundbreaking > > > scripting > > > > > language that extends applications into web and mobile > > > media. Attend > > > > > the live webcast > > > > > and join the prime developer group breaking into this=20 > new coding=20 > > > > > territory!=20 > > > > >=20 > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > > > > _______________________________________________ > > > > > Devmon-support mailing list=20 > Dev...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > > >=20 > > > > ############################################################## > > > > ####################### > > > > Disclaimer: > > > > The information in this electronic mail message is > > confidential and > > > > may be legally privileged. It is intended solely for the > > > > Addressee.Access to this internet electronic mail message=20 > > by anyone > > > > else is unauthorised. If you are not the intended recipient, any > > > > disclosure, copying, distribution or any action taken or=20 > > omitted to > > > > be taken in reliance on it is prohibited and may be=20 > unlawful. If=20 > > > > you have received this message in error please notify us=20 > > > > immediately. > > > >=20 > > > > Rodney District Council accepts no responsibility for=20 > any effects > > > > this email message or attachments has on the recipient=20 > network or=20 > > > > computer system. > > > >=20 > > > > ############################################################## > > > > ####################### > > > >=20 > > > >=20 > > > > ------------------------------------------------------- > > > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting > > > > language that extends applications into web and mobile > > media. Attend > > > > the live webcast > > > > and join the prime developer group breaking into this new > > > > coding territory! > > > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > > > _______________________________________________ > > > > Devmon-support mailing list > > > > Dev...@li... > > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting=20 > > > language that extends applications into web and mobile=20 > media. Attend > > > the live webcast > > > and join the prime developer group breaking into this new=20 > > > coding territory! > > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > > _______________________________________________ > > > Devmon-support mailing list > > > Dev...@li... > > > https://lists.sourceforge.net/lists/listinfo/devmon-support > > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking > > scripting language > > that extends applications into web and mobile media. Attend=20 > > the live webcast > > and join the prime developer group breaking into this new=20 > > coding territory! > > = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > Devmon-support mailing list > > Dev...@li... > > https://lists.sourceforge.net/lists/listinfo/devmon-support > >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting language > that extends applications into web and mobile media. Attend=20 > the live webcast > and join the prime developer group breaking into this new=20 > coding territory! > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support >=20 >=20 |