Home
last modified time | relevance | path

Searched refs:ev_info (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c148 process_template(nd_ev_info_t *ev_info, email_pref_t *eprefs) in process_template() argument
166 eprefs->ep_template_path, tmpfile, ev_info->ei_diagcode, in process_template()
167 ev_info->ei_severity); in process_template()
214 build_headers(nd_hdl_t *nhdl, nd_ev_info_t *ev_info, email_pref_t *eprefs, in build_headers() argument
225 if (strncmp(ev_info->ei_class, "list.", 5) == 0) { in build_headers()
228 } else if (strncmp(ev_info->ei_class, "ireport.os.smf", 14) == 0) { in build_headers()
244 ev_info->ei_diagcode); in build_headers()
248 ev_info->ei_diagcode); in build_headers()
251 len = snprintf(NULL, 0, subj_fmt, hostname, ev_info->ei_fmri, in build_headers()
252 ev_info->ei_from_state, ev_info->ei_to_state); in build_headers()
[all …]
/illumos-gate/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c389 nd_ev_info_t *ev_info = NULL; in ireport_cb() local
412 if (nd_get_event_info(nhdl, class, ev, &ev_info) != 0) in ireport_cb()
416 swtrap.msgid = ev_info->ei_diagcode; in ireport_cb()
417 swtrap.desc = ev_info->ei_descr; in ireport_cb()
421 swtrap.fmri = ev_info->ei_fmri; in ireport_cb()
422 if (state_to_val(ev_info->ei_from_state, &swtrap.from_state) in ireport_cb()
424 state_to_val(ev_info->ei_to_state, &swtrap.to_state) < 0) { in ireport_cb()
426 nd_dump_nvlist(nhdl, ev_info->ei_payload); in ireport_cb()
429 swtrap.reason = ev_info->ei_reason; in ireport_cb()
434 if (ev_info) in ireport_cb()
[all …]
/illumos-gate/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c514 nd_ev_info_t **ev_info) in nd_get_event_info() argument
593 *ev_info = evi; in nd_get_event_info()
598 nd_free_event_info(nd_ev_info_t *ev_info) in nd_free_event_info() argument
600 free(ev_info->ei_severity); in nd_free_event_info()
601 free(ev_info->ei_descr); in nd_free_event_info()
602 free(ev_info->ei_diagcode); in nd_free_event_info()
603 free(ev_info->ei_url); in nd_free_event_info()
604 free(ev_info->ei_uuid); in nd_free_event_info()
605 free(ev_info->ei_fmri); in nd_free_event_info()
606 free(ev_info->ei_from_state); in nd_free_event_info()
[all …]