From: Jessica H. <Je...@gm...> - 2005-02-28 07:45:24
|
Hi, I've already questions... I use the plugin check_icmp which output look like this: nagios@rzvlabwks:/usr/local/nagor/nagios/libexec> ./check_icmp -H jholle OK - jholle: rta 0.25 ms, lost 0%|rta=0.25ms;200;500;; pl=0%;60;80;; it's ok. But the Database look so: 42684 | jholle | Ping | rta | 2005-02-28 08:38:29 | 0 | 200 | 500 | 0 | | 42685 | jholle | Ping | pl | 2005-02-28 08:38:29 | 0 | 40 | 80 | 0 | So for the time is always a 0 value. Is this a known problem or what do I wrong? Another question is how many data is stored into my database. Is it defined how many data is stored? When yes where? Greetz Jessica -- Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail |
From: Yves <yme...@pe...> - 2005-02-28 08:54:01
|
> I use the plugin check_icmp > which output look like this: > > nagios@rzvlabwks:/usr/local/nagor/nagios/libexec> ./check_icmp -H jholl= e > OK - jholle: rta 0.25 ms, lost 0%|rta=3D0.25ms;200;500;; pl=3D0%;60;80;= ; > > it's ok. > But the Database look so: > > 42684 | jholle | Ping | rta | 2005-02-28 08:38:29 = | > 0 | 200 | 500 | 0 | > | 42685 | jholle | Ping | pl | 2005-02-28 08:38:2= 9 | > 0 | 40 | 80 | 0 | > > So for the time is always a 0 value. Is this a known problem or what do= I > wrong? Anybody to help ? Anybody who can check if this can be the storage format of the database t= hat does not allow float values ? > Another question is how many data is stored into my database. Is it def= ined > how many data is stored? When yes where? This is not defined anywhere. However, you can use SQL requests like this: select count(*) from perfdata_host select count(*) from perfdata_service_bin select count(*) from perfdata_service_metric ... and so on Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |
From: Ben C. <bcl...@pe...> - 2005-02-28 09:46:33
|
The storage format is 'FLOAT'. I don't know why your data is being stored as integers. I would need to see the SQL used. This can be obtained simply from the logs using 'mysqlbinlog'. Something a but like like: mysqlbinlog yyyyyy.xxxxxx | grep -i "INSERT" | grep "perfdata_service_bin" | grep "Ping" Where yyyyy is your machine name and xxxxxx is the largest log file number. Eg, /usr/local/mysql/var/nagios.0000123 This should produce the SQL statements used to enter your data. I would be very interested in seeing these. I have a feeling we may see: INSERT ... VALUES ( '0,25' And not the required: INSERT ... VALUES ( '0.25' -------------------- Another way of viewing the amount of data in the database is using: mysql> SHOW TABLE STATUS\G This gives estimated values. But they are usually good. (Would any member be interested in writing a quick HTML report of this data?) If you want to limit your data, look at the Deletion Policies. -------------------- I hope this is of some use, Ben. Yves wrote: >>I use the plugin check_icmp >>which output look like this: >> >>nagios@rzvlabwks:/usr/local/nagor/nagios/libexec> ./check_icmp -H jholle >>OK - jholle: rta 0.25 ms, lost 0%|rta=0.25ms;200;500;; pl=0%;60;80;; >> >>it's ok. >>But the Database look so: >> >>42684 | jholle | Ping | rta | 2005-02-28 08:38:29 | >>0 | 200 | 500 | 0 | >>| 42685 | jholle | Ping | pl | 2005-02-28 08:38:29 | >> 0 | 40 | 80 | 0 | >> >>So for the time is always a 0 value. Is this a known problem or what do I >>wrong? > > > > Anybody to help ? > Anybody who can check if this can be the storage format of the database that does not > allow float values ? > > >>Another question is how many data is stored into my database. Is it defined >>how many data is stored? When yes where? > > > This is not defined anywhere. > However, you can use SQL requests like this: > select count(*) from perfdata_host > select count(*) from perfdata_service_bin > select count(*) from perfdata_service_metric > ... and so on > > Yves > |
From: Jessica H. <Je...@gm...> - 2005-03-01 07:25:12
|
Hi, I've googled already but I can't find anything about my question... Can I change the looking of the graphs? When I graph the data of an disk it is always shown the total sum, but not the used. I like it more when the total space is shown in an area and the used is shown in an area too... But there is only one graph. Somethimes I like it more when there is not a line but an area. Can I change this things? Another question is, if anybody knows a check_traffic plugin which works with perdata, so that I can graph this too... -- DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen! AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl |
From: Jessica H. <Je...@gm...> - 2005-03-01 07:37:21
|
Sorry, but I've forgotten another thing. First I tell you something, so it's better to understand I hope. I had problems with the check_load plugin: nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1.5,1.5,1.5 -c 4.0,2.0,2.0 Warning threshold must be float or float triplet! Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 So I get this bad output, but I've found a solution: nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1,5:1,5:1,5 -c 4,0:2,0:2,0 OK - load average: 0,27, 0,30, 0,29|load1=0,270000;1,500000;4,000000;0,000000 load5=0,300000;1,500000;2,000000;0,000000 load15=0,290000;1,500000;2,000000;0,000000 So I think there is a problem with , and . !!! Some days before the first "version" of my check_load numbers worked but now I do it with the second. And now to my right problem... It's about the values in my database: 47020 | jholle | Ping | rta | 2005-02-28 15:51:39 | 0 | 85 | 95 | 0 | | 47021 | jholle | Ping | pl | 2005-02-28 15:51:39 | 0 | 40 | 80 | 0 | There are no values only a zero. nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; pl=0%;40;80;; But here are values. When this value goes over 1 it is shown in database, but only as a 1 not the float integers. I think this is because of the . ! I think it is like my first problem. there was a point which could not be interpreted and here is a point again. I don't know but I think when there is a , and not a . the problem is solved... Can I think right ??? -- Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail |
From: Ben C. <be...@cl...> - 2005-03-01 08:24:22
|
Jessica, These are known bugs in the plugins which are causing lots of users problems. I can suggest two solutions. 1. Recompile the plugins using: ./configure --disable-nls I have not tested this, but I believe this should work. 2. After the 'textdomain' call at the start of the plugin source code, add the line: setlocale(LC_NUMERIC, "POSIX"); Eg, with your problem plugin check_load. Edit plugins/check_load.c: -------------------check_load.c------------------- int main (int argc, char **argv) { int result = STATE_UNKNOWN; #if HAVE_GETLOADAVG==1 double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains about unitialized arrays */ #else # if HAVE_PROC_LOADAVG==1 FILE *fp; char input_buffer[MAX_INPUT_BUFFER]; char *tmp_ptr; # else char input_buffer[MAX_INPUT_BUFFER]; # endif #endif float la1, la5, la15; setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); textdomain (PACKAGE); setlocale(LC_NUMERIC, "POSIX"); <--- HERE!! -------------------check_load.c------------------- This should sort out your problems. Please let us know. Regards, Ben. Jessica Holle wrote: > Sorry, but I've forgotten another thing. > > First I tell you something, so it's better to understand I hope. > > I had problems with the check_load plugin: > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1.5,1.5,1.5 -c > 4.0,2.0,2.0 > Warning threshold must be float or float triplet! > > Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > > > So I get this bad output, but I've found a solution: > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1,5:1,5:1,5 -c > 4,0:2,0:2,0 > OK - load average: 0,27, 0,30, > 0,29|load1=0,270000;1,500000;4,000000;0,000000 > load5=0,300000;1,500000;2,000000;0,000000 > load15=0,290000;1,500000;2,000000;0,000000 > > > So I think there is a problem with , and . !!! > > Some days before the first "version" of my check_load numbers worked but now > I do it with the second. > > > And now to my right problem... > > It's about the values in my database: > > 47020 | jholle | Ping | rta | 2005-02-28 15:51:39 | > 0 | 85 | 95 | 0 | > | 47021 | jholle | Ping | pl | 2005-02-28 15:51:39 | > 0 | 40 | 80 | 0 | > > > There are no values only a zero. > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle > OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; > pl=0%;40;80;; > > > But here are values. When this value goes over 1 it is shown in database, > but only as a 1 not the float integers. > I think this is because of the . ! I think it is like my first problem. > there was a point which could not be interpreted and here is a point again. > I don't know but I think when there is a , and not a . the problem is > solved... > > Can I think right ??? > |
From: Jessica H. <Je...@gm...> - 2005-03-01 08:44:42
|
Sorry, but my problem is nocht the check_load! For this I've found an solution:-) My problem is the check_icmp plugin. or is this problem solved if I configure it again? regards jessica > Jessica, > > These are known bugs in the plugins which are causing lots of users > problems. > > I can suggest two solutions. > > 1. Recompile the plugins using: > > ./configure --disable-nls > > I have not tested this, but I believe this should work. > > 2. After the 'textdomain' call at the start of the plugin source code, > add the line: > > setlocale(LC_NUMERIC, "POSIX"); > > Eg, with your problem plugin check_load. Edit plugins/check_load.c: > > -------------------check_load.c------------------- > > int > main (int argc, char **argv) > { > int result = STATE_UNKNOWN; > > #if HAVE_GETLOADAVG==1 > double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains > about unitialized arrays */ > #else > # if HAVE_PROC_LOADAVG==1 > FILE *fp; > char input_buffer[MAX_INPUT_BUFFER]; > char *tmp_ptr; > # else > char input_buffer[MAX_INPUT_BUFFER]; > # endif > #endif > > float la1, la5, la15; > > setlocale (LC_ALL, ""); > bindtextdomain (PACKAGE, LOCALEDIR); > textdomain (PACKAGE); > > setlocale(LC_NUMERIC, "POSIX"); <--- HERE!! > > -------------------check_load.c------------------- > > This should sort out your problems. Please let us know. > > Regards, > > Ben. > > > > Jessica Holle wrote: > > Sorry, but I've forgotten another thing. > > > > First I tell you something, so it's better to understand I hope. > > > > I had problems with the check_load plugin: > > > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1.5,1.5,1.5 > -c > > 4.0,2.0,2.0 > > Warning threshold must be float or float triplet! > > > > Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > > > > > > So I get this bad output, but I've found a solution: > > > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1,5:1,5:1,5 > -c > > 4,0:2,0:2,0 > > OK - load average: 0,27, 0,30, > > 0,29|load1=0,270000;1,500000;4,000000;0,000000 > > load5=0,300000;1,500000;2,000000;0,000000 > > load15=0,290000;1,500000;2,000000;0,000000 > > > > > > So I think there is a problem with , and . !!! > > > > Some days before the first "version" of my check_load numbers worked but > now > > I do it with the second. > > > > > > And now to my right problem... > > > > It's about the values in my database: > > > > 47020 | jholle | Ping | rta | 2005-02-28 15:51:39 | > > > 0 | 85 | 95 | 0 | > > | 47021 | jholle | Ping | pl | 2005-02-28 15:51:39 > | > > 0 | 40 | 80 | 0 | > > > > > > There are no values only a zero. > > > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle > > OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; > > pl=0%;40;80;; > > > > > > But here are values. When this value goes over 1 it is shown in > database, > > but only as a 1 not the float integers. > > I think this is because of the . ! I think it is like my first problem. > > there was a point which could not be interpreted and here is a point > again. > > I don't know but I think when there is a , and not a . the problem is > > solved... > > > > Can I think right ??? > > > -- Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail |
From: Ben C. <bcl...@pe...> - 2005-03-01 09:09:36
|
Jessica, Sorry I missed that. The answer is however the same. Try editing and/or recompiling your plugin as I suggest. Regards, Ben Clewett. Jessica Holle wrote: > Sorry, > > but my problem is nocht the check_load! For this I've found an solution:-) > > My problem is the check_icmp plugin. > > or is this problem solved if I configure it again? > > regards jessica > > > >>Jessica, >> >>These are known bugs in the plugins which are causing lots of users >>problems. >> >>I can suggest two solutions. >> >>1. Recompile the plugins using: >> >>./configure --disable-nls >> >>I have not tested this, but I believe this should work. >> >>2. After the 'textdomain' call at the start of the plugin source code, >>add the line: >> >>setlocale(LC_NUMERIC, "POSIX"); >> >>Eg, with your problem plugin check_load. Edit plugins/check_load.c: >> >>-------------------check_load.c------------------- >> >>int >>main (int argc, char **argv) >>{ >> int result = STATE_UNKNOWN; >> >>#if HAVE_GETLOADAVG==1 >> double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains >>about unitialized arrays */ >>#else >># if HAVE_PROC_LOADAVG==1 >> FILE *fp; >> char input_buffer[MAX_INPUT_BUFFER]; >> char *tmp_ptr; >># else >> char input_buffer[MAX_INPUT_BUFFER]; >># endif >>#endif >> >> float la1, la5, la15; >> >> setlocale (LC_ALL, ""); >> bindtextdomain (PACKAGE, LOCALEDIR); >> textdomain (PACKAGE); >> >> setlocale(LC_NUMERIC, "POSIX"); <--- HERE!! >> >>-------------------check_load.c------------------- >> >>This should sort out your problems. Please let us know. >> >>Regards, >> >>Ben. >> >> >> >>Jessica Holle wrote: >> >>>Sorry, but I've forgotten another thing. >>> >>>First I tell you something, so it's better to understand I hope. >>> >>>I had problems with the check_load plugin: >>> >>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1.5,1.5,1.5 >> >>-c >> >>>4.0,2.0,2.0 >>>Warning threshold must be float or float triplet! >>> >>>Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 >>> >>> >>>So I get this bad output, but I've found a solution: >>> >>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1,5:1,5:1,5 >> >>-c >> >>>4,0:2,0:2,0 >>>OK - load average: 0,27, 0,30, >>>0,29|load1=0,270000;1,500000;4,000000;0,000000 >>>load5=0,300000;1,500000;2,000000;0,000000 >>>load15=0,290000;1,500000;2,000000;0,000000 >>> >>> >>>So I think there is a problem with , and . !!! >>> >>>Some days before the first "version" of my check_load numbers worked but >> >>now >> >>>I do it with the second. >>> >>> >>>And now to my right problem... >>> >>>It's about the values in my database: >>> >>>47020 | jholle | Ping | rta | 2005-02-28 15:51:39 | >> >> >> >>>0 | 85 | 95 | 0 | >>>| 47021 | jholle | Ping | pl | 2005-02-28 15:51:39 >> >>| >> >>> 0 | 40 | 80 | 0 | >>> >>> >>>There are no values only a zero. >>> >>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle >>>OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; >>>pl=0%;40;80;; >>> >>> >>>But here are values. When this value goes over 1 it is shown in >> >>database, >> >>>but only as a 1 not the float integers. >>>I think this is because of the . ! I think it is like my first problem. >>>there was a point which could not be interpreted and here is a point >> >>again. >> >>>I don't know but I think when there is a , and not a . the problem is >>>solved... >>> >>>Can I think right ??? >>> >> > |
From: Jessica H. <Je...@gm...> - 2005-03-01 13:35:10
|
Hi, I've tested the two things, but the problem is already the same. I can nithing find a place in the plugins where I should copy the one lin you told. This is only in the check_load plugin. I think this problem is because of the point between the numbers there should be a . !!! Another problem is the check_nt plugin... There are perfdata but no data is written in the mysql database. nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_nt -H jholle -v USEDDISKSPACE -l C -w 85 -c 95 C:\ - total: 38,28 Gb - used: 3,72 Gb (10%) - free 34,56 Gb (90%) | 'C:\ Used Space'=3,72Gb;32,54;36,36;0.00;38,28 here are perfdata, this data is written in the log but not in the database... I've found patches for some plugins on the perparse homepage... but they doesn't work... nagios@rzvlabwks:~/nagios-plugins-1.4/plugins> patch check_nt.c check_nt.c.patch patching file check_nt.c Hunk #1 FAILED at 2. Hunk #2 FAILED at 81. Hunk #3 FAILED at 140. Hunk #4 FAILED at 164. Hunk #5 FAILED at 202. Hunk #6 FAILED at 223. Hunk #7 FAILED at 255. Hunk #8 FAILED at 291. Hunk #9 FAILED at 352. Hunk #10 FAILED at 545. Hunk #11 succeeded at 675 (offset 103 lines). Hunk #12 succeeded at 685 (offset 103 lines). Hunk #13 succeeded at 695 (offset 103 lines). Hunk #14 succeeded at 716 with fuzz 1 (offset 104 lines). 10 out of 14 hunks FAILED -- saving rejects to file check_nt.c.rej > Jessica, > > Sorry I missed that. The answer is however the same. Try editing > and/or recompiling your plugin as I suggest. > > Regards, > > Ben Clewett. > > > Jessica Holle wrote: > > Sorry, > > > > but my problem is nocht the check_load! For this I've found an > solution:-) > > > > My problem is the check_icmp plugin. > > > > or is this problem solved if I configure it again? > > > > regards jessica > > > > > > > >>Jessica, > >> > >>These are known bugs in the plugins which are causing lots of users > >>problems. > >> > >>I can suggest two solutions. > >> > >>1. Recompile the plugins using: > >> > >>./configure --disable-nls > >> > >>I have not tested this, but I believe this should work. > >> > >>2. After the 'textdomain' call at the start of the plugin source code, > >>add the line: > >> > >>setlocale(LC_NUMERIC, "POSIX"); > >> > >>Eg, with your problem plugin check_load. Edit plugins/check_load.c: > >> > >>-------------------check_load.c------------------- > >> > >>int > >>main (int argc, char **argv) > >>{ > >> int result = STATE_UNKNOWN; > >> > >>#if HAVE_GETLOADAVG==1 > >> double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains > >>about unitialized arrays */ > >>#else > >># if HAVE_PROC_LOADAVG==1 > >> FILE *fp; > >> char input_buffer[MAX_INPUT_BUFFER]; > >> char *tmp_ptr; > >># else > >> char input_buffer[MAX_INPUT_BUFFER]; > >># endif > >>#endif > >> > >> float la1, la5, la15; > >> > >> setlocale (LC_ALL, ""); > >> bindtextdomain (PACKAGE, LOCALEDIR); > >> textdomain (PACKAGE); > >> > >> setlocale(LC_NUMERIC, "POSIX"); <--- HERE!! > >> > >>-------------------check_load.c------------------- > >> > >>This should sort out your problems. Please let us know. > >> > >>Regards, > >> > >>Ben. > >> > >> > >> > >>Jessica Holle wrote: > >> > >>>Sorry, but I've forgotten another thing. > >>> > >>>First I tell you something, so it's better to understand I hope. > >>> > >>>I had problems with the check_load plugin: > >>> > >>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1.5,1.5,1.5 > >> > >>-c > >> > >>>4.0,2.0,2.0 > >>>Warning threshold must be float or float triplet! > >>> > >>>Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > >>> > >>> > >>>So I get this bad output, but I've found a solution: > >>> > >>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1,5:1,5:1,5 > >> > >>-c > >> > >>>4,0:2,0:2,0 > >>>OK - load average: 0,27, 0,30, > >>>0,29|load1=0,270000;1,500000;4,000000;0,000000 > >>>load5=0,300000;1,500000;2,000000;0,000000 > >>>load15=0,290000;1,500000;2,000000;0,000000 > >>> > >>> > >>>So I think there is a problem with , and . !!! > >>> > >>>Some days before the first "version" of my check_load numbers worked > but > >> > >>now > >> > >>>I do it with the second. > >>> > >>> > >>>And now to my right problem... > >>> > >>>It's about the values in my database: > >>> > >>>47020 | jholle | Ping | rta | 2005-02-28 15:51:39 > | > >> > >> > >> > >>>0 | 85 | 95 | 0 | > >>>| 47021 | jholle | Ping | pl | 2005-02-28 > 15:51:39 > >> > >>| > >> > >>> 0 | 40 | 80 | 0 | > >>> > >>> > >>>There are no values only a zero. > >>> > >>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle > >>>OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; > >>>pl=0%;40;80;; > >>> > >>> > >>>But here are values. When this value goes over 1 it is shown in > >> > >>database, > >> > >>>but only as a 1 not the float integers. > >>>I think this is because of the . ! I think it is like my first problem. > >>>there was a point which could not be interpreted and here is a point > >> > >>again. > >> > >>>I don't know but I think when there is a , and not a . the problem is > >>>solved... > >>> > >>>Can I think right ??? > >>> > >> > > > -- Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail |
From: Ben C. <bcl...@pe...> - 2005-03-01 13:49:17
|
Jessica, The fix I gave must work. Specifically the addition of this line in the correct place: setlocale(LC_NUMERIC, "POSIX"); This will convert the ',' to '.' and allow the plugin to work. I think you may need to start by downloading the very latest plugins from here: http://nagiosplug.sourceforge.net/snapshot/ Take the one containing the work 'HEAD'. Let me know, Ben Jessica Holle wrote: > Hi, > > I've tested the two things, but the problem is already the same. > > I can nithing find a place in the plugins where I should copy the one lin > you told. This is only in the check_load plugin. > > I think this problem is because of the point between the numbers there > should be a . !!! > > Another problem is the check_nt plugin... There are perfdata but no data is > written in the mysql database. > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_nt -H jholle -v > USEDDISKSPACE -l C -w 85 -c 95 > C:\ - total: 38,28 Gb - used: 3,72 Gb (10%) - free 34,56 Gb (90%) | 'C:\ > Used Space'=3,72Gb;32,54;36,36;0.00;38,28 > > here are perfdata, this data is written in the log but not in the > database... > > > I've found patches for some plugins on the perparse homepage... but they > doesn't work... > > nagios@rzvlabwks:~/nagios-plugins-1.4/plugins> patch check_nt.c > check_nt.c.patch > patching file check_nt.c > Hunk #1 FAILED at 2. > Hunk #2 FAILED at 81. > Hunk #3 FAILED at 140. > Hunk #4 FAILED at 164. > Hunk #5 FAILED at 202. > Hunk #6 FAILED at 223. > Hunk #7 FAILED at 255. > Hunk #8 FAILED at 291. > Hunk #9 FAILED at 352. > Hunk #10 FAILED at 545. > Hunk #11 succeeded at 675 (offset 103 lines). > Hunk #12 succeeded at 685 (offset 103 lines). > Hunk #13 succeeded at 695 (offset 103 lines). > Hunk #14 succeeded at 716 with fuzz 1 (offset 104 lines). > 10 out of 14 hunks FAILED -- saving rejects to file check_nt.c.rej > > > > > >>Jessica, >> >>Sorry I missed that. The answer is however the same. Try editing >>and/or recompiling your plugin as I suggest. >> >>Regards, >> >>Ben Clewett. >> >> >>Jessica Holle wrote: >> >>>Sorry, >>> >>>but my problem is nocht the check_load! For this I've found an >> >>solution:-) >> >>>My problem is the check_icmp plugin. >>> >>>or is this problem solved if I configure it again? >>> >>>regards jessica >>> >>> >>> >>> >>>>Jessica, >>>> >>>>These are known bugs in the plugins which are causing lots of users >>>>problems. >>>> >>>>I can suggest two solutions. >>>> >>>>1. Recompile the plugins using: >>>> >>>>./configure --disable-nls >>>> >>>>I have not tested this, but I believe this should work. >>>> >>>>2. After the 'textdomain' call at the start of the plugin source code, >>>>add the line: >>>> >>>>setlocale(LC_NUMERIC, "POSIX"); >>>> >>>>Eg, with your problem plugin check_load. Edit plugins/check_load.c: >>>> >>>>-------------------check_load.c------------------- >>>> >>>>int >>>>main (int argc, char **argv) >>>>{ >>>> int result = STATE_UNKNOWN; >>>> >>>>#if HAVE_GETLOADAVG==1 >>>> double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains >>>>about unitialized arrays */ >>>>#else >>>># if HAVE_PROC_LOADAVG==1 >>>> FILE *fp; >>>> char input_buffer[MAX_INPUT_BUFFER]; >>>> char *tmp_ptr; >>>># else >>>> char input_buffer[MAX_INPUT_BUFFER]; >>>># endif >>>>#endif >>>> >>>> float la1, la5, la15; >>>> >>>> setlocale (LC_ALL, ""); >>>> bindtextdomain (PACKAGE, LOCALEDIR); >>>> textdomain (PACKAGE); >>>> >>>> setlocale(LC_NUMERIC, "POSIX"); <--- HERE!! >>>> >>>>-------------------check_load.c------------------- >>>> >>>>This should sort out your problems. Please let us know. >>>> >>>>Regards, >>>> >>>>Ben. >>>> >>>> >>>> >>>>Jessica Holle wrote: >>>> >>>> >>>>>Sorry, but I've forgotten another thing. >>>>> >>>>>First I tell you something, so it's better to understand I hope. >>>>> >>>>>I had problems with the check_load plugin: >>>>> >>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1.5,1.5,1.5 >>>> >>>>-c >>>> >>>> >>>>>4.0,2.0,2.0 >>>>>Warning threshold must be float or float triplet! >>>>> >>>>>Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 >>>>> >>>>> >>>>>So I get this bad output, but I've found a solution: >>>>> >>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w 1,5:1,5:1,5 >>>> >>>>-c >>>> >>>> >>>>>4,0:2,0:2,0 >>>>>OK - load average: 0,27, 0,30, >>>>>0,29|load1=0,270000;1,500000;4,000000;0,000000 >>>>>load5=0,300000;1,500000;2,000000;0,000000 >>>>>load15=0,290000;1,500000;2,000000;0,000000 >>>>> >>>>> >>>>>So I think there is a problem with , and . !!! >>>>> >>>>>Some days before the first "version" of my check_load numbers worked >> >>but >> >>>>now >>>> >>>> >>>>>I do it with the second. >>>>> >>>>> >>>>>And now to my right problem... >>>>> >>>>>It's about the values in my database: >>>>> >>>>>47020 | jholle | Ping | rta | 2005-02-28 15:51:39 >> >>| >> >>>> >>>> >>>> >>>>>0 | 85 | 95 | 0 | >>>>>| 47021 | jholle | Ping | pl | 2005-02-28 >> >>15:51:39 >> >>>>| >>>> >>>> >>>>> 0 | 40 | 80 | 0 | >>>>> >>>>> >>>>>There are no values only a zero. >>>>> >>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle >>>>>OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; >>>>>pl=0%;40;80;; >>>>> >>>>> >>>>>But here are values. When this value goes over 1 it is shown in >>>> >>>>database, >>>> >>>> >>>>>but only as a 1 not the float integers. >>>>>I think this is because of the . ! I think it is like my first problem. >>>>>there was a point which could not be interpreted and here is a point >>>> >>>>again. >>>> >>>> >>>>>I don't know but I think when there is a , and not a . the problem is >>>>>solved... >>>>> >>>>>Can I think right ??? >>>>> >>>> > |
From: Jessica H. <Je...@gm...> - 2005-03-01 13:54:29
|
Hi, here is the output with this link you gice: nagios@rzvlabwks:~/nagios-plugins-HEAD-200503010547/plugins> patch check_icmp.c check_icmp.c.patch patching file check_icmp.c Hunk #1 FAILED at 657. 1 out of 1 hunk FAILED -- saving rejects to file check_icmp.c.rej it doesn't work... Where is the right place for this? setlocale(LC_NUMERIC, "POSIX"); can I write it where I want? Sorry for my noob qustions... > Jessica, > > The fix I gave must work. Specifically the addition of this line in the > correct place: > > setlocale(LC_NUMERIC, "POSIX"); > > This will convert the ',' to '.' and allow the plugin to work. > > I think you may need to start by downloading the very latest plugins > >from here: > > http://nagiosplug.sourceforge.net/snapshot/ > > Take the one containing the work 'HEAD'. > > Let me know, > > Ben > > > > > Jessica Holle wrote: > > Hi, > > > > I've tested the two things, but the problem is already the same. > > > > I can nithing find a place in the plugins where I should copy the one > lin > > you told. This is only in the check_load plugin. > > > > I think this problem is because of the point between the numbers there > > should be a . !!! > > > > Another problem is the check_nt plugin... There are perfdata but no data > is > > written in the mysql database. > > > > nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_nt -H jholle -v > > USEDDISKSPACE -l C -w 85 -c 95 > > C:\ - total: 38,28 Gb - used: 3,72 Gb (10%) - free 34,56 Gb (90%) | 'C:\ > > Used Space'=3,72Gb;32,54;36,36;0.00;38,28 > > > > here are perfdata, this data is written in the log but not in the > > database... > > > > > > I've found patches for some plugins on the perparse homepage... but they > > doesn't work... > > > > nagios@rzvlabwks:~/nagios-plugins-1.4/plugins> patch check_nt.c > > check_nt.c.patch > > patching file check_nt.c > > Hunk #1 FAILED at 2. > > Hunk #2 FAILED at 81. > > Hunk #3 FAILED at 140. > > Hunk #4 FAILED at 164. > > Hunk #5 FAILED at 202. > > Hunk #6 FAILED at 223. > > Hunk #7 FAILED at 255. > > Hunk #8 FAILED at 291. > > Hunk #9 FAILED at 352. > > Hunk #10 FAILED at 545. > > Hunk #11 succeeded at 675 (offset 103 lines). > > Hunk #12 succeeded at 685 (offset 103 lines). > > Hunk #13 succeeded at 695 (offset 103 lines). > > Hunk #14 succeeded at 716 with fuzz 1 (offset 104 lines). > > 10 out of 14 hunks FAILED -- saving rejects to file check_nt.c.rej > > > > > > > > > > > >>Jessica, > >> > >>Sorry I missed that. The answer is however the same. Try editing > >>and/or recompiling your plugin as I suggest. > >> > >>Regards, > >> > >>Ben Clewett. > >> > >> > >>Jessica Holle wrote: > >> > >>>Sorry, > >>> > >>>but my problem is nocht the check_load! For this I've found an > >> > >>solution:-) > >> > >>>My problem is the check_icmp plugin. > >>> > >>>or is this problem solved if I configure it again? > >>> > >>>regards jessica > >>> > >>> > >>> > >>> > >>>>Jessica, > >>>> > >>>>These are known bugs in the plugins which are causing lots of users > >>>>problems. > >>>> > >>>>I can suggest two solutions. > >>>> > >>>>1. Recompile the plugins using: > >>>> > >>>>./configure --disable-nls > >>>> > >>>>I have not tested this, but I believe this should work. > >>>> > >>>>2. After the 'textdomain' call at the start of the plugin source code, > >>>>add the line: > >>>> > >>>>setlocale(LC_NUMERIC, "POSIX"); > >>>> > >>>>Eg, with your problem plugin check_load. Edit plugins/check_load.c: > >>>> > >>>>-------------------check_load.c------------------- > >>>> > >>>>int > >>>>main (int argc, char **argv) > >>>>{ > >>>> int result = STATE_UNKNOWN; > >>>> > >>>>#if HAVE_GETLOADAVG==1 > >>>> double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains > >>>>about unitialized arrays */ > >>>>#else > >>>># if HAVE_PROC_LOADAVG==1 > >>>> FILE *fp; > >>>> char input_buffer[MAX_INPUT_BUFFER]; > >>>> char *tmp_ptr; > >>>># else > >>>> char input_buffer[MAX_INPUT_BUFFER]; > >>>># endif > >>>>#endif > >>>> > >>>> float la1, la5, la15; > >>>> > >>>> setlocale (LC_ALL, ""); > >>>> bindtextdomain (PACKAGE, LOCALEDIR); > >>>> textdomain (PACKAGE); > >>>> > >>>> setlocale(LC_NUMERIC, "POSIX"); <--- HERE!! > >>>> > >>>>-------------------check_load.c------------------- > >>>> > >>>>This should sort out your problems. Please let us know. > >>>> > >>>>Regards, > >>>> > >>>>Ben. > >>>> > >>>> > >>>> > >>>>Jessica Holle wrote: > >>>> > >>>> > >>>>>Sorry, but I've forgotten another thing. > >>>>> > >>>>>First I tell you something, so it's better to understand I hope. > >>>>> > >>>>>I had problems with the check_load plugin: > >>>>> > >>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w > 1.5,1.5,1.5 > >>>> > >>>>-c > >>>> > >>>> > >>>>>4.0,2.0,2.0 > >>>>>Warning threshold must be float or float triplet! > >>>>> > >>>>>Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > >>>>> > >>>>> > >>>>>So I get this bad output, but I've found a solution: > >>>>> > >>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w > 1,5:1,5:1,5 > >>>> > >>>>-c > >>>> > >>>> > >>>>>4,0:2,0:2,0 > >>>>>OK - load average: 0,27, 0,30, > >>>>>0,29|load1=0,270000;1,500000;4,000000;0,000000 > >>>>>load5=0,300000;1,500000;2,000000;0,000000 > >>>>>load15=0,290000;1,500000;2,000000;0,000000 > >>>>> > >>>>> > >>>>>So I think there is a problem with , and . !!! > >>>>> > >>>>>Some days before the first "version" of my check_load numbers worked > >> > >>but > >> > >>>>now > >>>> > >>>> > >>>>>I do it with the second. > >>>>> > >>>>> > >>>>>And now to my right problem... > >>>>> > >>>>>It's about the values in my database: > >>>>> > >>>>>47020 | jholle | Ping | rta | 2005-02-28 > 15:51:39 > >> > >>| > >> > >>>> > >>>> > >>>> > >>>>>0 | 85 | 95 | 0 | > >>>>>| 47021 | jholle | Ping | pl | 2005-02-28 > >> > >>15:51:39 > >> > >>>>| > >>>> > >>>> > >>>>> 0 | 40 | 80 | 0 | > >>>>> > >>>>> > >>>>>There are no values only a zero. > >>>>> > >>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle > >>>>>OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; > >>>>>pl=0%;40;80;; > >>>>> > >>>>> > >>>>>But here are values. When this value goes over 1 it is shown in > >>>> > >>>>database, > >>>> > >>>> > >>>>>but only as a 1 not the float integers. > >>>>>I think this is because of the . ! I think it is like my first > problem. > >>>>>there was a point which could not be interpreted and here is a point > >>>> > >>>>again. > >>>> > >>>> > >>>>>I don't know but I think when there is a , and not a . the problem is > >>>>>solved... > >>>>> > >>>>>Can I think right ??? > >>>>> > >>>> > > > -- DSL Komplett von GMX +++ Supergünstig und stressfrei einsteigen! AKTION "Kein Einrichtungspreis" nutzen: http://www.gmx.net/de/go/dsl |
From: Ben C. <bcl...@pe...> - 2005-03-01 14:07:58
|
Jessica Holle wrote: > Hi, > > here is the output with this link you gice: > > > nagios@rzvlabwks:~/nagios-plugins-HEAD-200503010547/plugins> patch > check_icmp.c check_icmp.c.patch > patching file check_icmp.c > Hunk #1 FAILED at 657. > 1 out of 1 hunk FAILED -- saving rejects to file check_icmp.c.rej > > it doesn't work... You will have to report this to the author of this patch. Can you tell me where you got it from? The correct place for the line I gave you is after the textdomain line. But I see this was for the file check_load. I can see you confusion since this does not exist in check_icmp. :) This may still work. Try adding this after line 347, which will now read: icmp_sockerrno = udp_sockerrno = tcp_sockerrno = sockets = 0; setlocale(LC_NUMERIC, "POSIX"); This should result in all ',' becoming '.'. Both in input and output. I do very much hope this is your problem fixed. Ben. > > > Where is the right place for this? > > setlocale(LC_NUMERIC, "POSIX"); > > can I write it where I want? Sorry for my noob qustions... > > > >>Jessica, >> >>The fix I gave must work. Specifically the addition of this line in the >>correct place: >> >>setlocale(LC_NUMERIC, "POSIX"); >> >>This will convert the ',' to '.' and allow the plugin to work. >> >>I think you may need to start by downloading the very latest plugins >>>from here: >> >>http://nagiosplug.sourceforge.net/snapshot/ >> >>Take the one containing the work 'HEAD'. >> >>Let me know, >> >>Ben >> >> >> >> >>Jessica Holle wrote: >> >>>Hi, >>> >>>I've tested the two things, but the problem is already the same. >>> >>>I can nithing find a place in the plugins where I should copy the one >> >>lin >> >>>you told. This is only in the check_load plugin. >>> >>>I think this problem is because of the point between the numbers there >>>should be a . !!! >>> >>>Another problem is the check_nt plugin... There are perfdata but no data >> >>is >> >>>written in the mysql database. >>> >>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_nt -H jholle -v >>>USEDDISKSPACE -l C -w 85 -c 95 >>>C:\ - total: 38,28 Gb - used: 3,72 Gb (10%) - free 34,56 Gb (90%) | 'C:\ >>>Used Space'=3,72Gb;32,54;36,36;0.00;38,28 >>> >>>here are perfdata, this data is written in the log but not in the >>>database... >>> >>> >>>I've found patches for some plugins on the perparse homepage... but they >>>doesn't work... >>> >>>nagios@rzvlabwks:~/nagios-plugins-1.4/plugins> patch check_nt.c >>>check_nt.c.patch >>>patching file check_nt.c >>>Hunk #1 FAILED at 2. >>>Hunk #2 FAILED at 81. >>>Hunk #3 FAILED at 140. >>>Hunk #4 FAILED at 164. >>>Hunk #5 FAILED at 202. >>>Hunk #6 FAILED at 223. >>>Hunk #7 FAILED at 255. >>>Hunk #8 FAILED at 291. >>>Hunk #9 FAILED at 352. >>>Hunk #10 FAILED at 545. >>>Hunk #11 succeeded at 675 (offset 103 lines). >>>Hunk #12 succeeded at 685 (offset 103 lines). >>>Hunk #13 succeeded at 695 (offset 103 lines). >>>Hunk #14 succeeded at 716 with fuzz 1 (offset 104 lines). >>>10 out of 14 hunks FAILED -- saving rejects to file check_nt.c.rej >>> >>> >>> >>> >>> >>> >>>>Jessica, >>>> >>>>Sorry I missed that. The answer is however the same. Try editing >>>>and/or recompiling your plugin as I suggest. >>>> >>>>Regards, >>>> >>>>Ben Clewett. >>>> >>>> >>>>Jessica Holle wrote: >>>> >>>> >>>>>Sorry, >>>>> >>>>>but my problem is nocht the check_load! For this I've found an >>>> >>>>solution:-) >>>> >>>> >>>>>My problem is the check_icmp plugin. >>>>> >>>>>or is this problem solved if I configure it again? >>>>> >>>>>regards jessica >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Jessica, >>>>>> >>>>>>These are known bugs in the plugins which are causing lots of users >>>>>>problems. >>>>>> >>>>>>I can suggest two solutions. >>>>>> >>>>>>1. Recompile the plugins using: >>>>>> >>>>>>./configure --disable-nls >>>>>> >>>>>>I have not tested this, but I believe this should work. >>>>>> >>>>>>2. After the 'textdomain' call at the start of the plugin source code, >>>>>>add the line: >>>>>> >>>>>>setlocale(LC_NUMERIC, "POSIX"); >>>>>> >>>>>>Eg, with your problem plugin check_load. Edit plugins/check_load.c: >>>>>> >>>>>>-------------------check_load.c------------------- >>>>>> >>>>>>int >>>>>>main (int argc, char **argv) >>>>>>{ >>>>>> int result = STATE_UNKNOWN; >>>>>> >>>>>>#if HAVE_GETLOADAVG==1 >>>>>> double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains >>>>>>about unitialized arrays */ >>>>>>#else >>>>>># if HAVE_PROC_LOADAVG==1 >>>>>> FILE *fp; >>>>>> char input_buffer[MAX_INPUT_BUFFER]; >>>>>> char *tmp_ptr; >>>>>># else >>>>>> char input_buffer[MAX_INPUT_BUFFER]; >>>>>># endif >>>>>>#endif >>>>>> >>>>>> float la1, la5, la15; >>>>>> >>>>>> setlocale (LC_ALL, ""); >>>>>> bindtextdomain (PACKAGE, LOCALEDIR); >>>>>> textdomain (PACKAGE); >>>>>> >>>>>> setlocale(LC_NUMERIC, "POSIX"); <--- HERE!! >>>>>> >>>>>>-------------------check_load.c------------------- >>>>>> >>>>>>This should sort out your problems. Please let us know. >>>>>> >>>>>>Regards, >>>>>> >>>>>>Ben. >>>>>> >>>>>> >>>>>> >>>>>>Jessica Holle wrote: >>>>>> >>>>>> >>>>>> >>>>>>>Sorry, but I've forgotten another thing. >>>>>>> >>>>>>>First I tell you something, so it's better to understand I hope. >>>>>>> >>>>>>>I had problems with the check_load plugin: >>>>>>> >>>>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w >> >>1.5,1.5,1.5 >> >>>>>>-c >>>>>> >>>>>> >>>>>> >>>>>>>4.0,2.0,2.0 >>>>>>>Warning threshold must be float or float triplet! >>>>>>> >>>>>>>Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 >>>>>>> >>>>>>> >>>>>>>So I get this bad output, but I've found a solution: >>>>>>> >>>>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_load -w >> >>1,5:1,5:1,5 >> >>>>>>-c >>>>>> >>>>>> >>>>>> >>>>>>>4,0:2,0:2,0 >>>>>>>OK - load average: 0,27, 0,30, >>>>>>>0,29|load1=0,270000;1,500000;4,000000;0,000000 >>>>>>>load5=0,300000;1,500000;2,000000;0,000000 >>>>>>>load15=0,290000;1,500000;2,000000;0,000000 >>>>>>> >>>>>>> >>>>>>>So I think there is a problem with , and . !!! >>>>>>> >>>>>>>Some days before the first "version" of my check_load numbers worked >>>> >>>>but >>>> >>>> >>>>>>now >>>>>> >>>>>> >>>>>> >>>>>>>I do it with the second. >>>>>>> >>>>>>> >>>>>>>And now to my right problem... >>>>>>> >>>>>>>It's about the values in my database: >>>>>>> >>>>>>>47020 | jholle | Ping | rta | 2005-02-28 >> >>15:51:39 >> >>>>| >>>> >>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>0 | 85 | 95 | 0 | >>>>>>>| 47021 | jholle | Ping | pl | 2005-02-28 >>>> >>>>15:51:39 >>>> >>>> >>>>>>| >>>>>> >>>>>> >>>>>> >>>>>>>0 | 40 | 80 | 0 | >>>>>>> >>>>>>> >>>>>>>There are no values only a zero. >>>>>>> >>>>>>>nagios@rzvlabwks:/usr/local/nagios/libexec> ./check_icmp -H jholle >>>>>>>OK - jholle: rta 0.224ms, lost 0%|rta=0.224ms;200.000;500.000;0; >>>>>>>pl=0%;40;80;; >>>>>>> >>>>>>> >>>>>>>But here are values. When this value goes over 1 it is shown in >>>>>> >>>>>>database, >>>>>> >>>>>> >>>>>> >>>>>>>but only as a 1 not the float integers. >>>>>>>I think this is because of the . ! I think it is like my first >> >>problem. >> >>>>>>>there was a point which could not be interpreted and here is a point >>>>>> >>>>>>again. >>>>>> >>>>>> >>>>>> >>>>>>>I don't know but I think when there is a , and not a . the problem is >>>>>>>solved... >>>>>>> >>>>>>>Can I think right ??? >>>>>>> >>>>>> > |
From: Andreas E. <ae...@op...> - 2005-03-01 08:46:40
|
Ben Clewett wrote: > Jessica, > > These are known bugs in the plugins which are causing lots of users > problems. > > I can suggest two solutions. > > 1. Recompile the plugins using: > > ./configure --disable-nls > > I have not tested this, but I believe this should work. > It won't. It won't reset the textdomain of the apps it's running, only disable international output capabilities of the plugin she's running. > 2. After the 'textdomain' call at the start of the plugin source code, > add the line: > > setlocale(LC_NUMERIC, "POSIX"); > This will work, or LC_ALL=POSIX nagios nagios.cfg -d when starting nagios (although that would defeat localisation of plugins). -- Andreas Ericsson and...@op... OP5 AB www.op5.se Lead Developer |
From: Ben C. <bcl...@pe...> - 2005-03-01 08:17:12
|
Jessica, The current graph program can only produce a line graph. This is because the graph is designed for overlaying many lines, which would not show well using an area. The use of a background area is reserved for showing the warning and critical value, which truly describe an area. The graph can only show what the plugin passes to it. If you want to show the total used, you will have to edit the plugin source code. I will keep your ideas in mind for later versions of the product. Regards, Ben. Jessica Holle wrote: > Hi, > > I've googled already but I can't find anything about my question... > > Can I change the looking of the graphs? > When I graph the data of an disk it is always shown the total sum, but not > the used. > I like it more when the total space is shown in an area and the used is > shown in an area too... But there is only one graph. > > Somethimes I like it more when there is not a line but an area. > > Can I change this things? > > Another question is, if anybody knows a check_traffic plugin which works > with perdata, so that I can graph this too... > |