2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
* util/pandora_snmp.sh: added first and weird version of tool to generate a lot of traps snmp for Pandora. Needs to improve. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
00cccd4943
commit
b9641a0ad1
|
@ -1,3 +1,8 @@
|
|||
2013-08-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* util/pandora_snmp.sh: added first and weird version of tool to
|
||||
generate a lot of traps snmp for Pandora. Needs to improve.
|
||||
|
||||
2013-08-01 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Changed the name of the self-monitoring XML
|
||||
|
|
|
@ -170,6 +170,9 @@ sub exec_prediction_module ($$$$) {
|
|||
enterprise_hook ('exec_service_module_sla', [$pa_config, $agent_module, $server_id, $dbh]);
|
||||
logger ($pa_config, "End execution", 5);
|
||||
}
|
||||
elsif ($agent_module->{'custom_string_1'} eq 'SLA_Value') {
|
||||
#Do none
|
||||
}
|
||||
else {
|
||||
logger ($pa_config, "Executing service module " .
|
||||
$agent_module->{'id_agente_modulo'} . " " .
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
TARGET=127.0.0.1
|
||||
while [ 1 ]
|
||||
do
|
||||
snmptrap -v 1 -c public $TARGET .1.3.6.1.4.1.2789.2005 192.168.5.2 6 "$RANDOM" 1233433 .1.3.6.1.4.1.2789.2005.1 s "$RANDOM"
|
||||
done
|
Loading…
Reference in New Issue