The thing is, this plugin will need to be modified to get the results that you'd like. I do see parts of it previously, but I don't see a post with the full input / output of this command.brandon wrote:I think that the topic is not moving forward, because I wrote it before:check the CLI:Code: Select all
define service{ use service host_name localhost service_description google analitycs check_command ga_realtime!MY_ID!80!90!Maybe someone knows how to change this plugin?Code: Select all
./ga_realtime.py -D /etc/nagios3/google_auth_data -V MY_ID -w 10 -c 15
We did not make this plugin, and I do not have an analytics account to test with. At this point you'll need to modify the python script to work to your needs, or the other alternative is writing a wrapper script to change the output of the original script. That's why I need the full information in order to help you.
When you run ./ga_realtime.py -D /etc/nagios3/google_auth_data -V MY_ID -w 10 -c 15 - what is the output you are seeing? Please run it with the correct ID (feel free to change it out before posting back here).