Welcome to Pandora FMS Community › Forums › Community support › A bug in console Text string module data displaying?
-
A bug in console Text string module data displaying?
Posted by daggett on December 15, 2006 at 17:02Hi,
I monitor a few things with text strings (in prevision to the next version supporting alerts on text strings) and when clicking View Agents>Agent Details>Day Icon of a string text module, it displays only 12 characters, i.e. for syslog last line module:
“Dec 15 12:39:01 localhost crond” is displayed on the agent page but when I click on the Day or Week or Month icon, it just displays 12 characters “Dec 15 12:39:01” so anyway I can’t read the entire last syslog line…
Is this normal?thanks
bye for nowdaggett replied 18 years, 2 months ago 2 Members · 2 Replies -
2 Replies
-
::
Hi,
I monitor a few things with text strings (in prevision to the next version supporting alerts on text strings) and when clicking View Agents>Agent Details>Day Icon of a string text module, it displays only 12 characters, i.e. for syslog last line module:
“Dec 15 12:39:01 localhost crond” is displayed on the agent page but when I click on the Day or Week or Month icon, it just displays 12 characters “Dec 15 12:39:01” so anyway I can’t read the entire last syslog line…
Is this normal?thanks
bye for nowI think so… At the page operationagentesdatos_agente.php, in the lines
111 and 113 you can see:
[code:1]
line 110: } else
line 111: echo substr($myvalue,0,12);
line 112: } else
line 113: echo substr($row[“datos”],0,12);So, the change is easy, change 12 for number you want or avoid the substr function:
echo $myvalue;
echo $row[“datos”];I think we should change that…
Raul
-