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

check_memcached.pl rate perfdata issue #14

Open
prmarino1 opened this issue Nov 20, 2015 · 0 comments
Open

check_memcached.pl rate perfdata issue #14

prmarino1 opened this issue Nov 20, 2015 · 0 comments

Comments

@prmarino1
Copy link

when running checks on new hosts where there isnt already perf data I get this error
"Calculating rate variable such as &cmd_get requires previous performance data. Please add '-P $SERVICEPERFDATA$' to your nagios command line." and or others like it, then it exits.
This is a chicken or the egg issue since there is no perf data to start with it cant generate the the perfdata. instead it should return a Warning or Critical state and indicate that the perfdata to calculate the rate accurately was unavailable then maybe do something like divide the total by the uptime for the initial status return

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

1 participant