Help fortimail mib

Hello,

i tried creating a yaml for fortimail (400C), because it was missing and i hoped/thought i could get more info out of the equipment (detected virus, detected spam, mailbox disk usage, etc).
though trying and comparing with the fortigate yaml i failed but can’t seem to see why.

YAML:

os: fortimail
text: ‘Fortinet Fortimail’
type: firewall
icon: fortinet
mib_dir:
- fortinet
empty_ifdescr: true
ifname: true
over:
- { graph: device_bits, text: ‘Device Traffic’ }
- { graph: device_fortigate_cpu, text: ‘CPU Usage’ }
- { graph: device_mempool, text: ‘Memory Usage’ }
discovery:
- sysObjectID:
- .1.3.6.1.4.1.12356.105

i think my error lies in the sysObjectID. i uploaded the MIB in the fortinet folder and everything i got from here:
http://www.circitor.fr/Mibs/Html/F/FORTINET-FORTIMAIL-MIB.php

the ports are graphing but that’s it.
blank at memory
error graphing cpu
and all the other infos that i hoped i would get are missing.

could someone help?

cheers

Okay so i figured out (after reading https://docs.librenms.org/Developing/Support-New-OS/ more carefully) that some files are missing.
so i’ve made them myself and put them on my server (mainly copying the fortigate script and editing it).
processor and memory is showing but what i can’t figure out:
-RRD files are not created thus not making my graphs for CPU and Memory
-what files are for storage and other functions
example:
Log Disk Usage ( fmlSysLogDiskUsage 1.3.6.1.4.1.12356.105.1.8 )
Mailbox Disk Usage ( fmlSysMailDiskUsage 1.3.6.1.4.1.12356.105.1.9 )
Deferred Queue ( fmlMailOptionsDeferQueue 1.3.6.1.4.1.12356.105.1.103.1 )
Detected Virus ( i don’t know which is the MIB for that )
Detected Spam ( this one either)

i’ve put all the files into a zip for download.

my thought about deferred queue, virus and spam - maybe to put it in /includes/definitions/discovery/fortimail.yaml ?

i can’t find the disk usage yaml and where to put it.

link to zip: https://ufile.io/jvm9ovb7

cheers,

It would be better if you submit a Pull Request in git hub.

done. Fortimail-Support #11476