[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     [nocol-users] Newbie questions



Hello,

I have some general newbie questions...


In netconsole I have a nsmon entry on Critical so how do I now expand
this line into some type of error description?


I have been able to successfully compile 4.2.1 and run most of the
monitors, but am having difficulty with two of them...  The Etherload
module does not compile on my stock redhat 5.2 system, here are the
compiler errors:

cc -O -DNOCOL -DLINUX2 -I/usr/local/src/nocol-4.2.1/include  -c  linux.c
In file included from /usr/include/linux/netdevice.h:28,
                 from linux.c:35:
/usr/include/linux/if.h:111: field `ifru_addr' has incomplete type
/usr/include/linux/if.h:112: field `ifru_dstaddr' has incomplete type
/usr/include/linux/if.h:113: field `ifru_broadaddr' has incomplete type
/usr/include/linux/if.h:114: field `ifru_netmask' has incomplete type
/usr/include/linux/if.h:115: field `ifru_hwaddr' has incomplete type
linux.c: In function `setup_device':
linux.c:61: storage size of `sa' isn't known
linux.c:74: `AF_INET' undeclared (first use this function)
linux.c:74: (Each undeclared identifier is reported only once
linux.c:74: for each function it appears in.)
linux.c:74: `SOCK_PACKET' undeclared (first use this function)
linux.c:150: `SOL_SOCKET' undeclared (first use this function)
linux.c:150: `SO_RCVBUF' undeclared (first use this function)
linux.c: In function `getpkt':
linux.c:227: storage size of `from' isn't known
make: *** [linux.o] Error 1


Also, I have snmpmon-client set to monitor two cisco 2610 routers (using
the cisco_router option)
I get these lines, each time they are polled)



snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifD
escr: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifS
peed: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifO
utQLen: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifI
nOctets: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifI
nUcastPkts: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifO
utOctets: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifO
utUcastPkts: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifI
nErrors: 
snmpwalk ERROR for
rout1.hq/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifO
utErrors: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifDescr: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifSpeed: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifOutQLen: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifInOctets: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifInUcastPkts: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifOutOctets: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifOutUcastPkts: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifInErrors: 
snmpwalk ERROR for
rout1.ds-sag/.iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry
.ifOutErrors:



Any assistance is greatly appreciated!

Brad Curtis
brad@setechusa.com