2011-01-07 Sancho Lerena <slerena@artica.es>
* util/pandora_xml_stress.pl: There is no reason why proc modules cannot be redefined to operate with min/max. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
63b15d13db
commit
e46c9e0d2d
|
@ -1,3 +1,8 @@
|
|||
2011-01-07 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* util/pandora_xml_stress.pl: There is no reason why proc modules
|
||||
cannot be redefined to operate with min/max
|
||||
|
||||
2010-12-27 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/Core.pm: Removed calls to
|
||||
|
|
|
@ -195,7 +195,7 @@ sub generate_random_data ($$$$$) {
|
|||
|
||||
# Proc
|
||||
if ($module_type =~ m/proc/) {
|
||||
return int rand (2);
|
||||
return int (rand ($max - $min + 1) + $min);
|
||||
}
|
||||
|
||||
# Generic data
|
||||
|
|
Loading…
Reference in New Issue