The /var/log/pandora/pandora_server.error log file is being spammed with the following two error message, at a rate of about one message per second:
Argument “” isn’t numeric in numeric eq (==) at /usr/lib/perl5/PandoraFMS/Core.pm line 363.
Argument “” isn’t numeric in numeric eq (==) at /usr/lib/perl5/PandoraFMS/Core.pm line 4259.
It is mostly the first error message that appears in the logs.
Those line numbers refer to the following line of code:
if ($EventStormProtection == 1) {
The line appears to relate to the “Event Storm protection” setting under Configuration->General. I have never set nor changed that setting from it’s default disabled state. Nor should I have to, if I don’t need the functionality. I suspect that, because of this, the “EventStormProtection” variable has a null value.
Hope this is enough information for fixing this issue.
Thanks
Currently running: Pandora FMS 7.0NG.732-1 on CentOS
The /var/log/pandora/pandora_server.error log file is being spammed with the following two error message, at a rate of about one message per second:
Argument “” isn’t numeric in numeric eq (==) at /usr/lib/perl5/PandoraFMS/Core.pm line 363.
Argument “” isn’t numeric in numeric eq (==) at /usr/lib/perl5/PandoraFMS/Core.pm line 4259.
It is mostly the first error message that appears in the logs.
Those line numbers refer to the following line of code:
if ($EventStormProtection == 1) {
The line appears to relate to the “Event Storm protection” setting under Configuration->General. I have never set nor changed that setting from it’s default disabled state. Nor should I have to, if I don’t need the functionality. I suspect that, because of this, the “EventStormProtection” variable has a null value.
Hope this is enough information for fixing this issue.
Thanks
Currently running: Pandora FMS 7.0NG.732-1 on CentOS
Greetings, xyros
If you enable Event Storm Protection it will prevent that flooding of events. However, it appears to be some kind of problem with the verbosity configuration in pandora_server.conf, its value might be too high.
Could you please send us the configuration you have?
I do not use Event Storm Protection. It is not enabled in my configuration. The only storm protection I use are the following:
snmp_storm_protection 6
snmp_storm_timeout 900
I do not use Event Storm Protection. It is not enabled in my configuration. The only storm protection I use are the following:
snmp_storm_protection 6
snmp_storm_timeout 900
pandora_server.conf coming as PM…
Greetings, xyros
After taking a look at your .conf file, I don’t see anything out of the ordinary. Please do try to enable “Event Storm Protection” in the console configuration, then save the changes and disable it again to initialize the parameter.
Please let us know if this takes effect.
One quick question, which MR do you have in your installation?
Enabling and disabling Event Storm Protection actually does not work. After disabling it again, the error messages are back
I have MR 12
Greetings, xyros
Pandora is actually running MR 25, please try to update it as it follows:
First of all check if you have MR 25 in /var/www/html/pandora_console/extras/mr
Then proceed to enter your database an execute the following commands (please do take extra care doing this, because Pandora’s database is extremely important).
mysql > use pandora;
mysql > source /var/www/html/pandora-console/extras/mr/13.sql
mysql > source /var/www/html/pandora-console/extras/mr/14.sql
mysql > source /var/www/html/pandora-console/extras/mr/15.sql
[...]
mysql > source /var/www/html/pandora-console/extras/mr/25.sql
Keep doing this until you reach MR 25. DO NOT skip any MR, you’ll have to apply them in order.
After this, you’ll have to update the console footer token.
mysql > use pandora;
mysql > update tconfig set value=25 where token='MR';
We use technologies like cookies to store and/or access device information. We do this to improve browsing experience and to show (non-) personalized ads. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Please note:
This action will also remove this member from your connections and send a report to the site admin.
Please allow a few minutes for this process to complete.