Guide d'administration de Sun N1 System Manager 1.0

ProcedureCréation et test d'une notification

Étapes
  1. Connectez-vous à N1 System Manager.

    Pour plus de détails, reportez-vous au point Accès à la ligne de commande de N1 System Manager .

  2. Tapez la commande suivante :


    N1-ok> create notification notification topic rubrique
    type type destination destination
    

    La notification est créée et activée. Pour plus de détails et connaître les rubriques admises, reportez-vous à create notification.

  3. Tapez la commande suivante :


    N1-ok> start notification notification test 
    

    Un message de notification de test en envoyé. Pour plus de détails, reportez-vous à start notification.


Exemple 7–8 Création d'une notification par e-mail


N1-ok> create notification test2 topic EReport.Physical.ThresholdExceeded 
type email destination nobody@sun.com
N1-ok> show notification
Name    Event Topic                         Destination       State
test2   EReport.Physical.ThresholdExceeded  nobody@sun.com     enabled 


Exemple 7–9 Création d'une notification par SNMP


N1-ok> create notification test2 topic EReport.Physical.ThresholdExceeded 
type snmp destination sun.com
N1-ok> show notification
Name    Event Topic                         Destination  State
test2   EReport.Physical.ThresholdExceeded  sun.com     enabled