Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fortigate.pl - Perl deprecation warnings with perl 5.40.0 #90

Open
antonfischl1980 opened this issue Sep 9, 2024 · 4 comments
Open

Comments

@antonfischl1980
Copy link

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.

@dkolasinski
Copy link
Contributor

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?

@riskersen
Copy link
Owner

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

@riskersen riskersen reopened this Nov 22, 2024
@UrbanDavid
Copy link

Hi @riskersen,
This plugin is very usefully and is possible to finish this issue. User @dkolasinski have not enable public issue on project.
Thank you

@dkolasinski
Copy link
Contributor

Currently Im interested only in fortigate check script from your repo. Im still using in on production level in multiple locations. Iwill start a new repo and copy your script if you dont mind. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants