From: Torben A. <tor...@gm...> - 2007-01-23 11:15:53
|
Hi ! I'm having a bit of a problem with the threshold values of a custom template. Devmon 0.2.2 is runnig on Debian Sarge/Sparc. Here's the relevant files from my fw-1 dir : transforms : empty exceptions : empty --- oids --- : fwNumConn : 1.3.6.1.4.1.2620.1.1.25.3.0 : leaf fwPeakNumConn : 1.3.6.1.4.1.2620.1.1.25.4.0 : leaf ------------- --- thresholds --- : fwNumConn : red : 10 : Connection Table very high {fwNumConn} fwNumConn : yellow : 5 : Connection Table high {fwNumConn} ------------- --- messages --- : fwNumConn: {fwNumConn} fwPeakNumConn: {fwPeakNumConn} ------------- Everything works fine - except that the Hobbit status is always green. Here's a sample output : ------------- fwNumConn: 16177 fwPeakNumConn: 30993 Devmon version 0.2.2 running on mon ------------- I do belive the value of 6177 should give me a red status :) Any ideas ? Thanks /Torben |
From: Aiello, S. \(G. C. consultant\) <ste...@ge...> - 2007-01-23 13:17:21
|
I am not sure if this will help or not. But in your threshold file you define an error message when the threshold is met. But you do not list the .error variable in your message file. To have the error messages appear at the top of the report you need to include this variable. Also it does not matter where it defined in the message file, it will always be at the top, prior to the report. So your message file should look like: =20 fwNumConn: {fwNumConn}{fwNumConn.errors} fwPeakNumConn: {fwPeakNumConn}{fwPeakNumConn.errors} =20 This may be throwing a gear in the 'works'.=20 -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Torben Aagaard Sent: Tuesday, January 23, 2007 6:16 AM To: dev...@li... Subject: [Devmon] Status always green Hi ! =20 I'm having a bit of a problem with the threshold values of a custom template. Devmon 0.2.2 is runnig on Debian Sarge/Sparc. =20 Here's the relevant files from my fw-1 dir :=20 =20 transforms : empty exceptions : empty =20 --- oids --- :=20 fwNumConn : 1.3.6.1.4.1.2620.1.1.25.3.0 : leaf fwPeakNumConn : 1.3.6.1.4.1.2620.1.1.25.4.0 : leaf ------------- =20 --- thresholds --- : fwNumConn : red : 10 : Connection Table very high {fwNumConn} fwNumConn : yellow : 5 : Connection Table high {fwNumConn} ------------- =20 --- messages --- : fwNumConn: {fwNumConn} fwPeakNumConn: {fwPeakNumConn} ------------- =20 Everything works fine - except that the Hobbit status is always green. Here's a sample output :=20 ------------- fwNumConn: 16177 fwPeakNumConn: 30993 Devmon version 0.2.2 running on mon ------------- =20 I do belive the value of 6177 should give me a red status :) =20 Any ideas ? =20 Thanks /Torben |
From: Torben A. <tor...@gm...> - 2007-01-23 14:04:30
|
Hi Steve Aha - great ! I added one line to my messages file : ------------------------------- {fwNumConn.color} : {fwNumConn.msg} fwNumConn: {fwNumConn} fwPeakNumConn: {fwPeakNumConn} ------------------------------- This way, my NCV graphs are still working. Guess I missed the part on the global status - thanks ! BR /Torben On 1/23/07, Aiello, Steve (GE, Corporate, consultant) <ste...@ge...> wrote: > > I am not sure if this will help or not. But in your threshold file you > define an error message when the threshold is met. But you do not list the > .error variable in your message file. To have the error messages appear at > the top of the report you need to include this variable. Also it does not > matter where it defined in the message file, it will always be at the top, > prior to the report. So your message file should look like: > > fwNumConn: {fwNumConn}{fwNumConn.errors} > fwPeakNumConn: {fwPeakNumConn}{fwPeakNumConn.errors} > > This may be throwing a gear in the 'works'. > > -----Original Message----- > *From:* dev...@li... [mailto: > dev...@li...] *On Behalf Of *Torben > Aagaard > *Sent:* Tuesday, January 23, 2007 6:16 AM > *To:* dev...@li... > *Subject:* [Devmon] Status always green > > Hi ! > > I'm having a bit of a problem with the threshold values of a custom > template. Devmon 0.2.2 is runnig on Debian Sarge/Sparc. > > Here's the relevant files from my fw-1 dir : > > transforms : empty > exceptions : empty > > --- oids --- : > fwNumConn : 1.3.6.1.4.1.2620.1.1.25.3.0 : leaf > fwPeakNumConn : 1.3.6.1.4.1.2620.1.1.25.4.0 : leaf > ------------- > > --- thresholds --- : > fwNumConn : red : 10 : Connection Table very high {fwNumConn} > fwNumConn : yellow : 5 : Connection Table high {fwNumConn} > ------------- > > --- messages --- : > fwNumConn: {fwNumConn} > fwPeakNumConn: {fwPeakNumConn} > ------------- > > Everything works fine - except that the Hobbit status is always green. > Here's a sample output : > ------------- > fwNumConn: 16177 > fwPeakNumConn: 30993 > > > Devmon version 0.2.2 running on mon > ------------- > > I do belive the value of 6177 should give me a red status :) > > Any ideas ? > > Thanks > /Torben > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > > |
From: Aiello, S. \(G. C. consultant\) <ste...@ge...> - 2007-01-23 14:21:24
|
So the report is changing color appropriately now ? -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Torben Aagaard Sent: Tuesday, January 23, 2007 9:04 AM To: dev...@li... Subject: Re: [Devmon] Status always green Hi Steve =20 Aha - great ! =20 I added one line to my messages file :=20 ------------------------------- {fwNumConn.color} : {fwNumConn.msg} =20 fwNumConn: {fwNumConn} fwPeakNumConn: {fwPeakNumConn} =20 ------------------------------- This way, my NCV graphs are still working. Guess I missed the part on the global status - thanks ! =20 BR /Torben =20 On 1/23/07, Aiello, Steve (GE, Corporate, consultant) <ste...@ge...> wrote:=20 I am not sure if this will help or not. But in your threshold file you define an error message when the threshold is met. But you do not list the .error variable in your message file. To have the error messages appear at the top of the report you need to include this variable. Also it does not matter where it defined in the message file, it will always be at the top, prior to the report. So your message file should look like:=20 =20 fwNumConn: {fwNumConn}{fwNumConn.errors} fwPeakNumConn: {fwPeakNumConn}{fwPeakNumConn.errors} =20 This may be throwing a gear in the 'works'.=20 -----Original Message----- From: dev...@li... [mailto:dev...@li... <mailto:dev...@li...> ] On Behalf Of Torben Aagaard Sent: Tuesday, January 23, 2007 6:16 AM To: dev...@li... Subject: [Devmon] Status always green Hi ! =20 I'm having a bit of a problem with the threshold values of a custom template. Devmon 0.2.2 is runnig on Debian Sarge/Sparc. =20 Here's the relevant files from my fw-1 dir :=20 =20 transforms : empty exceptions : empty =20 --- oids --- :=20 fwNumConn : 1.3.6.1.4.1.2620.1.1.25.3.0 : leaf fwPeakNumConn : 1.3.6.1.4.1.2620.1.1.25.4.0 : leaf ------------- =20 --- thresholds --- : fwNumConn : red : 10 : Connection Table very high {fwNumConn} fwNumConn : yellow : 5 : Connection Table high {fwNumConn} ------------- =20 --- messages --- : fwNumConn: {fwNumConn} fwPeakNumConn: {fwPeakNumConn} ------------- =20 Everything works fine - except that the Hobbit status is always green. Here's a sample output :=20 ------------- fwNumConn: 16177 fwPeakNumConn: 30993 Devmon version 0.2.2 running on mon ------------- =20 I do belive the value of 6177 should give me a red status :) =20 Any ideas ? =20 Thanks /Torben ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your=20 opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php <http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVD EV> &p=3Dsourceforge&CID=3DDEVDEV _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support <https://lists.sourceforge.net/lists/listinfo/devmon-support>=20 |
From: Torben A. <tor...@gm...> - 2007-01-23 15:53:53
|
Yes - everything is working perfectly now :) BR /Torben On 1/23/07, Aiello, Steve (GE, Corporate, consultant) <ste...@ge...> wrote: > > So the report is changing color appropriately now ? > |
From: Torben A. <tor...@gm...> - 2007-01-23 22:00:28
|
Well - actually it is not. -------------------------------------- 2007-01-23 20:37:19 RRD error updating /var/lib/hobbit/rrd/foohost/fw1.rrd from 127.0.0.1: unknown DS name 'yellowConnectionTab' -------------------------------------- Seems like hobbit is trying to update a rrd datasource from that first line I inserted. The only way to get both NCV graphs and the global status is to add the .color and .msg after the counter ( as you initially suggested ). -------------------------------------- fwNumConn: {fwNumConn} {fwNumConn.color} {fwNumConn.msg} fwPeakNumConn: {fwPeakNumConn} -------------------------------------- I'd like to show the color and status message before the data lines ( like SSH and HTTP tests ) - is that possible ? Does the NCV module parse all lines in the status message ? BR /Torben On 1/23/07, Torben Aagaard <tor...@gm...> wrote: > > Yes - everything is working perfectly now :) > > BR > /Torben > > > On 1/23/07, Aiello, Steve (GE, Corporate, consultant) <ste...@ge...> > wrote: > > > > So the report is changing color appropriately now ? > > > |
From: Torben A. <tor...@gm...> - 2007-01-24 12:03:28
|
For the archives, this patch should fix the problem on version 4.2.0 : http://www.hswn.dk/hobbitsw/patches/ncv-ignoretext.patch Case closed On 1/23/07, Torben Aagaard <tor...@gm...> wrote: > > Well - actually it is not. > > -------------------------------------- > 2007-01-23 20:37:19 RRD error updating /var/lib/hobbit/rrd/foohost/fw1.rrd > from 127.0.0.1: unknown DS name 'yellowConnectionTab' > -------------------------------------- > > Seems like hobbit is trying to update a rrd datasource from that first > line I inserted. > The only way to get both NCV graphs and the global status is to add the > .color and .msg after the counter ( as you initially suggested ). > > -------------------------------------- > fwNumConn: {fwNumConn} {fwNumConn.color} {fwNumConn.msg} > fwPeakNumConn: {fwPeakNumConn} > -------------------------------------- > > I'd like to show the color and status message before the data lines ( like > SSH and HTTP tests ) - is that possible ? > Does the NCV module parse all lines in the status message ? > > BR > /Torben > > > On 1/23/07, Torben Aagaard <tor...@gm...> wrote: > > > > Yes - everything is working perfectly now :) > > > > BR > > /Torben > > > > > > On 1/23/07, Aiello, Steve (GE, Corporate, consultant) <ste...@ge...> > > wrote: > > > > > > So the report is changing color appropriately now ? > > > > > > |
From: Maik H. <ma...@ve...> - 2007-01-24 03:02:40
|
Hello, I got the following error. Data type mismatch for leaf 1 of ifOutOps on 8624XL: 'Missing primary oid data' does not match regex '^[-+]?\d+(\.\d+)?$' How can I fix this problem? It is my first time to user devmon. Reagards M.Heinelt |
From: Michael A. P. <mp...@hs...> - 2007-01-24 12:30:54
|
I assume you tested the OID with a SNMPWALK and it works... I have devmon running and this occurs when the switch/router doesnt respond to the SNMP request from the devmon server in time, so the devmon server continues the process and correlation of the data. While its doing this, it fails because the data is missing... I tuned some of my config settings to up the timeout for devmon. thanks, michael Michael A. Price Performance Network Engineering NASA/GSFC Code 440.8/LMB Greenbelt, Maryland 20770 Phone: 240-684-1356 Cell: 410-507-7476 e-mail: mp...@hs... ---------------------------------------------- Maik Heinelt wrote: > Hello, > I got the following error. > > Data type mismatch for leaf 1 of ifOutOps on 8624XL: 'Missing primary > oid data' does not match regex '^[-+]?\d+(\.\d+)?$' > > How can I fix this problem? > It is my first time to user devmon. > > Reagards > > M.Heinelt > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > > |