I'm having problem to send an email to an user when triggers occur.

The alarm is showed in the panel, but no email is send.

mysql> select * from triggers;
+----+-------------------------+-------+
| id | description             | type  |
+----+-------------------------+-------+
|  1 | No Trigger              | alarm |
|  2 | Interface Status Change | alarm |
|  3 | Trigger Test            | alarm |
+----+-------------------------+-------+
3 rows in set (0.00 sec)

mysql> select * from triggers_rules;
+----+------------+-----+----------------+----------+----------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+--------+
| id | trigger_id | pos | field          | operator | value    | action_id
|
action_parameters
| stop | and_or |
+----+------------+-----+----------------+----------+----------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+--------+
|  1 |          1 |  10 | none           | =        |          |         1
|
|    1 |      1 |
|  2 |          2 |  10 | type           | IN       | 12,25,38 |         2
| from:,subject:<interface-client_shortname> <interface-interface>
<interface-description> <alarm-type_description>
<alarm-state_description>,comment:Default Trigger                 |    0
|      1 |
|  3 |          3 |  10 | interface_host | =        | 4        |         2
| from:[email protected],subject:<interface-client_shortname>
<interface-interface> <interface-description> <alarm-type_description>
<alarm-state_description>,comment:Trigger Test |    0 |      1 |
+----+------------+-----+----------------+----------+----------+-----------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+--------+
3 rows in set (0.02 sec)

mysql> select * from triggers_users;
+----+---------+------------+--------+
| id | user_id | trigger_id | active |
+----+---------+------------+--------+
|  1 |       1 |          1 |      0 |
|  2 |       3 |          3 |      1 |
|  3 |       2 |          2 |      1 |
+----+---------+------------+--------+
3 rows in set (0.00 sec)

mysql> select * from hosts;
+----+-----------+---------------+----------+-------------+-------------+------+------+---------------+-------------+--------------------------------+-----------+------+------+------+-----------+------+---------------+-------------------+----------------+----------------+---------------+---------+-------------+
| id | ip_tacacs | ip            | name     | rocommunity | rwcommunity |
zone | tftp | autodiscovery | config_type | autodiscovery_default_customer
| satellite | dmii | lat  | lon  | show_host | poll | creation_date |
modification_date | last_poll_date | last_poll_time | poll_interval |
dmii_up | sysobjectid |
+----+-----------+---------------+----------+-------------+-------------+------+------+---------------+-------------+--------------------------------+-----------+------+------+------+-----------+------+---------------+-------------------+----------------+----------------+---------------+---------+-------------+
|  1 |           |               | Unknown  |             |
|    1 |      |             1 |           1 |
1 |         1 | 1    | 0.00 | 0.00 |         1 |    1 |             0
|                 0 |     1232673711 |              0 |           300
|       1 | NULL        |
|  4 |           | 192.168.100.1 | Firewall | v1:public   |
|    2 |      |             1 |           1 |
2 |         1 | 1    | 0.00 | 0.00 |         1 |    1 |             0
|        1325361316 |     1325509359 |              0 |            60
|       1 |             |
+----+-----------+---------------+----------+-------------+-------------+------+------+---------------+-------------+--------------------------------+-----------+------+------+------+-----------+------+---------------+-------------------+----------------+----------------+---------------+---------+-------------+
2 rows in set (0.00 sec)

mysql> select * from actions;
+----+--------------------+-----------+-------------------------------------------------+-------------------------------------------+
| id | description        | command   |
internal_parameters                             |
user_parameters                           |
+----+--------------------+-----------+-------------------------------------------------+-------------------------------------------+
|  1 | No Action          | none
|
|                                           |
|  2 | Send Mail          | email     |
from:nms,to:<profile-email>,subject:NMS         |
from:From,subject:Subject,comment:Comment |
|  3 | Send SMS via Modem | smsclient |
smsname:<profile-smsalias>
|                                           |
|  4 | Send SMS via Mail  | email     |
short:1,from:nms,to:<profile-email>,subject:NMS |
from:From,subject:Subject                 |
+----+--------------------+-----------+-------------------------------------------------+-------------------------------------------+
4 rows in set (0.04 sec)

mysql> select * from auth;
+----+---------+------------------------------------+-----------------+--------+
| id | usern   | passwd                             | fullname        |
router |
+----+---------+------------------------------------+-----------------+--------+
|  1 | No User | $1$txVdymrd$AO3Qa8js9lVNkyscQ552b1 | No User Name
|      0 |
|  2 | admin   | adpexzg3FUZAk                      | Administrator
|      0 |
|  3 | admin1  | NULL                               | Administrador 1
|      0 |
+----+---------+------------------------------------+-----------------+--------+
3 rows in set (0.03 sec)

mysql> select * from profiles_values where profile_option=11;
+-----+----------------+-------------+----------------+
| id  | profile_option | description | value          |
+-----+----------------+-------------+----------------+
| 300 |             11 |             |                |
| 301 |             11 |             |                |
| 302 |             11 |             | root@localhost |
| 303 |             11 |             | root@localhost |
+-----+----------------+-------------+----------------+
4 rows in set (0.01 sec)

mysql> select * from profiles;
+----+--------+----------------+-------+
| id | userid | profile_option | value |
+----+--------+----------------+-------+
|  1 |      1 |              1 |     1 |
|  2 |      2 |              9 |    12 |
|  3 |      2 |             11 |   303 |
|  4 |      2 |             13 |    30 |
|  5 |      2 |             16 |    36 |
|  6 |      2 |             20 |    46 |
|  7 |      2 |             25 |    50 |
|  8 |      2 |              2 |     8 |
|  9 |      2 |              8 |     6 |
| 10 |      2 |             14 |    32 |
| 11 |      2 |             15 |    34 |
| 12 |      2 |              6 |    20 |
| 13 |      3 |              9 |    12 |
| 14 |      3 |             11 |   302 |
| 15 |      3 |             13 |    30 |
| 16 |      3 |             16 |    36 |
| 17 |      3 |             20 |    46 |
| 18 |      3 |             25 |    50 |
| 20 |      3 |             26 |    56 |
+----+--------+----------------+-------+
19 rows in set (0.00 sec)

mysql> select * from profiles_options;
+----+-----------------------------+--------------------------------+----------+-----------------+-------------+---------------+--------+
| id | tag                         | description                    |
editable | show_in_profile | use_default | default_value | type   |
+----+-----------------------------+--------------------------------+----------+-----------------+-------------+---------------+--------+
|  1 | NO_TAG                      | No Option
|        1 |               1 |           0 |               | select |
|  2 | ADMIN_ACCESS                | Administration Access
|        0 |               1 |           0 | 1             | select |
|  6 | REPORTS_VIEW_ALL_INTERFACES | View All Interfaces
|        0 |               1 |           0 | 1             | select |
|  8 | ADMIN_USERS                 | User Administration
|        0 |               1 |           0 | 1             | select |
|  9 | MAP_SOUND                   | Map Sound
|        1 |               1 |           1 | 1             | select |
| 11 | EMAIL                       | eMail
|        1 |               1 |           1 |               | text   |
| 12 | MAP                         | Base Map
|        0 |               0 |           0 | 1             | text   |
| 13 | EVENTS_SOUND                | Events Sound
|        1 |               1 |           1 | 1             | select |
| 14 | ADMIN_SYSTEM                | System Administration
|        0 |               1 |           0 | 1             | select |
| 15 | ADMIN_HOSTS                 | Host Administration
|        0 |               1 |           0 | 1             | select |
| 16 | VIEW_REPORTS                | Reports Access
|        0 |               0 |           1 | 1             | select |
| 19 | POPUPS_DISABLED             | Disable Popups
|        0 |               1 |           0 | 1             | select |
| 20 | VIEW_STARTPAGE_STATS        | View Start Page Stats
|        1 |               1 |           1 | 1             | select |
| 21 | EVENTS_DEFAULT_FILTER       | Events Default Filter
|        1 |               1 |           0 | 0             | text   |
| 22 | EVENTS_REFRESH              | Events Refresh Interval (secs)
|        1 |               1 |           0 | 20            | text   |
| 23 | MAP_REFRESH                 | Map Refresh Interval (secs)
|        1 |               1 |           0 | 20            | text   |
| 24 | SMSALIAS                    | SMS Pager Alias
|        1 |               1 |           0 |               | text   |
| 25 | VIEW_TYPE_DEFAULT           | Default View Type
|        1 |               1 |           1 | dhtml         | select |
| 26 | VIEW_DEFAULT                | Default View
|        1 |               1 |           0 | start         | select |
| 27 | CUSTOMER                    | Customer Filter
|        0 |               1 |           0 |               | text   |
+----+-----------------------------+--------------------------------+----------+-----------------+-------------+---------------+--------+
20 rows in set (0.00 sec)
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to