Add additional LOG File to the WEB GUI

  • Hello friends of OMV.


    Is it possible to add some new log files to the web gui?

    I have some cronjobs runing which write there logs in e.g. cron-one.log


    No i want to see theses cron-one.log in my web gui.

    Is this possible?



    thank u :)



    /edit: just found THIS here from 2016 ... is this actual?!?

    OMV 5.6.9-1 (Usul) // ASRock J5040-ITX // be quiet! ATX 500W (BN46) // 2x4GB Samsung M471A5244BB0-CRC

    Fractal Design Node 304 // 4-Port PCIE to SATA 3.0 ControllerCard // 1x 128GB SSD, 3x 4TB and 1x 5TB HDD

    Edited once, last by Kamikaze01 ().

  • Please try and report back the findings here

    omv 5.6.9-1 (usul) on RPi4/4GB with Kernel 5.10.17 and WittyPi 3 V2 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • Hello and thank u for your participation...


    I tried different ways but i can not get this to work :(


    The guid from 2016 is a bit confusing for me.


    My aim is to get an extra rsync log.

    So i created a test.log with some dummy entries from the existing rsync log (so the syntax should be right...).


    Then i created the 99mylogspecs.inc in /usr/share/openmediavault/engined/inc.

    i just copy/paste the part from the existing rsync.inc and overwrite all rsync entries with "test".

    I think, this should be right now...


    No i need an javascript file MyLogFile.js

    Again i orientated me on an existing file. So MyLogFile.js looks like this

    i tried an unique UUIDv4 from here



    I tried different ways, restart omv engine more than once... but nothing seem to work.

    I can not get these test.log in my WEB GUI :(


    Any help kindly appreciated !!

    OMV 5.6.9-1 (Usul) // ASRock J5040-ITX // be quiet! ATX 500W (BN46) // 2x4GB Samsung M471A5244BB0-CRC

    Fractal Design Node 304 // 4-Port PCIE to SATA 3.0 ControllerCard // 1x 128GB SSD, 3x 4TB and 1x 5TB HDD

  • your signature lists OMV OMV 5.5.11-1 (which is outdated), please patch to latest 5.6.9-1 and confirm if issue still exists

    omv 5.6.9-1 (usul) on RPi4/4GB with Kernel 5.10.17 and WittyPi 3 V2 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

  • Hello again.


    Thank u for that: i just updated today in the morning, BEFORE testing all this. So i can confirm issue exists with 5.6.9-1 Usul as well.

    Just updatet my signature too - thanks for the hint.


    Maybe someone could try to get these working (additional log via WEB GUI) and can report back what i have to do?


    :-/


    Thank u :)

    OMV 5.6.9-1 (Usul) // ASRock J5040-ITX // be quiet! ATX 500W (BN46) // 2x4GB Samsung M471A5244BB0-CRC

    Fractal Design Node 304 // 4-Port PCIE to SATA 3.0 ControllerCard // 1x 128GB SSD, 3x 4TB and 1x 5TB HDD

  • In MyLogFile.js the difference I see comparing to the example is starting in row 21, it misses all references to "hostname"


    Code
    },{
    text: _("Hostname"),
    hidden: true,
    sortable: true,
    dataIndex: "hostname",
    stateId: "hostname"
    },{

    omv 5.6.9-1 (usul) on RPi4/4GB with Kernel 5.10.17 and WittyPi 3 V2 RTC HAT

    2x 6TB HDD formatted with ext4 in Icy Box IB-RD3662-C31 / hardware supported RAID1

    For Read/Write performance of SMB shares hosted on this hardware see forum here

    Edited once, last by mi-hol ().

  • Hello (again).


    I can not get this to work :(


    I tried so many ways, but i need a serius step-by-step help.

    I orienteted myself on the existing files - there is always "message" instead of "hostname".

    Additional i think this is only the name of the column.


    I did not understand the guid from 2016 as this is confusing.

    Can someone please (PLEASE) try this and get this to work??!?!


    THANK U THAUSAND TIMES !!!


    Is i told before, i want an extra rsync log, so i created a testlog file calles "MyLogFile.log" with some dummy entries in it

    Code
    2021/06/11 13:00:10 [3002] >f+++++++++ BACKUP Test/Test/Test.txt
    2021/06/11 13:01:10 [3002] >f+++++++++ BACKUP Test/Test/Test.xlsx
    2021/06/11 13:01:59 [3002] cd+++++++++ BACKUP Test/BlaBla.doxc
    2021/06/11 13:02:02 [3002] >f+++++++++ BACKUP Test/MoreTest/BlaBlaTest.exe
    2021/06/11 13:02:11 [3002] Number of files: 301,270 (reg: 289,175, dir: 12,095)
    2021/06/11 13:02:11 [3002] Number of created files: 446 (reg: 394, dir: 52)
    2021/06/11 13:02:11 [3002] Number of regular files transferred: 394



    My 99mylogspecs.inc now looks like this:


    and my MyLogFile.js looks like this

    As told before: the UUIDv4 i claim from here

    OMV 5.6.9-1 (Usul) // ASRock J5040-ITX // be quiet! ATX 500W (BN46) // 2x4GB Samsung M471A5244BB0-CRC

    Fractal Design Node 304 // 4-Port PCIE to SATA 3.0 ControllerCard // 1x 128GB SSD, 3x 4TB and 1x 5TB HDD

    Edited once, last by Kamikaze01 ().

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!