Hello Lene,
As you seem to have the correct AlertProfiles profile set up, I'm going to skip that for now.
Okay, I'm gonna start in the "obvious" direction to make sure things are working right. Are you sure that your Gammu is actually capable to send SMS messages? First of all, "gammu searchphone" should show you something similar to:
Connection "at19200" on device "/dev/ttyS0" Manufacturer : Siemens Model : unknown (MC35i)
You also might have to authenticate your SIMcard by using the proper PIN key commands. To ensure you're actually able to send messages, you can try "echo This is a test message |gammu -sendsms TEXT XXXXXXXX" from your UNIX command shell, where X is your private cell. If this seems to be the issue, I would assume that you're having a problem with exim (the maildaemon backend) as well. Check the respective exim4 logs and see if your MTA is able to chip your emails away. I don't think exim4 is set up to send "remote" emails by default.
So if this is not the issue either, I'd suggest you editing your nav.conf to enable debug logging on all daemons (see the examples), and start tailing eventengine.log and alertdaemon.log for possible errors after you've restarted NAV. Also make sure your <daemon name>.err.log files does not contain too much clutter, as this is generally a bad sign (any clutter at all is a bad sign actually..) I'd suggest you mail/reply to the list with the results and I'm sure someone can help you further :)
Hope this helps :)
------------------------------------------------------ Vidar Stokkenes Networking Consulant Dep. for networking og telecommunications HN IKT - Tromsø
Tlf: 76 16 61 87 / 77 66 99 55 Cell: 95 87 99 42 e-mail: vidar.stokkenes@hn-ikt.no
Before printing, think about the environment
-----Opprinnelig melding----- Fra: lene.myhre@item.ntnu.no [mailto:lene.myhre@item.ntnu.no] Sendt: 3. november 2008 15:54 Til: nav-users@uninett.no Emne: Alert profiles
I can't get NAV to send alerts when IP devices is down, neither e-mail nor sms alert. I have added G01: All alerts for the profile, I am allowed to receive SMS in my account. Gammu is also installed. What am I doing wrong? I also tried adding my own filter group with different filter alerts, but nothing worked.
Regards, Lene Maria Myhre Wireless Trondheim