You can subscribe to this list here.
| 2006 |
Jan
|
Feb
(38) |
Mar
(131) |
Apr
(5) |
May
(23) |
Jun
(9) |
Jul
(9) |
Aug
(9) |
Sep
(24) |
Oct
(28) |
Nov
(33) |
Dec
(4) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(45) |
Feb
(22) |
Mar
(52) |
Apr
(17) |
May
(4) |
Jun
(68) |
Jul
(12) |
Aug
(25) |
Sep
(63) |
Oct
(45) |
Nov
(25) |
Dec
(76) |
| 2008 |
Jan
(34) |
Feb
(53) |
Mar
(30) |
Apr
(42) |
May
(50) |
Jun
(45) |
Jul
(21) |
Aug
(36) |
Sep
(33) |
Oct
(28) |
Nov
(32) |
Dec
(16) |
| 2009 |
Jan
(35) |
Feb
(36) |
Mar
(32) |
Apr
(24) |
May
(26) |
Jun
(15) |
Jul
(17) |
Aug
(30) |
Sep
(14) |
Oct
(18) |
Nov
(26) |
Dec
(22) |
| 2010 |
Jan
(11) |
Feb
(33) |
Mar
(35) |
Apr
(16) |
May
(11) |
Jun
(4) |
Jul
(36) |
Aug
(3) |
Sep
(14) |
Oct
(5) |
Nov
(10) |
Dec
(12) |
| 2011 |
Jan
(7) |
Feb
(31) |
Mar
(13) |
Apr
(14) |
May
(18) |
Jun
(25) |
Jul
(6) |
Aug
(23) |
Sep
(20) |
Oct
(18) |
Nov
(4) |
Dec
(9) |
| 2012 |
Jan
(32) |
Feb
(4) |
Mar
(15) |
Apr
(3) |
May
(8) |
Jun
(9) |
Jul
(6) |
Aug
(6) |
Sep
|
Oct
(14) |
Nov
(22) |
Dec
(4) |
| 2013 |
Jan
(16) |
Feb
(11) |
Mar
(1) |
Apr
|
May
(1) |
Jun
(6) |
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
(1) |
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(5) |
May
(3) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(5) |
Nov
(5) |
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
(3) |
Apr
(4) |
May
|
Jun
(1) |
Jul
(19) |
Aug
(4) |
Sep
(13) |
Oct
(3) |
Nov
(8) |
Dec
(4) |
| 2016 |
Jan
(18) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
(7) |
| 2017 |
Jan
(5) |
Feb
|
Mar
(3) |
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(4) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(3) |
Sep
(5) |
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Johan S. <Joh...@de...> - 2011-05-09 12:26:40
|
Forgot to attach the files, as usual. /Johan > -----Original Message----- > From: Johan Sjöberg > Sent: den 9 maj 2011 14:14 > To: 'Buchan Milne'; dev...@li... > Subject: RE: [Devmon] 64-bit counters > > Hi. > > I have been trying to take a new grip on this problem. I can't understand why > it is not working. According to Buchan, 64-bit counters should not be a > problem, but Devmon fails get get any data from the 64-bit OIDs on our > Netapp filer. > I did a debug run against this device only, I have attached the log file. I have > also attached the oids file for the "volumes" test, which is the one with > problems. I want to be able to replace the dfTotalKBytes and dfUsedBytes > OIDs with their 64-bit counterpaths, but for now I have just added the 64-bit > OIDs as separate variables printing them in separate column. > > When I poll these OID:s manually from the shell, it works fine. > > mon01 # snmpwalk -v 2c -c public filer02 .1.3.6.1.4.1.789.1.5.4.1.29 > iso.3.6.1.4.1.789.1.5.4.1.29.1 = Counter64: 7810884864 > iso.3.6.1.4.1.789.1.5.4.1.29.2 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.3 = Counter64: 16777216 > iso.3.6.1.4.1.789.1.5.4.1.29.4 = Counter64: 4194304 > iso.3.6.1.4.1.789.1.5.4.1.29.5 = Counter64: 524288000 > iso.3.6.1.4.1.789.1.5.4.1.29.6 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.7 = Counter64: 1048576000 > iso.3.6.1.4.1.789.1.5.4.1.29.8 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.9 = Counter64: 104857600 > iso.3.6.1.4.1.789.1.5.4.1.29.10 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.11 = Counter64: 52428800 > iso.3.6.1.4.1.789.1.5.4.1.29.12 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.13 = Counter64: 524288000 > iso.3.6.1.4.1.789.1.5.4.1.29.14 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.15 = Counter64: 4237309008 > iso.3.6.1.4.1.789.1.5.4.1.29.16 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.17 = Counter64: 524288000 > iso.3.6.1.4.1.789.1.5.4.1.29.18 = Counter64: 0 > iso.3.6.1.4.1.789.1.5.4.1.29.19 = Counter64: 524288000 > iso.3.6.1.4.1.789.1.5.4.1.29.20 = Counter64: 0 > > Does anyone have any clue why this isn't working in devmon? Could there be > some problem with perl and SNMP? Can I create a simple perl script and try > to poll the OIDs using the perl modules that devmon uses? > > /Johan > > > -----Original Message----- > > From: Buchan Milne [mailto:bg...@st...] > > Sent: den 11 mars 2011 12:00 > > To: Johan Sjöberg > > Subject: Re: [Devmon] 64-bit counters > > > > > > ----- "Johan Sjöberg" <joh...@de...> wrote: > > > > > Hi. > > > > > > Thanks for your reply. I couldn't see any reasons it shouldn't > > > support 64-bit counters, but I wanted to check just to make sure. I > > > will start digging through the debug logs and try to find the cause > > > of this. Is it possible to poll just one device with debug, so that > > > I don't get all unnecessary logging for unaffected devices? Maybe I > > > can create a special hosts file and run devmon in the foreground or > something? > > > The OIDs look correct. Here is the output of the index OID, 32-bit > > > volume size and 64-bit volume size, and nothing is missing. > > > > > > mon01:/var/log# snmpwalk -v 2c -c public filer01 > > > .1.3.6.1.4.1.789.1.5.4.1.1 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.1 = INTEGER: 1 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.2 = INTEGER: 2 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.3 = INTEGER: 3 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.4 = INTEGER: 4 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.5 = INTEGER: 5 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.6 = INTEGER: 6 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.7 = INTEGER: 7 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.8 = INTEGER: 8 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.9 = INTEGER: 9 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.10 = INTEGER: 10 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.11 = INTEGER: 11 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.12 = INTEGER: 12 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.13 = INTEGER: 13 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.14 = INTEGER: 14 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.15 = INTEGER: 15 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.16 = INTEGER: 16 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.17 = INTEGER: 17 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.1.18 = INTEGER: 18 > > > mon01:/var/log# snmpwalk -v 2c -c public filer01 > > > .1.3.6.1.4.1.789.1.5.4.1.3 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.1 = INTEGER: -2039060528 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.2 = INTEGER: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.3 = INTEGER: 16777216 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.4 = INTEGER: 4194304 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.5 = INTEGER: 524288000 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.6 = INTEGER: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.7 = INTEGER: 524288000 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.8 = INTEGER: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.9 = INTEGER: 524288000 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.10 = INTEGER: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.11 = INTEGER: 408944640 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.12 = INTEGER: 136314880 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.13 = INTEGER: 41943040 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.14 = INTEGER: 10485760 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.15 = INTEGER: 25165824 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.16 = INTEGER: 6291456 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.17 = INTEGER: 367001600 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.3.18 = INTEGER: 0 > > > mon01:/var/log# snmpwalk -v 2c -c public filer01 > > > .1.3.6.1.4.1.789.1.5.4.1.29 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.1 = Counter64: 2255906768 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.2 = Counter64: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.3 = Counter64: 16777216 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.4 = Counter64: 4194304 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.5 = Counter64: 524288000 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.6 = Counter64: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.7 = Counter64: 524288000 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.8 = Counter64: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.9 = Counter64: 524288000 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.10 = Counter64: 0 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.11 = Counter64: 408944640 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.12 = Counter64: 136314880 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.13 = Counter64: 41943040 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.14 = Counter64: 10485760 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.15 = Counter64: 25165824 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.16 = Counter64: 6291456 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.17 = Counter64: 367001600 > > > SNMPv2-SMI::enterprises.789.1.5.4.1.29.18 = Counter64: 0 > > > > Provide the oids files for all the tests for the template you are using .. > > > > Regards, > > Buchan |
|
From: Jeremy L. <jla...@re...> - 2011-05-06 03:30:12
|
Hi The file dm_config.pm has "umask 0" in there. The effect of this is that all log files and the pid file get created as world-writeable, which isn't very good IMHO. In my installation, I commented out that line. Please let me know if this was the wrong thing to do, and otherwise, I suggest this be put into the code. The perldoc page on umask seems to suggest NOT using umask, and instead using creation modes in sysopen, and leaving policy decisions (umask) to the user (which would be the start-up/init script in this case). Cheers Jeremy |
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-27 12:20:44
|
I have a question on patching. Is there a faq to explain the versioning
and file names used? Is there a faq for devmon that is not in the e-mail
archives?
Thanks.
>
> Index: dm_templates.pm
> ===================================================================
> --- dm_templates.pm (revision 20)
> +++ dm_templates.pm (working copy)
> @@ -518,7 +518,7 @@
> };
>
> $func_type eq 'delta' and do {
> - $temp =~ s/\s*\{\s*\S+?\}(\s*\d*)\s*//;
> + $temp =~ s/\s*\{\s*\S+?\s*\}(?:\s+\d+)?\s*//;
> do_log("DELTA transform only a single oid (plus an " .
> "optional limit) at $trans_file, line $l_num", 0)
> and next LINE if $temp ne '';
> Index: dm_tests.pm
> ===================================================================
> --- dm_tests.pm (revision 20)
> +++ dm_tests.pm (working copy)
> @@ -266,7 +266,7 @@
>
> # Extract our transform options
> my ($dep_oid, $limit) = ($1, $2 || 0)
> - if $oid_h->{'trans_data'} =~ /\{(.+)\}(\s*:\s*(\d+))?/;
> + if $oid_h->{'trans_data'} =~ /\{\s*(.+?)\s*\}(?:\s+(\d+))?/;
> my $dep_oid_h = \%{$oids->{$dep_oid}};
>
> # Check our parent oids for any errors
info/devmon-support
|
|
From: W.J.M. N. <Wim...@nl...> - 2011-04-27 11:34:26
|
Hello,
while looking at the DELTA transform, I found that the documentation and
the implementation do not match. The former status that it "takes a
single data alias, with an optional 'upper limit' (separated from the
alias by whitespace) as input". The implementation shows that it expects
a colon as separator. The patch below changes the perl scripts to match
the documentation.
Additionally, blank spaces are allowed between the name and the closing
curly brace. This makes DELTA more like the other transforms.
Finally, the detection of the optional parameter is changed to be more
intuitive, and to be slightly faster.
Index: dm_templates.pm
===================================================================
--- dm_templates.pm (revision 20)
+++ dm_templates.pm (working copy)
@@ -518,7 +518,7 @@
};
$func_type eq 'delta' and do {
- $temp =~ s/\s*\{\s*\S+?\}(\s*\d*)\s*//;
+ $temp =~ s/\s*\{\s*\S+?\s*\}(?:\s+\d+)?\s*//;
do_log("DELTA transform only a single oid (plus an " .
"optional limit) at $trans_file, line $l_num", 0)
and next LINE if $temp ne '';
Index: dm_tests.pm
===================================================================
--- dm_tests.pm (revision 20)
+++ dm_tests.pm (working copy)
@@ -266,7 +266,7 @@
# Extract our transform options
my ($dep_oid, $limit) = ($1, $2 || 0)
- if $oid_h->{'trans_data'} =~ /\{(.+)\}(\s*:\s*(\d+))?/;
+ if $oid_h->{'trans_data'} =~ /\{\s*(.+?)\s*\}(?:\s+(\d+))?/;
my $dep_oid_h = \%{$oids->{$dep_oid}};
# Check our parent oids for any errors
Regards,
Wim Nelis.
*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
|
|
From: Mathias C. <Mat...@sy...> - 2011-04-21 23:19:11
|
Hi!
I think this comes from the change that was published after 25 jan to address the problem with devmon interpreted all x in transform as multiplication, even in variable names.
I think a space is needed on each side of the x to make devmon use it as a multiplication sign...
It looks as the division sign has been forgotten in the update, or something like that...
I reverted back to the last svn rev in januari, and the transforms worked again...
/Mathias
-----Ursprungligt meddelande-----
Från: Baldanzi, Riccardo [mailto:rbm...@gm...]
Skickat: den 21 april 2011 18:24
Till: Dev...@li...
Ämne: [Devmon] MATH transform uses only math/numeric symbols and an optional precision number at
Hi Guys,
i've started suddendly to have problems during "devmon --readbbhost":
[11-04-21@18:14:57] MATH transform uses only math/numeric symbols and an optional precision number at /usr/local/devmon/templates/cisco-2960/if_col/transforms, line 8 [11-04-21@18:14:57] Undefined oid 'ifOutColPct' referenced in /usr/local/devmon/templates/cisco-2960/if_col/thresholds at line 4 [11-04-21@18:14:57] Undefined oid 'ifOutColPct' referenced in /usr/local/devmon/templates/cisco-2960/if_col/thresholds at line 4 [11-04-21@18:14:57] Undefined oid 'ifOutColPct' at line 9 of /usr/local/devmon/templates/cisco-2960/if_col/message, skipping this test.
It seems that devmon is failing to do this calc:
# Perform error to traffic percentage calculations
ifInErrPct : MATH : ({ifInEps} / {ifInBps}) x 100
ifOutErrPct : MATH : ({ifOutEps} / {ifOutBps}) x 100
Some suggestion?
Thanks
Rick
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Devmon-support mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devmon-support
|
|
From: Baldanzi, R. <rbm...@gm...> - 2011-04-21 16:26:53
|
Hi Guys,
i've started suddendly to have problems during "devmon --readbbhost":
[11-04-21@18:14:57] MATH transform uses only math/numeric symbols and an
optional precision number at
/usr/local/devmon/templates/cisco-2960/if_col/transforms, line 8
[11-04-21@18:14:57] Undefined oid 'ifOutColPct' referenced in
/usr/local/devmon/templates/cisco-2960/if_col/thresholds at line 4
[11-04-21@18:14:57] Undefined oid 'ifOutColPct' referenced in
/usr/local/devmon/templates/cisco-2960/if_col/thresholds at line 4
[11-04-21@18:14:57] Undefined oid 'ifOutColPct' at line 9 of
/usr/local/devmon/templates/cisco-2960/if_col/message, skipping this test.
It seems that devmon is failing to do this calc:
# Perform error to traffic percentage calculations
ifInErrPct : MATH : ({ifInEps} / {ifInBps}) x 100
ifOutErrPct : MATH : ({ifOutEps} / {ifOutBps}) x 100
Some suggestion?
Thanks
Rick
|
|
From: W.J.M. N. <Wim...@nl...> - 2011-04-20 11:46:02
|
Hello,
> Ok made those changes and still get this error.
>
> [11-04-15@09:50:32] SUBSTR transform uses only a single oid, a numeric
> offset and an optional shift value at
> /usr/local/devmon-0.3.1-beta1/templates/cisco-ITP/itp_msu/transforms,
> line 7
>
> I have this in transforms
> BAYTEST : SUBSTR : {procIndex} -1
>
SUBSTR requires three parameters, as you can see in de code snippet of
dm_templates.pm below. This contrasts with the errormessages, which
states that the third parameter is optional. I've tested the patch
below, and found it to work if three parameters are supplied to SUBSTR.
> -----Original Message-----
> From: W.J.M. Nelis [mailto:Wim...@nl...]
> Sent: Friday, April 15, 2011 2:12 AM
> To: dev...@li...
> Subject: Re: [Devmon] SUBSTR
>
> Hello,
>
>> I am attempting to use the SUBSTR transform but it does not seem to
>> allow a negative position. I am trying to grab the text at the end of
>>
> a
>
>> string. The application does not seem to like this. Or am I using it
>> wrong?
>>
>>
> Devmon does not check for a negative value of the offset. You might try
> the following patch, which I did NOT test:
>
> Index: dm_templates.pm
> ===================================================================
> --- dm_templates.pm (revision 14)
> +++ dm_templates.pm (working copy)
> @@ -567,7 +567,7 @@
> };
>
> $func_type eq 'substr' and do {
> - $temp =~ s/\s*\{\s*\S+?\s*\}\s+(\d+)\s*(\d*)\s*//;
> + $temp =~ s/\s*\{\s*\S+?\s*\}\s+(-?\d+)\s*(\d*)\s*//;
> do_log("SUBSTR transform uses only a single oid, a numeric
> offset " .
> "and an optional shift value at $trans_file, line
> $l_num", 0)
> and next LINE if $temp ne '';
> Index: dm_tests.pm
> ===================================================================
> --- dm_tests.pm (revision 15)
> +++ dm_tests.pm (working copy)
> @@ -533,7 +533,7 @@
> my $oid_h = \%{$oids->{$oid}};
>
> my ($dep_oid, $offset, $length) = ($1, $2, $3)
> - if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(\d+)\s*(\d*)/;
> + if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(-?\d+)\s*(\d*)/;
> my $dep_oid_h = \%{$oids->{$dep_oid}};
> $length = undef if $length eq '';
>
Kind regards,
Wim Nelis.
*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
|
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-15 15:11:19
|
Ok made those changes and still get this error.
[11-04-15@09:50:32] SUBSTR transform uses only a single oid, a numeric
offset and an optional shift value at
/usr/local/devmon-0.3.1-beta1/templates/cisco-ITP/itp_msu/transforms,
line 7
I have this in transforms
BAYTEST : SUBSTR : {procIndex} -1
This should give me the last single digit of procIndex.
-Kevin
-----Original Message-----
From: W.J.M. Nelis [mailto:Wim...@nl...]
Sent: Friday, April 15, 2011 2:12 AM
To: dev...@li...
Subject: Re: [Devmon] SUBSTR
Hello,
> I am attempting to use the SUBSTR transform but it does not seem to
> allow a negative position. I am trying to grab the text at the end of
a
> string. The application does not seem to like this. Or am I using it
> wrong?
>
Devmon does not check for a negative value of the offset. You might try
the following patch, which is I did NOT test:
Index: dm_templates.pm
===================================================================
--- dm_templates.pm (revision 14)
+++ dm_templates.pm (working copy)
@@ -567,7 +567,7 @@
};
$func_type eq 'substr' and do {
- $temp =~ s/\s*\{\s*\S+?\s*\}\s+(\d+)\s*(\d*)\s*//;
+ $temp =~ s/\s*\{\s*\S+?\s*\}\s+(-?\d+)\s*(\d*)\s*//;
do_log("SUBSTR transform uses only a single oid, a numeric
offset " .
"and an optional shift value at $trans_file, line
$l_num", 0)
and next LINE if $temp ne '';
Index: dm_tests.pm
===================================================================
--- dm_tests.pm (revision 15)
+++ dm_tests.pm (working copy)
@@ -533,7 +533,7 @@
my $oid_h = \%{$oids->{$oid}};
my ($dep_oid, $offset, $length) = ($1, $2, $3)
- if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(\d+)\s*(\d*)/;
+ if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(-?\d+)\s*(\d*)/;
my $dep_oid_h = \%{$oids->{$dep_oid}};
$length = undef if $length eq '';
Kind regards,
Wim Nelis.
************************************************************************
*******************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR
e-mail messages.
************************************************************************
*******************************
------------------------------------------------------------------------
------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and
improve
application availability and disaster protection. Learn more about
boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Devmon-support mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devmon-support
|
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-15 14:55:49
|
I will try this. I did manage to create a REGSUB that delete all the
things I did not want. Kind of the long way to get there but it worked.
-Kevin
-----Original Message-----
From: W.J.M. Nelis [mailto:Wim...@nl...]
Sent: Friday, April 15, 2011 2:12 AM
To: dev...@li...
Subject: Re: [Devmon] SUBSTR
Hello,
> I am attempting to use the SUBSTR transform but it does not seem to
> allow a negative position. I am trying to grab the text at the end of
a
> string. The application does not seem to like this. Or am I using it
> wrong?
>
Devmon does not check for a negative value of the offset. You might try
the following patch, which is I did NOT test:
Index: dm_templates.pm
===================================================================
--- dm_templates.pm (revision 14)
+++ dm_templates.pm (working copy)
@@ -567,7 +567,7 @@
};
$func_type eq 'substr' and do {
- $temp =~ s/\s*\{\s*\S+?\s*\}\s+(\d+)\s*(\d*)\s*//;
+ $temp =~ s/\s*\{\s*\S+?\s*\}\s+(-?\d+)\s*(\d*)\s*//;
do_log("SUBSTR transform uses only a single oid, a numeric
offset " .
"and an optional shift value at $trans_file, line
$l_num", 0)
and next LINE if $temp ne '';
Index: dm_tests.pm
===================================================================
--- dm_tests.pm (revision 15)
+++ dm_tests.pm (working copy)
@@ -533,7 +533,7 @@
my $oid_h = \%{$oids->{$oid}};
my ($dep_oid, $offset, $length) = ($1, $2, $3)
- if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(\d+)\s*(\d*)/;
+ if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(-?\d+)\s*(\d*)/;
my $dep_oid_h = \%{$oids->{$dep_oid}};
$length = undef if $length eq '';
Kind regards,
Wim Nelis.
************************************************************************
*******************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR
e-mail messages.
************************************************************************
*******************************
------------------------------------------------------------------------
------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and
improve
application availability and disaster protection. Learn more about
boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Devmon-support mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devmon-support
|
|
From: W.J.M. N. <Wim...@nl...> - 2011-04-15 06:11:43
|
Hello,
> I am attempting to use the SUBSTR transform but it does not seem to
> allow a negative position. I am trying to grab the text at the end of a
> string. The application does not seem to like this. Or am I using it
> wrong?
>
Devmon does not check for a negative value of the offset. You might try
the following patch, which is I did NOT test:
Index: dm_templates.pm
===================================================================
--- dm_templates.pm (revision 14)
+++ dm_templates.pm (working copy)
@@ -567,7 +567,7 @@
};
$func_type eq 'substr' and do {
- $temp =~ s/\s*\{\s*\S+?\s*\}\s+(\d+)\s*(\d*)\s*//;
+ $temp =~ s/\s*\{\s*\S+?\s*\}\s+(-?\d+)\s*(\d*)\s*//;
do_log("SUBSTR transform uses only a single oid, a numeric
offset " .
"and an optional shift value at $trans_file, line
$l_num", 0)
and next LINE if $temp ne '';
Index: dm_tests.pm
===================================================================
--- dm_tests.pm (revision 15)
+++ dm_tests.pm (working copy)
@@ -533,7 +533,7 @@
my $oid_h = \%{$oids->{$oid}};
my ($dep_oid, $offset, $length) = ($1, $2, $3)
- if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(\d+)\s*(\d*)/;
+ if $oid_h->{'trans_data'} =~ /\{(.+)\}\s+(-?\d+)\s*(\d*)/;
my $dep_oid_h = \%{$oids->{$dep_oid}};
$length = undef if $length eq '';
Kind regards,
Wim Nelis.
*******************************************************************************************************
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
*******************************************************************************************************
|
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-14 19:28:23
|
I am attempting to use the SUBSTR transform but it does not seem to allow a negative position. I am trying to grab the text at the end of a string. The application does not seem to like this. Or am I using it wrong? Kevin H. King Engineer V Implementations AT&T 404-444-0410 "You can not please everyone everyday, But everyday please everyone you can" -me |
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-13 19:48:59
|
This is transform that is giving me the good index:
procIndex : INDEX : {cimrMsuTrafficRate}{cimrMsuProcBayNumber}
-Kevin
-----Original Message-----
From: KING, KEVIN (ATTSI)
Sent: Wednesday, April 13, 2011 3:41 PM
To: dev...@li...
Subject: Re: [Devmon] Rolling my own test Help
Ok the closest I can get this is creating an index that I can display
with the data to show the proc and traffic direction.
IE the index is 1.1
1.2
23.1 yada yada yada.
So now my devmon report on xymon looks like this:
Slot Bay Processor Current MSU's Max MSU's How long ago
1.1 0 142 213
days, 21:32:40
However I still cannot resolve the actual processor slot and bay.
This is important as processor 1 at the moment is in slot 5/0. If this
is removed or another card added or a failover the processor number
will/can change.
The processor location is in the other two OID's One OID I get slot,
then the second gives me the card processor number.
I apologize for my lack of snmp knowledge, I am learning. It looks like
my oid has a leaf with a branch hanging on it.
In any case with the current transforms I do not see a way to join this
data. The msu data has tx and rx values which gives me 46 lines of data.
And the processor information is 26 lines. I have not found a way link
these. It seems that the MSU OID should have a separate oid for tx mus
and rx msu for each processor.
Then all the transforms would work as described. Unless I am completely
missing something an enhancement to split and join transform may do what
I need.
I am happy to provide whatever information is needed so someone smarter
than I can review this issue.
-Kevin
-----Original Message-----
From: KING, KEVIN (ATTSI)
Sent: Monday, April 11, 2011 1:57 PM
To: dev...@li...
Subject: Re: [Devmon] Rolling my own test Help
Thinking on this some more. I was starting with the data, maybe if I
start with the processor id's then pull the data I will have better
luck. If I pull OID this is what I get. If I read the documents
correctly I should be able to use the index transform to use the last
number here which is the processor. To then match up with the oid for
the MSU's
Can I get some help understanding the example in the docs?
snmpwalk -v2c -c NSDSPO 10.40.29.30 1.3.6.1.4.1.9.9.529.1.2.1.1.8
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.1 = INTEGER: 5
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.2 = INTEGER: 9
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.3 = INTEGER: 8
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.4 = INTEGER: 8
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.5 = INTEGER: 8
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.6 = INTEGER: 9
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.7 = INTEGER: 1
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.8 = INTEGER: 8
SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.9 = INTEGER: 8
-----Original Message-----
From: KING, KEVIN (ATTSI)
Sent: Monday, April 11, 2011 11:34 AM
To: dev...@li...
Subject: [Devmon] Rolling my own test Help
I have a test I am building for MSU per Processor on a Cisco ITP/Router.
The MSU OID is 1.3.6.1.4.1.9.9.529.1.2.2.1.3. Ok I have the test and get
the data back. Here is a sample below. I now will need to do a
transform. The data after the last digit on the oid walled is 3 after
that is the system processor number and then the traffic direction. (
1=rx 2=tx) then the gauge is the MSU counter.
Ok I want to display this as processor slot/bay rx data
" " tx
data.
The processor slot and bay are in two other oid's. so one oid will give
me the slot for processor 1 then a second oid will give me the bay of
the slot for processor 1.
One thing that has me stuck is the rx tx direction is not in a readable
oid so I can do a switch transform to fill the table.
I am getting mixed up on this. It seems I will have to do a few
transforms on this and not sure where to go with it. I tend to make
things more difficult than needed. So I hope I can get some clarity and
direction for the group.
snmpwalk -v2c -c public host 1.3.6.1.4.1.9.9.529.1.2.2.1.3
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.1 = Gauge32: 370
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.2 = Gauge32: 347
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.1 = Gauge32: 272
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.2 = Gauge32: 250
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.1 = Gauge32: 371
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.2 = Gauge32: 353
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.1 = Gauge32: 269
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.2 = Gauge32: 292
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.1 = Gauge32: 384
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.2 = Gauge32: 372
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.1 = Gauge32: 357
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.2 = Gauge32: 375
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.1 = Gauge32: 368
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.2 = Gauge32: 377
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.1 = Gauge32: 355
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.2 = Gauge32: 367
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.1 = Gauge32: 379
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.2 = Gauge32: 364
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.1 = Gauge32: 542
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.2 = Gauge32: 525
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.1 = Gauge32: 304
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.2 = Gauge32: 362
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.1 = Gauge32: 574
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.2 = Gauge32: 538
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.1 = Gauge32: 696
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.2 = Gauge32: 668
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.1 = Gauge32: 638
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.2 = Gauge32: 640
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.2 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.1 = Gauge32: 0
SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.2 = Gauge32: 0
Kevin H. King
Engineer V Implementations
AT&T
404-444-0410
"You can not please everyone everyday, But everyday please everyone you
can" -me
------------------------------------------------------------------------
------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Devmon-support mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devmon-support
------------------------------------------------------------------------
------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Devmon-support mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devmon-support
------------------------------------------------------------------------
------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and
improve
application availability and disaster protection. Learn more about
boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Devmon-support mailing list
Dev...@li...
https://lists.sourceforge.net/lists/listinfo/devmon-support
|
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-13 19:40:47
|
Ok the closest I can get this is creating an index that I can display with the data to show the proc and traffic direction. IE the index is 1.1 1.2 23.1 yada yada yada. So now my devmon report on xymon looks like this: Slot Bay Processor Current MSU's Max MSU's How long ago 1.1 0 142 213 days, 21:32:40 However I still cannot resolve the actual processor slot and bay. This is important as processor 1 at the moment is in slot 5/0. If this is removed or another card added or a failover the processor number will/can change. The processor location is in the other two OID's One OID I get slot, then the second gives me the card processor number. I apologize for my lack of snmp knowledge, I am learning. It looks like my oid has a leaf with a branch hanging on it. In any case with the current transforms I do not see a way to join this data. The msu data has tx and rx values which gives me 46 lines of data. And the processor information is 26 lines. I have not found a way link these. It seems that the MSU OID should have a separate oid for tx mus and rx msu for each processor. Then all the transforms would work as described. Unless I am completely missing something an enhancement to split and join transform may do what I need. I am happy to provide whatever information is needed so someone smarter than I can review this issue. -Kevin -----Original Message----- From: KING, KEVIN (ATTSI) Sent: Monday, April 11, 2011 1:57 PM To: dev...@li... Subject: Re: [Devmon] Rolling my own test Help Thinking on this some more. I was starting with the data, maybe if I start with the processor id's then pull the data I will have better luck. If I pull OID this is what I get. If I read the documents correctly I should be able to use the index transform to use the last number here which is the processor. To then match up with the oid for the MSU's Can I get some help understanding the example in the docs? snmpwalk -v2c -c NSDSPO 10.40.29.30 1.3.6.1.4.1.9.9.529.1.2.1.1.8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.1 = INTEGER: 5 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.2 = INTEGER: 9 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.3 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.4 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.5 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.6 = INTEGER: 9 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.7 = INTEGER: 1 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.8 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.9 = INTEGER: 8 -----Original Message----- From: KING, KEVIN (ATTSI) Sent: Monday, April 11, 2011 11:34 AM To: dev...@li... Subject: [Devmon] Rolling my own test Help I have a test I am building for MSU per Processor on a Cisco ITP/Router. The MSU OID is 1.3.6.1.4.1.9.9.529.1.2.2.1.3. Ok I have the test and get the data back. Here is a sample below. I now will need to do a transform. The data after the last digit on the oid walled is 3 after that is the system processor number and then the traffic direction. ( 1=rx 2=tx) then the gauge is the MSU counter. Ok I want to display this as processor slot/bay rx data " " tx data. The processor slot and bay are in two other oid's. so one oid will give me the slot for processor 1 then a second oid will give me the bay of the slot for processor 1. One thing that has me stuck is the rx tx direction is not in a readable oid so I can do a switch transform to fill the table. I am getting mixed up on this. It seems I will have to do a few transforms on this and not sure where to go with it. I tend to make things more difficult than needed. So I hope I can get some clarity and direction for the group. snmpwalk -v2c -c public host 1.3.6.1.4.1.9.9.529.1.2.2.1.3 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.1 = Gauge32: 370 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.2 = Gauge32: 347 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.1 = Gauge32: 272 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.2 = Gauge32: 250 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.1 = Gauge32: 371 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.2 = Gauge32: 353 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.1 = Gauge32: 269 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.2 = Gauge32: 292 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.1 = Gauge32: 384 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.2 = Gauge32: 372 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.1 = Gauge32: 357 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.2 = Gauge32: 375 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.1 = Gauge32: 368 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.2 = Gauge32: 377 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.1 = Gauge32: 355 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.2 = Gauge32: 367 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.1 = Gauge32: 379 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.2 = Gauge32: 364 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.1 = Gauge32: 542 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.2 = Gauge32: 525 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.1 = Gauge32: 304 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.2 = Gauge32: 362 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.1 = Gauge32: 574 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.2 = Gauge32: 538 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.1 = Gauge32: 696 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.2 = Gauge32: 668 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.1 = Gauge32: 638 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.2 = Gauge32: 640 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.2 = Gauge32: 0 Kevin H. King Engineer V Implementations AT&T 404-444-0410 "You can not please everyone everyday, But everyday please everyone you can" -me ------------------------------------------------------------------------ ------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support ------------------------------------------------------------------------ ------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-11 17:57:27
|
Thinking on this some more. I was starting with the data, maybe if I start with the processor id's then pull the data I will have better luck. If I pull OID this is what I get. If I read the documents correctly I should be able to use the index transform to use the last number here which is the processor. To then match up with the oid for the MSU's Can I get some help understanding the example in the docs? snmpwalk -v2c -c NSDSPO 10.40.29.30 1.3.6.1.4.1.9.9.529.1.2.1.1.8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.1 = INTEGER: 5 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.2 = INTEGER: 9 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.3 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.4 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.5 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.6 = INTEGER: 9 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.7 = INTEGER: 1 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.8 = INTEGER: 8 SNMPv2-SMI::enterprises.9.9.529.1.2.1.1.8.9 = INTEGER: 8 -----Original Message----- From: KING, KEVIN (ATTSI) Sent: Monday, April 11, 2011 11:34 AM To: dev...@li... Subject: [Devmon] Rolling my own test Help I have a test I am building for MSU per Processor on a Cisco ITP/Router. The MSU OID is 1.3.6.1.4.1.9.9.529.1.2.2.1.3. Ok I have the test and get the data back. Here is a sample below. I now will need to do a transform. The data after the last digit on the oid walled is 3 after that is the system processor number and then the traffic direction. ( 1=rx 2=tx) then the gauge is the MSU counter. Ok I want to display this as processor slot/bay rx data " " tx data. The processor slot and bay are in two other oid's. so one oid will give me the slot for processor 1 then a second oid will give me the bay of the slot for processor 1. One thing that has me stuck is the rx tx direction is not in a readable oid so I can do a switch transform to fill the table. I am getting mixed up on this. It seems I will have to do a few transforms on this and not sure where to go with it. I tend to make things more difficult than needed. So I hope I can get some clarity and direction for the group. snmpwalk -v2c -c public host 1.3.6.1.4.1.9.9.529.1.2.2.1.3 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.1 = Gauge32: 370 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.2 = Gauge32: 347 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.1 = Gauge32: 272 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.2 = Gauge32: 250 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.1 = Gauge32: 371 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.2 = Gauge32: 353 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.1 = Gauge32: 269 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.2 = Gauge32: 292 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.1 = Gauge32: 384 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.2 = Gauge32: 372 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.1 = Gauge32: 357 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.2 = Gauge32: 375 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.1 = Gauge32: 368 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.2 = Gauge32: 377 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.1 = Gauge32: 355 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.2 = Gauge32: 367 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.1 = Gauge32: 379 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.2 = Gauge32: 364 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.1 = Gauge32: 542 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.2 = Gauge32: 525 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.1 = Gauge32: 304 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.2 = Gauge32: 362 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.1 = Gauge32: 574 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.2 = Gauge32: 538 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.1 = Gauge32: 696 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.2 = Gauge32: 668 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.1 = Gauge32: 638 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.2 = Gauge32: 640 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.2 = Gauge32: 0 Kevin H. King Engineer V Implementations AT&T 404-444-0410 "You can not please everyone everyday, But everyday please everyone you can" -me ------------------------------------------------------------------------ ------ Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |
|
From: White, B. <be...@fe...> - 2011-04-11 17:02:23
|
HI all, Does anyone have templates for the new Cisco Nexus switches? Thanks, Bruce Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | be...@fe... | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. |
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-04-11 15:34:03
|
I have a test I am building for MSU per Processor on a Cisco ITP/Router. The MSU OID is 1.3.6.1.4.1.9.9.529.1.2.2.1.3. Ok I have the test and get the data back. Here is a sample below. I now will need to do a transform. The data after the last digit on the oid walled is 3 after that is the system processor number and then the traffic direction. ( 1=rx 2=tx) then the gauge is the MSU counter. Ok I want to display this as processor slot/bay rx data " " tx data. The processor slot and bay are in two other oid's. so one oid will give me the slot for processor 1 then a second oid will give me the bay of the slot for processor 1. One thing that has me stuck is the rx tx direction is not in a readable oid so I can do a switch transform to fill the table. I am getting mixed up on this. It seems I will have to do a few transforms on this and not sure where to go with it. I tend to make things more difficult than needed. So I hope I can get some clarity and direction for the group. snmpwalk -v2c -c public host 1.3.6.1.4.1.9.9.529.1.2.2.1.3 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.1.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.2.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.1 = Gauge32: 370 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.3.2 = Gauge32: 347 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.1 = Gauge32: 272 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.4.2 = Gauge32: 250 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.1 = Gauge32: 371 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.5.2 = Gauge32: 353 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.6.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.7.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.1 = Gauge32: 269 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.8.2 = Gauge32: 292 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.1 = Gauge32: 384 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.9.2 = Gauge32: 372 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.10.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.1 = Gauge32: 357 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.11.2 = Gauge32: 375 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.1 = Gauge32: 368 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.12.2 = Gauge32: 377 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.1 = Gauge32: 355 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.13.2 = Gauge32: 367 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.1 = Gauge32: 379 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.14.2 = Gauge32: 364 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.1 = Gauge32: 542 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.15.2 = Gauge32: 525 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.1 = Gauge32: 304 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.16.2 = Gauge32: 362 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.1 = Gauge32: 574 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.17.2 = Gauge32: 538 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.1 = Gauge32: 696 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.18.2 = Gauge32: 668 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.1 = Gauge32: 638 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.19.2 = Gauge32: 640 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.20.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.21.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.22.2 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.1 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.529.1.2.2.1.3.23.2 = Gauge32: 0 Kevin H. King Engineer V Implementations AT&T 404-444-0410 "You can not please everyone everyday, But everyday please everyone you can" -me |
|
From: Mark J. <mj...@mn...> - 2011-03-28 12:47:51
|
Has anyone else had issues with foundry products and devmon with the interface descriptions not working? If I use the oid for ifalias outside of devmon it walks all the interfaces and gives the descriptions but within devmon it does not. If anyone has any ideas on this please let me know. If the author wants to run tests on this specific piece of hardware I am open to that as well. Mark Jones Operations Managed Network Systems London Desk 519-679-5207 Windsor Desk 519-258-2333 x8417 Cell 519-521-8222 |
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-03-28 12:10:32
|
-----Original Message----- From: Buchan Milne [mailto:bg...@st...] Sent: Monday, March 28, 2011 5:33 AM To: dev...@li... Cc: KING, KEVIN (ATTSI) Subject: Re: [Devmon] question on setup On Monday, 28 March 2011 01:11:19 KING, KEVIN (ATTSI) wrote: > I have devmon installed working well. Question I have that I could not > find in docs or mail, In the if_load report for Cisco 6500 it is > reporting or making graphs for interfaces that are admin down. The > devmon report shows them admin down but xymon is posting empty graphs > for all interfaces. This is the current behaviour. You should be able to exclude interfaces from being graphed (or monitored) at all by using the except tag on the device in bb-hosts. That makes a lot of hosts to edit. Is there a rule or exception that can be set on if_status? |
|
From: Buchan M. <bg...@st...> - 2011-03-28 09:34:11
|
On Monday, 28 March 2011 01:11:19 KING, KEVIN (ATTSI) wrote: > I have devmon installed working well. Question I have that I could not > find in docs or mail, In the if_load report for Cisco 6500 it is > reporting or making graphs for interfaces that are admin down. The > devmon report shows them admin down but xymon is posting empty graphs > for all interfaces. This is the current behaviour. You should be able to exclude interfaces from being graphed (or monitored) at all by using the except tag on the device in bb-hosts. > Any ideas? What did I set wrong? If you think it should be different, file a feature enhancement item. However, please keep in mind that it should be generic ... Regards, Buchan |
|
From: KING, K. (ATTSI) <KK...@at...> - 2011-03-27 23:11:34
|
I have devmon installed working well. Question I have that I could not find in docs or mail, In the if_load report for Cisco 6500 it is reporting or making graphs for interfaces that are admin down. The devmon report shows them admin down but xymon is posting empty graphs for all interfaces. Any ideas? What did I set wrong? Kevin H. King Engineer V Implementations AT&T 404-444-0410 "You can not please everyone everyday, But everyday please everyone you can" -me |
|
From: Lárus R. H. <la...@sl...> - 2011-03-26 21:10:33
|
----- "Richard Finegold" <gol...@gm...> wrote: > On Tue, Mar 15, 2011 at 07:21, Lárus Rafn Halldórsson > <la...@sl...> wrote: > > I am having trouble with understanding leaves and branches in SNMP. > I am trying to build a template for the Sensatronics E4 environment > monitor, > http://www.sensatronics.com/products_temperature_model_e4.html > > > > > > here is what I have done so far regarding the temp test part: > > > > ---oids file--- > > SensaE4TempProbeName: > 1.3.6.1.4.1.16174.1.1.1.3.1.1.0 : leaf > > SensaE4TempProbeValueString: > 1.3.6.1.4.1.16174.1.1.1.3.1.2.0 : leaf > > SensaE4TempProbeValueInt: > 1.3.6.1.4.1.16174.1.1.1.3.1.3.0 : leaf > > Looking at > http://sensatronics.serverpros.com/downloads/snmp/sensatronics-ittm.my > these would actually be > sensor1Name > sensor1DataStr > sensor1DataInt > > [snip] > > My question is: how can I call the BRANCH for these oids to be able > to change message file into a TABLE structure and have Xymon 4.3 graph > the sensors? (i have copied the content of devmon-graph.cfg into > xymon's graph.cfg) > > Because the sensorInfo doesn't have a SEQUENCE OF syntax, I'm pretty > sure that you won't be able to use branch/table (within devmon) and > will have to stick with leafs. I'm guessing you'll have separate > devmon models, one for each count of probes you have. (e.g. > sensatronics-e4probes1, sensatronics-e4probes2) This is a really broken design. I have seen a similarly broken design in the AVTech Roomalert devices. However, *decent* environmental monitoring devices, that have a sane SNMP data model, are the Netbotz (http://www.netbotz.com/products/appliances.html) devices (for which I will commit a template soon). Regards, Buchan Hi Thanks for the reply, both of you. I had already found out that the snmp setup for this unit is stupid regarding branch/leaf setup, but managed to get it to work and graph with some efforts. But only to the trends page of xymon, not the temp test page itself. These units can also be ued with xml and my next try will be directed at that I guess. Will there be a new test release soon of devmon? Regards, Larus |
|
From: Buchan M. <bg...@st...> - 2011-03-24 11:01:53
|
----- "Richard Finegold" <gol...@gm...> wrote: > On Tue, Mar 15, 2011 at 07:21, Lárus Rafn Halldórsson > <la...@sl...> wrote: > > I am having trouble with understanding leaves and branches in SNMP. > I am trying to build a template for the Sensatronics E4 environment > monitor, > http://www.sensatronics.com/products_temperature_model_e4.html > > > > > > here is what I have done so far regarding the temp test part: > > > > ---oids file--- > > SensaE4TempProbeName: > 1.3.6.1.4.1.16174.1.1.1.3.1.1.0 : leaf > > SensaE4TempProbeValueString: > 1.3.6.1.4.1.16174.1.1.1.3.1.2.0 : leaf > > SensaE4TempProbeValueInt: > 1.3.6.1.4.1.16174.1.1.1.3.1.3.0 : leaf > > Looking at > http://sensatronics.serverpros.com/downloads/snmp/sensatronics-ittm.my > these would actually be > sensor1Name > sensor1DataStr > sensor1DataInt > > [snip] > > My question is: how can I call the BRANCH for these oids to be able > to change message file into a TABLE structure and have Xymon 4.3 graph > the sensors? (i have copied the content of devmon-graph.cfg into > xymon's graph.cfg) > > Because the sensorInfo doesn't have a SEQUENCE OF syntax, I'm pretty > sure that you won't be able to use branch/table (within devmon) and > will have to stick with leafs. I'm guessing you'll have separate > devmon models, one for each count of probes you have. (e.g. > sensatronics-e4probes1, sensatronics-e4probes2) This is a really broken design. I have seen a similarly broken design in the AVTech Roomalert devices. However, *decent* environmental monitoring devices, that have a sane SNMP data model, are the Netbotz (http://www.netbotz.com/products/appliances.html) devices (for which I will commit a template soon). Regards, Buchan |
|
From: Richard F. <gol...@gm...> - 2011-03-24 04:25:31
|
On Tue, Mar 15, 2011 at 07:21, Lárus Rafn Halldórsson <la...@sl...> wrote: > I am having trouble with understanding leaves and branches in SNMP. I am trying to build a template for the Sensatronics E4 environment monitor, http://www.sensatronics.com/products_temperature_model_e4.html > > > here is what I have done so far regarding the temp test part: > > ---oids file--- > SensaE4TempProbeName: 1.3.6.1.4.1.16174.1.1.1.3.1.1.0 : leaf > SensaE4TempProbeValueString: 1.3.6.1.4.1.16174.1.1.1.3.1.2.0 : leaf > SensaE4TempProbeValueInt: 1.3.6.1.4.1.16174.1.1.1.3.1.3.0 : leaf Looking at http://sensatronics.serverpros.com/downloads/snmp/sensatronics-ittm.my these would actually be sensor1Name sensor1DataStr sensor1DataInt [snip] > My question is: how can I call the BRANCH for these oids to be able to change message file into a TABLE structure and have Xymon 4.3 graph the sensors? (i have copied the content of devmon-graph.cfg into xymon's graph.cfg) Because the sensorInfo doesn't have a SEQUENCE OF syntax, I'm pretty sure that you won't be able to use branch/table (within devmon) and will have to stick with leafs. I'm guessing you'll have separate devmon models, one for each count of probes you have. (e.g. sensatronics-e4probes1, sensatronics-e4probes2) But you still have a chance to graph the sensor data with a variable number of sensors; I'm thinking you'll need a custom parsing script (using the --extra-script parameter for the [rrdstatus] section of your launch). |
|
From: Thomas, L. M. <LMT...@st...> - 2011-03-15 18:17:47
|
Larus, In my case, we were using a different sensatronics monitor, but the graphing turned out to be a Xymon problem not devmon. http://lists.xymon.com/oldarchive/2009/07/msg00241.html is a link to a page that proved very insightful for me. Also make sure you have edited the hobbitserver.cfg file and added your column name to the TEST2RRD value. Info on that process is here http://myopensourcestints.blogspot.com/2010/03/xymon-custom-graphs-for-your-hobbit.html. We ended up not using devmon, because unused sensors reported -999.99 all the time and we couldn't get them filtered out. So if you find a solution for that I would love to know. Laura -----Original Message----- From: Lárus Rafn Halldórsson [mailto:la...@sl...] Sent: Tuesday, March 15, 2011 9:21 AM To: dev...@li... Subject: [Devmon] a little help on generating template Hello I am having trouble with understanding leaves and branches in SNMP. I am trying to build a template for the Sensatronics E4 environment monitor, http://www.sensatronics.com/products_temperature_model_e4.html here is what I have done so far regarding the temp test part: ---oids file--- SensaE4TempProbeName: 1.3.6.1.4.1.16174.1.1.1.3.1.1.0 : leaf SensaE4TempProbeValueString: 1.3.6.1.4.1.16174.1.1.1.3.1.2.0 : leaf SensaE4TempProbeValueInt: 1.3.6.1.4.1.16174.1.1.1.3.1.3.0 : leaf ------ ---transforms file--- (I only did this to see if I could calculate data from the string leaf and it is possible) temp : MATH : {SensaE4TempProbeValueString} / 1 ------ ---message file--- Thermal sensors: Probe: {SensaE4TempProbeName} {SensaE4TempProbeValueInt.color} temperature in degrees Celsius: {temp} ------ ---thresholds file--- SensaE4TempProbeValueInt : red : >32 : Temperature is Very High: {SensaE4TempProbeValueInt} degrees Celcius SensaE4TempProbeValueInt : yellow : >29 : Temperature is High: {SensaE4TempProbeValueInt} degrees Celcius SensaE4TempProbeValueInt : green : : Temperature is normal {SensaE4TempProbeValueInt} degrees Celcius ------ For this particlular unit, you can connect up to 4 sensors. As I am only using one sensor, I used the leaves for sensor 1 just to get this working. Now I want to finish up this template so others can use it too. as can be seen on the oids file, the probe 1 oids are as follows: (file can be seen here: http://sensatronics.serverpros.com/downloads/snmp/Model_E_OID_Listing.pdf) Name: 1.3.6.1.4.1.16174.1.1.1.3.1.1.0 : leaf ValueString: 1.3.6.1.4.1.16174.1.1.1.3.1.2.0 : leaf ValueInt: 1.3.6.1.4.1.16174.1.1.1.3.1.3.0 : leaf Sensor oids for probe 2 are: Name: 1.3.6.1.4.1.16174.1.1.1.3.2.1.0 : leaf ValueString: 1.3.6.1.4.1.16174.1.1.1.3.2.2.0 : leaf ValueInt: 1.3.6.1.4.1.16174.1.1.1.3.2.3.0 : leaf My question is: how can I call the BRANCH for these oids to be able to change message file into a TABLE structure and have Xymon 4.3 graph the sensors? (i have copied the content of devmon-graph.cfg into xymon's graph.cfg) Xymon can display the data and alerts if heat exceeds the limits but no rrd files are generated and I cannot figure out why. could anybody help me with this? best regards, Larus ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |
|
From: <lor...@bn...> - 2011-03-15 16:27:29
|
I am out of the office until 28/03/2011. Please contact John Lanigan or its...@pn... with any queries. Regards, Loris Note: This is an automated response to your message "[Devmon] a little help on generating template" sent on 15/03/2011 14:21:22. This is the only notification you will receive while this person is away. The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not an intended party to this communication, please notify the sender and delete/destroy any and all copies of this communication. Although we attempt to sweep e-mail and attachments for viruses, we do not guarantee that either are virus-free and accept no liability for any damage sustained as a result of viruses. There are some inherent risks with exchanging e-mails. You understand and agree that we are not, and will not be, responsible for the unauthorized access, interception, or redirection of e-mails including any attachments, nor will we be responsible for the effect on any computer system of any e-mails or attachments. You also agree that we will not be responsible for the incorrect or incomplete transmission of information by e-mail The information contained in this communication is not intended or construed as an offer, solicitation, or a recommendation to purchase any security. Opinions, suggestions or views presented in this communication are not necessarily those of The Bank of New York Mellon Corporation or any of its affiliates. Please refer to http://disclaimer.bnymellon.com/eu.htm for disclosures relating to European legal entities |