Pandora FMS community forums
add IP search to main search - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: Suggestions and new feature request (http://pandorafms.org/forum/forum-12.html)
+--- Thread: add IP search to main search (/thread-6999.html)



add IP search to main search - helplakmal - 03-19-2013

hi,
in pandorafms 4.0.3 and pandorafms5 both versions main search cannot use for ip searching. but with simple modification we can use it for ip searching also.
this modification is for /var/www/pandora_console/operation/search_agents.php file.

Code:
[email protected]:/var/www/pandora_console/operation# diff search_agents.php.18032013 search_agents.php
115a116,117
>       // Adding an optional searching criteria by the IP Address
>       $extra_sql = "t1.direccion COLLATE utf8_general_ci LIKE '%%" . $stringSearchSQL . "%%' OR";
146a149
>                                               " . $extra_sql . "

----thank you Mr supun, for showing me this modifications----


Re: add IP search to main search - IsaacSofy - 06-01-2013

That would really be a great additional feature.It would be great if it gets added.
discount ink


Re: add IP search to main search - miguel - 06-27-2013

Hi.

Thanks, I have made the change in the code with your patch.

Regards.