|
From: Alejandro G. <ag...@sy...> - 2010-08-12 12:22:28
|
Hello, > but neither > > $OPENNMS_HOME/bin/send-event.pl --service threshd uei.opennms.org/internal/reloadDaemonConfig > > nor > > $OPENNMS_HOME/bin/send-event.pl uei.opennms.org/internal/reloadDaemonConfig localhost threshd That is because you need to specify a parameter called "daemonName" with the service you are interested to reload their configuration. For thresholding, there are two options: 1. If you want to reload the configuration for thresholds (i.e., to reload thresholds.xml), you should send: $OPENNMS_HOME/bin/send-event.pl -p 'daemonName Threshd' uei.opennms.org/internal/reloadDaemonConfig that is the short way to this: $OPENNMS_HOME/bin/send-event.pl -p 'daemonName Threshd' -p 'configFile thresholds.xml' uei.opennms.org/internal/reloadDaemonConfig 2. If you want to reload the configuration for threshold packages (i.e., to reload threshd-configuration.xml), you should send: $OPENNMS_HOME/bin/send-event.pl -p 'daemonName Threshd' -p 'configFile threshd-configuration.xml' uei.opennms.org/internal/reloadDaemonConfig Other daemons require only the daemonName parameter. Hope that help. Alejandro. |