notifications daily/nightly

Alexander Marx <[email protected]> Tue, 19 May 2015 10:08:30 +0200
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
Dear List.

I am setting up an opennms system to monitor some of our servers.
actually the mail notification works.

Now i want to activate the sms notification as well.

Server is an ubuntu 14.04 with gammu-smsd installed. From commandline
the sms message can be sent successfully.
We are using an Huawei UMTS Stick on /dev/ttyUSB0

Now i try to implement this into opennms.

i added these lines to /etc/opennms/notificationCommands.xml:


<command binary="true">

      <name>smsgw</name>

      <execute>/usr/bin/gammu --sendsms</execute>

      <comment>Class for sending GSM SMS notifications</comment>

      <argument streamed="false">

        <switch>-mphone</switch>

      </argument>

      <argument streamed="false">

        <switch>-tm</switch>

      </argument>

    </command>

Also i added a path for using the sms messages.

When testing, there are no sms sent.  All Servers are minitored using
SNMP and when a harddisk is over 80%, a mail is sent.

Problem seems to be, that the notification "HighThreshold" is bound to
the notification path "E-Mail".

Is there a way to define, that emails should be sent during office hours
and at all other times there should be sms alarms?

How can i do this?

Thank you

Alex

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install