Commit Graph

3 Commits

Author SHA1 Message Date
alexhigh 7a13c8018a 2014-05-28 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_snmp.php: Improved the security
	on the function "snmp_generate_trap" by escaping the
	command arguments.
	
	* include/functions_snmp_browser.php: Improved the
	Windows compatibility of some commands.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-28 15:53:03 +00:00
mdtrooper 2d7ccc0c15 2013-06-13 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_snmp.php: changed the PHP function to execute
	command and now get the error string or return true if it runs fine.
	
	* godmode/snmpconsole/snmp_trap_generator.php: show the error when
	fail to call snmptrap, and show error when occurs.
	
	Fixes: #2270
	
	MERGED FROM THE BRANCH PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-06-13 14:27:18 +00:00
zarzuelo 0ad0450849 2011-06-29 Sergio Martin <sergio.martin@artica.es>
* include/help/en/help_snmp_trap_types.php
	include/help/es/help_snmp_trap_types.php
	include/functions_snmp.php
	operation/snmpconsole/snmp_view.php: Added snmp trap generator
	in the snmpview



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4499 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-29 10:38:07 +00:00