Search found 30 matches

by brandon
Fri May 20, 2016 11:30 am
Forum: Open Source Nagios Projects
Topic: application/models/data.php [312] - pnp4nagios
Replies: 5
Views: 8249

Re: application/models/data.php [312] - pnp4nagios

pnp4nagios is properly installed, graphs are for other plugins, only for the individual plugins do not generate the .xml files and .rrd e.g: check_asterisk_channels, check_website_response.sh, check_fileage.py etc. for plugins e.g: check_apt, check_disk, check_cpu, etc. is OK (to generate graphs) Do...
by brandon
Fri May 20, 2016 10:15 am
Forum: Open Source Nagios Projects
Topic: application/models/data.php [312] - pnp4nagios
Replies: 5
Views: 8249

Re: application/models/data.php [312] - pnp4nagios

one more question, because I found the solution

how to convert this plugin:
https://exchange.nagios.org/directory/P ... ls/details
as shown in this tutorial:
https://geekpeek.net/pnp4nagios-xml-file-not-found/
Can anyone help?
by brandon
Fri May 20, 2016 6:15 am
Forum: Open Source Nagios Projects
Topic: application/models/data.php [312] - pnp4nagios
Replies: 5
Views: 8249

Re: application/models/data.php [312] - pnp4nagios

I read similar examples in this forum, but no correct answer, so I started a new topic
by brandon
Fri May 20, 2016 2:49 am
Forum: Open Source Nagios Projects
Topic: application/models/data.php [312] - pnp4nagios
Replies: 5
Views: 8249

application/models/data.php [312] - pnp4nagios

For some plugins have such an error (in attachment)
other plugins are displayed correctly

The problem is a plugin? or settings pnp4nagios?
anyone knows how to solve? any ideas
by brandon
Fri Mar 04, 2016 2:28 am
Forum: Open Source Nagios Projects
Topic: plugins google analytics
Replies: 20
Views: 10416

Re: plugins google analytics

I think that the topic is not moving forward, because I wrote it before: define service{ use service host_name localhost service_description google analitycs check_command ga_realtime!MY_ID!80!90! check the CLI: ./ga_realtime.py -D /etc/nagios3/google_auth_data -V MY_ID -w 10 -c 15 Maybe someone kno...
by brandon
Thu Mar 03, 2016 2:28 am
Forum: Open Source Nagios Projects
Topic: plugins google analytics
Replies: 20
Views: 10416

Re: plugins google analytics

If the permissions are of 777 then it does not matter who owns the file
but ok, I did:

Code: Select all

-rwxrwxrwx 1 nagios nagios 2419 02-23 08:58 ga_realtime.py
-rwxrwxrwx 1 nagios nagios 38152 2012-01-17  negate
end I get:

Code: Select all

(null)
by brandon
Wed Mar 02, 2016 3:09 am
Forum: Open Source Nagios Projects
Topic: plugins google analytics
Replies: 20
Views: 10416

Re: plugins google analytics

some do not understand, but ok:

Code: Select all

-rwxr-xr-x 1 root root 2419 02-23 08:58 ga_realtime.py
by brandon
Tue Mar 01, 2016 2:38 am
Forum: Open Source Nagios Projects
Topic: plugins google analytics
Replies: 20
Views: 10416

Re: plugins google analytics

What?
My plugins working properly, becasue this plugin displays of people online, but does not work with the function negate

When I try to run ./negate I get:
-bash: ./negate: you can not run a binary file
the permissions on negate is 777
by brandon
Mon Feb 29, 2016 2:58 am
Forum: Open Source Nagios Projects
Topic: plugins google analytics
Replies: 20
Views: 10416

Re: plugins google analytics

something does not work I have: define command { command_name negate_check command_line $USER1$/negate $USER1$/ga_realtime.py -D /etc/nagios3/google_auth_data -V $ARG1$ -w $ARG2$ -c $ARG3$ } define service{ use service host_name localhost service_description google analitycs check_command negate_che...
by brandon
Fri Feb 26, 2016 6:58 am
Forum: Open Source Nagios Projects
Topic: plugins google analytics
Replies: 20
Views: 10416

Re: plugins google analytics

The command definition for ga_realtime:

Code: Select all

define command{
    command_name    ga_realtime
    command_line    $USER1$/ga_realtime.py -D /etc/nagios3/google_auth_data  -V $ARG1$ -w $ARG2$ -c $ARG3$
}
I want alerts as for check_disk or as space is limited, so warning if less than 80 people online