Open antonfischl1980 opened 2 months ago
Same here, but i`ve used: no warnings 'deprecated';
@riskersen - question - are you going to maintain this script? Or is it abandoned and I should stick with my own repo instead of submitting pull requests?
Hi there,
I've merged some of the latest requests, but you are right, I'm not really into this anymore, so feel free to take it over :)
Regards
After a recent update to perl 5.40.0, foritgate.pl produces the following deprecation warnings:
given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 358. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 359. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 360. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 361. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 362. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 363. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 366. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 367. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 368. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 369. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 370. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 371. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 375. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 381. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 382. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 383. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 384. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 385. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 386. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 389. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 390. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 391. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 392. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 393. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 394. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 395. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 396. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 399. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 400. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 401. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 402. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 403. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 404. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 407. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 408. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 409. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 410. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 411. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 412. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 413. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 414. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 418. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 419. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 420. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 421. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 422. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 423. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 424. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 425. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 426. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 427. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 428. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 429. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 430. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 431. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 432. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 433. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 434. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 435. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 436. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 437. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 438. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 439. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 440. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 441. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 442. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 443. given is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 1065. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 1066. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 1069. when is deprecated at /usr/lib64/nagios/plugins/contrib/check_fortigate.pl line 1072.
For the moment, I disabled those deprecation warnings (perl -X), but wanted to let you know.