From d2f0ad9646db5e5f50e73f8ad01622ff3cd72996 Mon Sep 17 00:00:00 2001 From: slerena Date: Tue, 9 Oct 2007 14:46:43 +0000 Subject: [PATCH] 2007-10-09 Sancho Lerena * pandora_snmpconfole: Fixed parameter for snmptrapd call (%a instead %B). This was causing problems (do not detect IP Address) on Redhat systems. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 5 +++++ pandora_server/pandora_snmpconsole | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 6064925771..11649d6417 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,8 @@ +2007-10-09 Sancho Lerena + + * pandora_snmpconfole: Fixed parameter for snmptrapd call (%a instead %B). This + was causing problems (do not detect IP Address) on Redhat systems. + 2007-10-08 Sancho Lerena * lib/PandoraFMS/Config.pm: Updated build number. diff --git a/pandora_server/pandora_snmpconsole b/pandora_server/pandora_snmpconsole index f979240aee..994d510924 100755 --- a/pandora_server/pandora_snmpconsole +++ b/pandora_server/pandora_snmpconsole @@ -19,7 +19,7 @@ DAEMON_PATH=/usr/sbin/snmptrapd # Dont touch this call unless you know are doing. For different versions of NetSNMP Trap daemon, it's possible you need to change some options # Please refer NetSNMP documentation in that case. -DAEMON_OPTIONS="-t -On -n -a -Lf $DAEMON_LOG -p $DAEMON_PID -F %4y-%02.2m-%l[**]%02.2h:%02.2j:%02.2k[**]%B[**]%N[**]%w[**]%W[**]%q[**]%v\n" +DAEMON_OPTIONS="-t -On -n -a -Lf $DAEMON_LOG -p $DAEMON_PID -F %4y-%02.2m-%l[**]%02.2h:%02.2j:%02.2k[**]%a[**]%N[**]%w[**]%W[**]%q[**]%v\n" DAEMON="$DAEMON_PATH $DAEMON_OPTIONS" if [ ! -d "$PANDORA_PID_PATH" ]