Automation

last person joined: 2 days ago 

Ask questions and share experiences about Apstra, Paragon, and all things network automation.
  • 1.  juise and syslog

    Posted 05-07-2013 11:09

    Hi all,

     

    I use juise a lot and its fantastic, but one problem I have it using syslog in it.

     

    jcs:syslog("external.notice", "syslog message");

     

    I get:

     

    syslog error: Unknown facility name: external

     

    I was thinking this was due to being run on the CentOS box, so I modified my syslogd file to add:

     

    #external
    external.*                                              /var/log/extern.log

     

    Any ideas?  The syslog works fine when the file is on a device, but when run in juise I see nothing.



  • 2.  RE: juise and syslog
    Best Answer

    Posted 05-08-2013 02:23

    @ed_gpc,

     

    The jcs:syslog() function was designed to exclusively work with Junos.  I would recommend requesting a feature on the SLAX project site here.  There is an "OS" extension library where a local syslog function (e.g. "os:syslog") may be a good fit.

     

    -- Jeremy



  • 3.  RE: juise and syslog

    Posted 05-08-2013 08:52

    Thanks for that info J, I'll go take a look there.



  • 4.  RE: juise and syslog

    Posted 05-08-2013 12:44

    Reported on the libslax mailing list (libslax@googlegroups.com.  Fix is in libslax-0.14.8.

     

    Thanks,

     Phil