|query_ifSpeed| in --upper-limit for graph template
Moderators: Developers, Moderators
|query_ifSpeed| in --upper-limit for graph template
Should be fixed here: http://bugs.cacti.net/view.php?id=1030
But when i'm trying to add |query_ifSpeed| in --upper-limit for graph template i get the following error message:
Error: Save Failed: Field Input Error (Check Red Fields).
Using Cacti version 0.8.8a
But when i'm trying to add |query_ifSpeed| in --upper-limit for graph template i get the following error message:
Error: Save Failed: Field Input Error (Check Red Fields).
Using Cacti version 0.8.8a
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: |query_ifSpeed| in --upper-limit for graph template
Please reopen bug or create a new one which refers to the old
R.
R.
Re: |query_ifSpeed| in --upper-limit for graph template
Hi,
this Bug has beend marked as resolved in 08/2012 but doesn't seem to be included in 0.8.8b
When will 0.8.9 come out or is there a chance to get this bug fix itself somehow ?
Regards
Frank
this Bug has beend marked as resolved in 08/2012 but doesn't seem to be included in 0.8.8b
When will 0.8.9 come out or is there a chance to get this bug fix itself somehow ?
Regards
Frank
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: |query_ifSpeed| in --upper-limit for graph template
Please edit graph_templates.php and replace line 104-107 by
Please respond with your findings
R.
Code: Select all
$save2["t_upper_limit"] = form_input_validate((isset($_POST["t_upper_limit"]) ? $_POST["t_upper_limit"] : ""), "t_upper_limit", "", true, 3);
$save2["upper_limit"] = form_input_validate((isset($_POST["upper_limit"]) ? $_POST["upper_limit"] : ""), "upper_limit", "", ((isset($_POST["t_upper_limit"]) || (strlen($_POST["upper_limit"]) === 0)) ? true : false), 3);
$save2["t_lower_limit"] = form_input_validate((isset($_POST["t_lower_limit"]) ? $_POST["t_lower_limit"] : ""), "t_lower_limit", "", true, 3);
$save2["lower_limit"] = form_input_validate((isset($_POST["lower_limit"]) ? $_POST["lower_limit"] : ""), "lower_limit", "", ((isset($_POST["t_lower_limit"]) || (strlen($_POST["lower_limit"]) === 0)) ? true : false), 3);
R.
Re: |query_ifSpeed| in --upper-limit for graph template
Hi,
i changed graph_templates.php according to your advice.
i still get the error message "Error: Save Failed: Field Input Error (Check Red Fields)." with the fields
Data Source Item Fields [traffic_in]
Maximum Value ('U' for No Maximum)
The maximum value of data that is allowed to be collected.
and
Data Source Item Fields [traffic_out]
Maximum Value ('U' for No Maximum)
The maximum value of data that is allowed to be collected.
marked red.
these 2 fields are already filled with "|query_ifSpeed|" .
the error show up, when i try to change any other Field.
As you can see in the attached Pic, i tried to change the Name field.
Regards
Frank
p.s. sorry for the late response!
i changed graph_templates.php according to your advice.
i still get the error message "Error: Save Failed: Field Input Error (Check Red Fields)." with the fields
Data Source Item Fields [traffic_in]
Maximum Value ('U' for No Maximum)
The maximum value of data that is allowed to be collected.
and
Data Source Item Fields [traffic_out]
Maximum Value ('U' for No Maximum)
The maximum value of data that is allowed to be collected.
marked red.
these 2 fields are already filled with "|query_ifSpeed|" .
the error show up, when i try to change any other Field.
As you can see in the attached Pic, i tried to change the Name field.
Regards
Frank
p.s. sorry for the late response!
- Attachments
-
- error.jpg (91.83 KiB) Viewed 4117 times
Re: |query_ifSpeed| in --upper-limit for graph template
Hi,
I did the exact same changes, for the same problem, and it doesn't work either.
Would there be any update on this issue ?
Thanks,
Simon
I did the exact same changes, for the same problem, and it doesn't work either.
Would there be any update on this issue ?
Thanks,
Simon
Re: |query_ifSpeed| in --upper-limit for graph template
I did it and it was accepted, but the graphs are showing with the maximum set to 1.
- Attachments
-
- graph_image.png (8.22 KiB) Viewed 3134 times
Re: |query_ifSpeed| in --upper-limit for graph template
ifSpeed is reported correctly though.
- Attachments
-
- Capturar.PNG (36.23 KiB) Viewed 3132 times
Who is online
Users browsing this forum: No registered users and 2 guests