View Single Post

   
  #5 (permalink)  
Old 01-05-2008, 06:36 AM
Patrick
 
Posts: n/a
Default Re: unable to create class with odmadd

First I created a file for the class as follows

erronotify:
en_pid=0
en_name="syslog"
en_persistenceflg=1
en_label=""
en_crid=0
en_class=""
en_type=""
en_alertflg=""
en_resource=""
en_rtype=""
en_rclass=""
en_method="/usr/bin/errpt -l $1 | /usr/bin/tail
-l|usr/bin/logger -t errpt -p daemon.notice"

Note that only tabs are used except in the command line. After creating
the file just typed 'odmadd /tmp/link_log'.

That's it.

Patrick
Reply With Quote