-
Notifications
You must be signed in to change notification settings - Fork 10
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
Issue with Centreon - Use of uninitialized value #13
Comments
Can you try adding the |
Here is the dump: ./check_haproxy_stats.pl --url='https://server1.domain.local/' --username='haproxy' --password='xxxxxxxxx' --warning='85' --critical='95' -p back_pgsql,pgsql_6432 -d
|
That's strange Are you sure you're running the script with the same parameters from Centreon? Try to add the dump parameter from Centreon and see what you get |
Sure, here is the result with -d parameter Use of uninitialized value $haproxy in print at /usr/lib/centreon/plugins/check_haproxy_stats.pl line 228. |
I'm not sure why this happens. Seems like the script can't find something in the CSV, or can't get the CSV at all. You should double check the Centreon command line, you should expect the same thing from CLI or Centreon. |
Hello tartef, |
Hello,
This perl script working fine on my Linux Centreon server when I use it on console (command line). But when I create a check command and service template, the status is:
The text was updated successfully, but these errors were encountered: