Closed MarcusCaepio closed 7 years ago
Hi Oli, to 1) I fixed the warnings with the code "no warnings 'experimental::smartmatch';" in the script. Do you want to implement it? to 2) I assigned the path variable to /usr/local/nagios/plugins/FortiSerial
Now it seems work. Will test it.
Hi Oli,
just tested the latest version 1.7.3. On execution I got many notices like;
given is experimental at ./check_forti_new line 207. when is experimental at ./check_forti_new line 208. given is experimental at ./check_forti_new line 209. when is experimental at ./check_forti_new line 210. when is experimental at ./check_forti_new line 211. when is experimental at ./check_forti_new line 212. when is experimental at ./check_forti_new line 213. when is experimental at ./check_forti_new line 216. given is experimental at ./check_forti_new line 217. when is experimental at ./check_forti_new line 218. when is experimental at ./check_forti_new line 219. when is experimental at ./check_forti_new line 220. when is experimental at ./check_forti_new line 221. when is experimental at ./check_forti_new line 222. when is experimental at ./check_forti_new line 223. given is experimental at ./check_forti_new line 227. when is experimental at ./check_forti_new line 228. when is experimental at ./check_forti_new line 229. when is experimental at ./check_forti_new line 230. when is experimental at ./check_forti_new line 231. when is experimental at ./check_forti_new line 232. when is experimental at ./check_forti_new line 233. when is experimental at ./check_forti_new line 234. when is experimental at ./check_forti_new line 235.
Furthermore I got a critical error:
CRITICAL: Error writing on /var/spool/nagios/ramdisk/FortiSerial directory, permission denied
This error is correct, because I don't have this directory. Since I am using Icinga2 with pnp4nagios, I just have the folder: `/var/spool: tree icinga2/ icinga2/ ├── perfdata └── tmp ├── host-perfdata └── service-perfdata
/var/spool: tree pnp4nagios/ pnp4nagios/ ├── nagios └── npcd `