Cisco switches
list Nikesh Maharaj
Hi guys, Can I monitor the cpu utilization on my cisco switches ? im currently monitoring but with a ping only. Any ideas if more can be monitored using hobbit ? Thanks
list Szymon Bakowski
▸
On 16/01/2008, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid> wrote:
Hi guys, Can I monitor the cpu utilization on my cisco switches ? im currently monitoring but with a ping only. Any ideas if more can be monitored using hobbit ? Thanks
If you need some specific stuff (as cpu utilization) I would say SNMP (chack MID db on cisco website at http://tools.cisco.com/ITDIT/MIBS/servlet/index) + RRD and then trying to wrap it as a new service ? Or maybe it already exists ? Cheers. Szymon
list Mike Rowell
One word.. Devmon http://sourceforge.org/projects/devmon Mike
▸
-----Original Message-----
From: user-7527983188e8@xymon.invalid [mailto:user-7527983188e8@xymon.invalid] On Behalf Of Szymon Bakowski
Sent: 16 January 2008 11:00
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On 16/01/2008, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid> wrote:Hi guys, Can I monitor the cpu utilization on my cisco switches ? im currently monitoring but with a ping only. Any ideas if more can be monitored using hobbit ? Thanks
If you need some specific stuff (as cpu utilization) I would say SNMP (chack MID db on cisco website at http://tools.cisco.com/ITDIT/MIBS/servlet/index) + RRD and then trying to wrap it as a new service ? Or maybe it already exists ? Cheers. Szymon
This email has been scanned for all viruses by the MessageLabs service.
This email has been scanned for all viruses by the MessageLabs service.
list Nikesh Maharaj
I have installed devmon. How do I start it ? (sori, new to linux) Page not updating with the required parameters page cisco Switches and Routers 192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME "Server Lan 192.168.16.0/24" DEVMON:tests(cpu,power)
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Cisco switches
Hi guys,
Can I monitor the cpu utilization on my cisco switches ? im currently
monitoring but with a ping only.
Any ideas if more can be monitored using hobbit ?
Thanks
list Nikesh Maharaj
This is what I get if I start devmon : [root at nms01 devmon]# ./devmon --readbbhosts [08-01-16 at 15:06:20] Could not query device: szarctasvr01 [root at nms01 devmon]#
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 02:38 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I have installed devmon. How do I start it ? (sori, new to linux)
Page not updating with the required parameters
page cisco Switches and Routers
192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME "Server Lan
192.168.16.0/24" DEVMON:tests(cpu,power)
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Cisco switches
Hi guys,
Can I monitor the cpu utilization on my cisco switches ? im currently
monitoring but with a ping only.
Any ideas if more can be monitored using hobbit ?
Thanks
list Dominique Frise
Meilleures salutations, Dominique _______________UNIL - University of Lausanne_______________ Dominique Frise E-mail: user-78ab6673b600@xymon.invalid UNIL, Centre Informatique Phone: +XX XX XXX XX XX Quartier Sorge / Amphimax Fax: +XX XX XXX XX XX 1015 Lausanne, Switzerland URL: http://www.unil.ch/ci
▸
Nikesh Maharaj wrote:I have installed devmon. How do I start it ? (sori, new to linux) Page not updating with the required parameters page cisco Switches and Routers 192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME "Server Lan 192.168.16.0/24" DEVMON:tests(cpu,power) *From:* Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] *Sent:* 16 January 2008 12:52 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* [hobbit] Cisco switches Hi guys, Can I monitor the cpu utilization on my cisco switches ? im currently monitoring but with a ping only. Any ideas if more can be monitored using hobbit ? Thanks
list Michael A. Price
/usr/local/devmon/devmon I think it needs to be put in the CRONTAB also.
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: Wednesday, January 16, 2008 7:38 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I have installed devmon. How do I start it ? (sori, new to linux)
Page not updating with the required parameters
page cisco Switches and Routers
192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME "Server Lan
192.168.16.0/24" DEVMON:tests(cpu,power)
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Cisco switches
Hi guys,
Can I monitor the cpu utilization on my cisco switches ? im currently
monitoring but with a ping only.
Any ideas if more can be monitored using hobbit ?
Thanks
list H. Klomp
Start a instance of devmon during the startup of the system (or by hand with the command /usr/local/devmon/devmon ) this will get the snmp information from your hosts. Start devmon in the cron to get changes of the bb-hosts file with the --readbbhosts this will update the devmon database. H. Klomp National Aerospace Laboratory NLR Computer Infrastructure Development Dedicated to innovation in aerospace
▸
From: Michael A. Price [mailto:user-d7d653acf808@xymon.invalid]
Sent: woensdag 16 januari 2008 14:17
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
/usr/local/devmon/devmon
I think it needs to be put in the CRONTAB also.
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: Wednesday, January 16, 2008 7:38 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I have installed devmon. How do I start it ? (sori, new to linux)
Page not updating with the required parameters
page cisco Switches and Routers
192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME "Server Lan 192.168.16.0/24" DEVMON:tests(cpu,power)
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Cisco switches
Hi guys,
Can I monitor the cpu utilization on my cisco switches ? im currently monitoring but with a ping only.
Any ideas if more can be monitored using hobbit ?
Thanks
list Henrik Størner
On Wed, Jan 16, 2008 at 11:05:47AM -0000, Mike Rowell wrote:
One word.. Devmon http://sourceforge.org/projects/devmon
indeed, Devmon is the right thing to use currently. But let me take the
opportunity to give you a quick idea of what's coming in Hobbit.
The current snapshot of Hobbit can fetch data through SNMP, and one of
the things I am using it for is to collect data about switches. We use
Nortel's Passport-8600 switches here, but it can be configured for any
kind of SNMP-enabled host. So just picking up the current load of the
switch (cpu, memory, fabric utilisation) and the traffic on each port
is done with this config entry in hobbit-snmphosts.cfg:
[pp8600.foo.com]
version=2
community=public
p8600system
ifmib=!*!
"p8600system" and "ifmib" are actually pointers into hobbit-snmpmibs.cfg
which has the details of what SNMP objects to retrieve (just showing a
couple of items):
[p8600system]
Descr = SNMPv2-MIB::sysDescr.0
UpTime = RFC1213-MIB::sysUpTime.0
BufferUtil = RAPID-CITY::rcSysBufferUtil.0 /rrd:GAUGE
CpuUtil = RAPID-CITY::rcSysCpuUtil.0 /rrd:GAUGE
[ifmib]
keyidx (IF-MIB::ifDescr)
keyidx !IF-MIB::ifIndex!
ifHCInOctets = IF-MIB::ifHCInOctets /rrd:COUNTER
ifHCOutOctets = IF-MIB::ifHCOutOctets /rrd:COUNTER
As you can see this is a bit complex, but it is fairly easy to set up
when you have access to a system like the one you're monitoring, and can
walk through the SNMP data with the "snmpwalk" utility (from the
Net-SNMP package).
Notice the "ifmib=!*!" and "keyidx !IF-MIB::ifIndex!" lines ? These are
indices that pick out one (or all) of the switch ports. Here it matches
all ports, but you can also have "ifmib=(eth0)" to fetch data for the
eth0 device, or "ifmib={10.45.0.102}" to grab data from the device which
has the IP 10.45.0.102 assigned. You can have multiple ways of indexing
an SNMP table, so you can pick out the interesting entries the easiest
way.
The interesting data is automatically graphed, that is what the
"/rrd:..." is for. No alerting yet, but that is work-in-progress.
As I said, it's in the current snapshot so feel free to experiment with
it. Feedback is welcome.
Regards,
Henrik
list Nikesh Maharaj
This was a single node installation. Do I have to create the database ? [root at nms01 etc]# /downloads/devmon/devmon --readbbhosts [08-01-16 at 16:24:27] Could not query device: szacttctasrv01.metsi.com
▸
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: 16 January 2008 03:48 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
Start a instance of devmon during the startup of the system (or by hand
with the command /usr/local/devmon/devmon )
this will get the snmp information from your hosts.
Start devmon in the cron to get changes of the bb-hosts file with the
--readbbhosts
this will update the devmon database.
H. Klomp National Aerospace Laboratory NLR Computer Infrastructure Development
Dedicated to innovation in aerospace
From: Michael A. Price [mailto:user-d7d653acf808@xymon.invalid] Sent: woensdag 16 januari 2008 14:17
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
/usr/local/devmon/devmon
I think it needs to be put in the CRONTAB also.
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: Wednesday, January 16, 2008 7:38 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I have installed devmon. How do I start it ? (sori, new to
linux)
Page not updating with the required parameters
page cisco Switches and Routers
192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME
"Server Lan 192.168.16.0/24" DEVMON:tests(cpu,power)
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: 16 January 2008 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Cisco switches
Hi guys,
Can I monitor the cpu utilization on my cisco switches ? im
currently monitoring but with a ping only.
Any ideas if more can be monitored using hobbit ?
Thanks
list Nikesh Maharaj
The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file. Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ?
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: 16 January 2008 04:21 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
This was a single node installation. Do I have to create the database ?
[root at nms01 etc]# /downloads/devmon/devmon --readbbhosts
[08-01-16 at 16:24:27] Could not query device: szacttctasrv01.metsi.com
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: 16 January 2008 03:48 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
Start a instance of devmon during the startup of the system (or by hand
with the command /usr/local/devmon/devmon )
this will get the snmp information from your hosts.
Start devmon in the cron to get changes of the bb-hosts file with the
--readbbhosts
this will update the devmon database.
H. Klomp National Aerospace Laboratory NLR Computer Infrastructure Development
Dedicated to innovation in aerospace
From: Michael A. Price [mailto:user-d7d653acf808@xymon.invalid] Sent: woensdag 16 januari 2008 14:17
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
/usr/local/devmon/devmon
I think it needs to be put in the CRONTAB also.
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: Wednesday, January 16, 2008 7:38 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I have installed devmon. How do I start it ? (sori, new to
linux)
Page not updating with the required parameters
page cisco Switches and Routers
192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME
"Server Lan 192.168.16.0/24" DEVMON:tests(cpu,power)
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: 16 January 2008 12:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] Cisco switches
Hi guys,
Can I monitor the cpu utilization on my cisco switches ? im
currently monitoring but with a ping only.
Any ideas if more can be monitored using hobbit ?
Thanks
list Ralph Mitchell
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid> wrote:
The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file. Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ? *From:* Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] *Sent:* 16 January 2008 04:21 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* RE: [hobbit] Cisco switches This was a single node installation. Do I have to create the database ? [root at nms01 etc]# /downloads/devmon/devmon --readbbhosts [08-01-16 at 16:24:27] Could not query device: szacttctasrv01.metsi.com *From:* Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] *Sent:* 16 January 2008 03:48 PM *To:* 'user-ae9b8668bcde@xymon.invalid' *Subject:* RE: [hobbit] Cisco switches Start a instance of devmon during the startup of the system (or by hand with the command /usr/local/devmon/devmon ) this will get the snmp information from your hosts. Start devmon in the cron to get changes of the bb-hosts file with the --readbbhosts this will update the devmon database. *H. Klomp* *National Aerospace Laboratory NLR* *Computer Infrastructure Development* *Dedicated to innovation in aerospace* *From:* Michael A. Price [mailto:user-d7d653acf808@xymon.invalid] *Sent:* woensdag 16 januari 2008 14:17 *To:* user-ae9b8668bcde@xymon.invalid *Subject:* RE: [hobbit] Cisco switches /usr/local/devmon/devmon I think it needs to be put in the CRONTAB also. *From:* Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] *Sent:* Wednesday, January 16, 2008 7:38 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* RE: [hobbit] Cisco switches I have installed devmon. How do I start it ? (sori, new to linux) Page not updating with the required parameters page cisco Switches and Routers 192.168.18.72 szarctasvr01 # badconn:1:1:2 NAME "Server Lan 192.168.16.0/24" DEVMON:tests(cpu,power) *From:* Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] *Sent:* 16 January 2008 12:52 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* [hobbit] Cisco switches Hi guys, Can I monitor the cpu utilization on my cisco switches ? im currently monitoring but with a ping only. Any ideas if more can be monitored using hobbit ? Thanks
list Ralph Mitchell
▸
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid> wrote:
The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file. Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ?
As I understand it, the database is only required if you have multiple systems running devmon. Ralph Mitchell
list H. Klomp
I have a single node running with devmon, but I also have a database. Bert
▸
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid<mailto:user-000aaf9a8455@xymon.invalid>> wrote:
The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file.
Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ?
As I understand it, the database is only required if you have multiple systems running devmon.
Ralph Mitchell
list Lars Ebeling
▸
----- Original Message ----- From: "Henrik Stoerner" <user-ce4a2c883f75@xymon.invalid> To: <user-ae9b8668bcde@xymon.invalid> Sent: Wednesday, January 16, 2008 3:01 PM Subject: Re: [hobbit] Cisco switches
The current snapshot of Hobbit can fetch data through SNMP, and one of
the things I am using it for is to collect data about switches. We use
Nortel's Passport-8600 switches here, but it can be configured for any
kind of SNMP-enabled host. So just picking up the current load of the
switch (cpu, memory, fabric utilisation) and the traffic on each port
is done with this config entry in hobbit-snmphosts.cfg:
[pp8600.foo.com]
version=2
community=public
p8600system
ifmib=!*!
"p8600system" and "ifmib" are actually pointers into hobbit-snmpmibs.cfg
which has the details of what SNMP objects to retrieve (just showing a
couple of items):
[p8600system]
Descr = SNMPv2-MIB::sysDescr.0
UpTime = RFC1213-MIB::sysUpTime.0
BufferUtil = RAPID-CITY::rcSysBufferUtil.0 /rrd:GAUGE
CpuUtil = RAPID-CITY::rcSysCpuUtil.0 /rrd:GAUGE
[ifmib]
keyidx (IF-MIB::ifDescr)
keyidx !IF-MIB::ifIndex!
ifHCInOctets = IF-MIB::ifHCInOctets /rrd:COUNTER
ifHCOutOctets = IF-MIB::ifHCOutOctets /rrd:COUNTER
Are those two configurationfiles replacements for hobbit_snmpcollect.cfg?
Regards, Henrik --
Regards Lars Ebeling http://leopg9.no-ip.org Hobbithobbyist "It is better to keep your mouth shut and appear stupid than to open it and remove all doubt." -- Mark Twain
list Nikesh Maharaj
I can ping the switch by its ip address but not by name from hobbit server and feel therefore That devmon -readbbhosts is having a problem resolving this. Do I have to put in a name in the bb-hosts file ?
▸
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid>
wrote:
The devmon.cfg is default. The correct path to the
bbhosts file is in the cfg file.
Not too sure about creating the database though cos the
installation notes don't specify for a single node installation. Am I
incorrect ?
As I understand it, the database is only required if you have
multiple systems running devmon.
Ralph Mitchell
list Nikesh Maharaj
Devmon is still having a problem as per line below : [root at nms01 etc]# /downloads/devmon/devmon --readbbhosts [08-01-16 at 20:42:17] Could not query device: 192.168.18.72 [root at nms01 etc]# Any ideas guys ?
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 08:30 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from hobbit
server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do I have
to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid>
wrote:
The devmon.cfg is default. The correct path to the
bbhosts file is in the cfg file.
Not too sure about creating the database though cos the
installation notes don't specify for a single node installation. Am I
incorrect ?
As I understand it, the database is only required if you have
multiple systems running devmon.
Ralph Mitchell
list Nikesh Maharaj
I can ping the device by ip and by name. however, devmon still has a problem to query the device. There is no log file generated for devmon as yet. Any ideas ?
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 08:36 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
Devmon is still having a problem as per line below :
[root at nms01 etc]# /downloads/devmon/devmon --readbbhosts
[08-01-16 at 20:42:17] Could not query device: 192.168.18.72
[root at nms01 etc]#
Any ideas guys ?
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 08:30 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from hobbit
server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do I have
to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid>
wrote:
The devmon.cfg is default. The correct path to the
bbhosts file is in the cfg file.
Not too sure about creating the database though cos the
installation notes don't specify for a single node installation. Am I
incorrect ?
As I understand it, the database is only required if you have
multiple systems running devmon.
Ralph Mitchell
list Greg L Hubbard
SNMP community string specified correctly? Will the device talk to the devmon host (no ACL or other "blocks") in the way?
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: Wednesday, January 16, 2008 12:36 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
Devmon is still having a problem as per line below :
[root at nms01 etc]# /downloads/devmon/devmon --readbbhosts
[08-01-16 at 20:42:17] Could not query device: 192.168.18.72
[root at nms01 etc]#
Any ideas guys ?
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: 16 January 2008 08:30 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from
hobbit server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do
I have to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a
database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj
<user-000aaf9a8455@xymon.invalid> wrote:
The devmon.cfg is default. The correct path to
the bbhosts file is in the cfg file.
Not too sure about creating the database though
cos the installation notes don't specify for a single node installation.
Am I incorrect ?
As I understand it, the database is only required if you
have multiple systems running devmon.
Ralph Mitchell
list Nikesh Maharaj
Im not sure if snmp is installed. How do I check that ? also, after starting the devmon process, I try to do a grep for devmon And don't see anything ?
▸
From: Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] Sent: 16 January 2008 08:59 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
SNMP community string specified correctly? Will the device talk to the
devmon host (no ACL or other "blocks") in the way?
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: Wednesday, January 16, 2008 12:36 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
Devmon is still having a problem as per line below :
[root at nms01 etc]# /downloads/devmon/devmon --readbbhosts
[08-01-16 at 20:42:17] Could not query device: 192.168.18.72
[root at nms01 etc]#
Any ideas guys ?
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: 16 January 2008 08:30 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from
hobbit server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do
I have to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a
database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj
<user-000aaf9a8455@xymon.invalid> wrote:
The devmon.cfg is default. The correct path to
the bbhosts file is in the cfg file.
Not too sure about creating the database though
cos the installation notes don't specify for a single node installation.
Am I incorrect ?
As I understand it, the database is only required if you
have multiple systems running devmon.
Ralph Mitchell
list Josh Luthman
CPU utilization? How about... http://www.deadcat.net/viewfile.php?fileid=580
▸
On 1/16/08, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid> wrote:Im not sure if snmp is installed. How do I check that ? also, after starting the devmon process, I try to do a grep for devmon And don't see anything ? *From:* Hubbard, Greg L [mailto:user-d970b5e56ec9@xymon.invalid] *Sent:* 16 January 2008 08:59 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* RE: [hobbit] Cisco switches SNMP community string specified correctly? Will the device talk to the devmon host (no ACL or other "blocks") in the way? *From:* Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] *Sent:* Wednesday, January 16, 2008 12:36 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* RE: [hobbit] Cisco switches Devmon is still having a problem as per line below : [root at nms01 etc]# /downloads/devmon/devmon --readbbhosts [08-01-16 at 20:42:17] Could not query device: 192.168.18.72 [root at nms01 etc]# Any ideas guys ? *From:* Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] *Sent:* 16 January 2008 08:30 PM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* RE: [hobbit] Cisco switches I can ping the switch by its ip address but not by name from hobbit server and feel therefore That devmon –readbbhosts is having a problem resolving this. Do I have to put in a name in the bb-hosts file ? *From:* Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] *Sent:* 16 January 2008 05:08 PM *To:* 'user-ae9b8668bcde@xymon.invalid' *Subject:* RE: [hobbit] Cisco switches I have a single node running with devmon, but I also have a database. Bert *From:* Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid] *Sent:* woensdag 16 januari 2008 15:55 *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] Cisco switches On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid> wrote: The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file. Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ? As I understand it, the database is only required if you have multiple systems running devmon. Ralph Mitchell
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Buchan Milne
▸
On Wednesday 16 January 2008 20:50:02 Nikesh Maharaj wrote:
I can ping the device by ip and by name. however, devmon still has a problem to query the device.
Well, devmon obviously does not ping. It does a number of SNMP gets to the device. When you run it with the --readbbhosts option, it runs in the foreground (thus, does no logging), and tries to retrieve the sysDescr value for each entry in bbhosts which has a DEVMON tag. SNMP (v2) relies on a community string, which is effectively a password, to "authenticate" the SNMP client (manager). Devmon provides for generic community strings (set in the SNMPCIDS value in devmon.cfg). Thus, in most cases, the default devmon.cfg file is not going to work (you need to at least set SNMPCIDS, and probably BBHOSTS as well). Devmon uses the sysDescr value to decide what type of device this is, and populates information to the "database file". The database file should be provided via the -d option to devmon (this is *not* the RDBMS referred to for the multinode setup). To test whether devmon would be able to do this: $ snmpwalk -v2c -c public xxx.xxx.xxx.xxx sysDescr Replace public with the community string, and xxx.xxx.xxx.xxx with the IP. If you can't do this, fix the SNMP config on the device, or firewall access etc. Setting devmon up is relatively trivial if you: 1)Know at least the minimum about snmp 2)You know the bare minimum of setting up software (read the documentation, read the config file and set the settings that are obviously incorrect for your environment, run the tool with --help etc.).
There is no log file generated for devmon as yet. Any ideas ?
There's no use running devmon (without the --readbbhosts option) until you have actually managed to probe one device. So, to get devmon running: 1)Edit the devmon.cfg file correcting values that are not valid in your environment 2)Run './devmon - --readbbhosts' 3)Start devmon with './devmon' Add any relevant options (.e.g -vv, --debug, '-c /path/to/config', or '-d /path/to/hosts.db') described in the --help output. You may want to use an init script for (3), a sample one is provided in the extras directory. You may want devmon to run as a dedicated user, in which case you should run (2) and (3) as this user, and ensure the directories devmon needs to write to are writable by this user. For these reasons, you may want to look at this patch (which I ship in the Mandriva package of devmon, which effectively works out-the-box): http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/devmon/current/SOURCES/devmon-correct-paths.patch?revision=41543&view=markup I will probably merge some of my changes into devmon itself for the upcoming 0.3.0 release (to make things a bit easier). Now, if there is something which is not basic SNMP or Unix knowledge which is difficult about getting devmon running, please let me know so we can improve the documentation. Regards, Buchan
list H. Klomp
As stated in the manual you have to put in a line in the bb-hosts file like 0.0.0.0 cisco_name # DEVMON
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: woensdag 16 januari 2008 19:30
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from hobbit server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do I have to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid<mailto:user-000aaf9a8455@xymon.invalid>> wrote:
The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file.
Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ?
As I understand it, the database is only required if you have multiple systems running devmon.
Ralph Mitchell
list Nikesh Maharaj
Yip that's what I added in the bb-hosts: 192.168.18.72 szacttctasrv1.net.cen.tcta.co.za # DEVMON then I ran /downloads /devmon/devmon -readbbhosts [root at nms01 etc]# /downloads/devmon/devmon --readbbhosts [08-01-17 at 12:42:35] Could not query device: szacttctasrv1.net.cen.tcta.co.za [root at nms01 etc]# Also I don't see any devmon instances running if I run ps -ef | grep devmon
▸
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 17 January 2008 10:25 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
As stated in the manual you have to put in a line in the bb-hosts file
like
0.0.0.0 cisco_name # DEVMON
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: woensdag 16 januari 2008 19:30
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from
hobbit server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do
I have to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a
database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj
<user-000aaf9a8455@xymon.invalid> wrote:
The devmon.cfg is default. The correct path to
the bbhosts file is in the cfg file.
Not too sure about creating the database though
cos the installation notes don't specify for a single node installation.
Am I incorrect ?
As I understand it, the database is only required if you
have multiple systems running devmon.
Ralph Mitchell
list H. Klomp
can you do a snmpwalk or snmpget on that host ? Do you have a the perl snmp modules installed ? Bert
▸
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: donderdag 17 januari 2008 11:37
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
Yip that's what I added in the bb-hosts:
192.168.18.72 szacttctasrv1.net.cen.tcta.co.za # DEVMON
then I ran /downloads /devmon/devmon -readbbhosts
[root at nms01 etc]# /downloads/devmon/devmon --readbbhosts
[08-01-17 at 12:42:35] Could not query device: szacttctasrv1.net.cen.tcta.co.za
[root at nms01 etc]#
Also I don't see any devmon instances running if I run ps -ef | grep devmon
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 17 January 2008 10:25 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
As stated in the manual you have to put in a line in the bb-hosts file like
0.0.0.0 cisco_name # DEVMON
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: woensdag 16 januari 2008 19:30
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from hobbit server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do I have to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid<mailto:user-000aaf9a8455@xymon.invalid>> wrote:
The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file.
Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ?
As I understand it, the database is only required if you have multiple systems running devmon.
Ralph Mitchell
list Nikesh Maharaj
Nope .. I downloaded and have no idea how to install.. Perl cisco_cpu.pl ?
▸
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: 17 January 2008 03:21 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
can you do a snmpwalk or snmpget on that host ?
Do you have a the perl snmp modules installed ?
Bert
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: donderdag 17 januari 2008 11:37
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
Yip that's what I added in the bb-hosts:
192.168.18.72 szacttctasrv1.net.cen.tcta.co.za # DEVMON
then I ran /downloads /devmon/devmon -readbbhosts
[root at nms01 etc]# /downloads/devmon/devmon --readbbhosts
[08-01-17 at 12:42:35] Could not query device:
szacttctasrv1.net.cen.tcta.co.za
[root at nms01 etc]#
Also I don't see any devmon instances running if I run ps -ef |
grep devmon
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: 17 January 2008 10:25 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
As stated in the manual you have to put in a line in the
bb-hosts file like
0.0.0.0 cisco_name # DEVMON
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid] Sent: woensdag 16 januari 2008 19:30
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name
from hobbit server and feel therefore
That devmon -readbbhosts is having a problem resolving
this. Do I have to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid] Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also
have a database.
Bert
From: Ralph Mitchell
[mailto:user-00a5e44c48c0@xymon.invalid] Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj
<user-000aaf9a8455@xymon.invalid> wrote:
The devmon.cfg is default. The correct
path to the bbhosts file is in the cfg file.
Not too sure about creating the database
though cos the installation notes don't specify for a single node
installation. Am I incorrect ?
As I understand it, the database is only
required if you have multiple systems running devmon.
Ralph Mitchell
list H. Klomp
You can try to use cpan for installing perl modules For devmon to work, you need to have snmp access to the switches en you need SNMP_Session perl module See the INSTALL file in the devmon/docs directory.
▸
Bert
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: donderdag 17 januari 2008 15:12
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
Nope .. I downloaded and have no idea how to install..
Perl cisco_cpu.pl ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 17 January 2008 03:21 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
can you do a snmpwalk or snmpget on that host ?
Do you have a the perl snmp modules installed ?
Bert
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: donderdag 17 januari 2008 11:37
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
Yip that's what I added in the bb-hosts:
192.168.18.72 szacttctasrv1.net.cen.tcta.co.za # DEVMON
then I ran /downloads /devmon/devmon -readbbhosts
[root at nms01 etc]# /downloads/devmon/devmon --readbbhosts
[08-01-17 at 12:42:35] Could not query device: szacttctasrv1.net.cen.tcta.co.za
[root at nms01 etc]#
Also I don't see any devmon instances running if I run ps -ef | grep devmon
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 17 January 2008 10:25 AM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
As stated in the manual you have to put in a line in the bb-hosts file like
0.0.0.0 cisco_name # DEVMON
From: Nikesh Maharaj [mailto:user-000aaf9a8455@xymon.invalid]
Sent: woensdag 16 januari 2008 19:30
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Cisco switches
I can ping the switch by its ip address but not by name from hobbit server and feel therefore
That devmon -readbbhosts is having a problem resolving this. Do I have to put in a name in the bb-hosts file ?
From: Klomp, H. [mailto:user-b644cde19b47@xymon.invalid]
Sent: 16 January 2008 05:08 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: RE: [hobbit] Cisco switches
I have a single node running with devmon, but I also have a database.
Bert
From: Ralph Mitchell [mailto:user-00a5e44c48c0@xymon.invalid]
Sent: woensdag 16 januari 2008 15:55
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Cisco switches
On Jan 16, 2008 8:31 AM, Nikesh Maharaj <user-000aaf9a8455@xymon.invalid<mailto:user-000aaf9a8455@xymon.invalid>> wrote:
The devmon.cfg is default. The correct path to the bbhosts file is in the cfg file.
Not too sure about creating the database though cos the installation notes don't specify for a single node installation. Am I incorrect ?
As I understand it, the database is only required if you have multiple systems running devmon.
Ralph Mitchell
list Buchan Milne
▸
On Thursday 17 January 2008 12:36:43 Nikesh Maharaj wrote:
Yip that's what I added in the bb-hosts: 192.168.18.72 szacttctasrv1.net.cen.tcta.co.za # DEVMON then I ran /downloads /devmon/devmon -readbbhosts [root at nms01 etc]# /downloads/devmon/devmon --readbbhosts [08-01-17 at 12:42:35] Could not query device: szacttctasrv1.net.cen.tcta.co.za [root at nms01 etc]# Also I don't see any devmon instances running if I run ps -ef | grep devmon
Did you bother to read my very comprehensive reply yesterday????? You didn't reply, so I assume not.