errors in config - CHECK_PGACTIVITY plugin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: errors in config - CHECK_PGACTIVITY plugin

Post by tmcdonald »

Should work now, for whatever reason PDFs were disabled for this section of the forum.
Former Nagios employee
wolf57
Posts: 20
Joined: Tue Dec 22, 2015 11:49 am

Re: errors in config - CHECK_PGACTIVITY plugin

Post by wolf57 »

Thanks PDF will now download

All of the screenshots are in the same file
Attachments
check_pgactivity1.pdf
(423.01 KiB) Downloaded 198 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: errors in config - CHECK_PGACTIVITY plugin

Post by Box293 »

Great, lets try this:

In the left pane under System click Configuration
Select Commands
Click Continue
In the top right type in check_pgactivity
Click Update
Can you send a screenshot of that
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
wolf57
Posts: 20
Joined: Tue Dec 22, 2015 11:49 am

Re: errors in config - CHECK_PGACTIVITY plugin

Post by wolf57 »

See attached file
Attachments
check_pgactivity2.pdf
(177.68 KiB) Downloaded 217 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: errors in config - CHECK_PGACTIVITY plugin

Post by Box293 »

Everything looks correct.

Can you please post your nagios.cfg file
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
wolf57
Posts: 20
Joined: Tue Dec 22, 2015 11:49 am

Re: errors in config - CHECK_PGACTIVITY plugin

Post by wolf57 »

see attached
Attachments
nagios.cfg.txt
(46.8 KiB) Downloaded 276 times
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: errors in config - CHECK_PGACTIVITY plugin

Post by Box293 »

Lets try putting the whole argument in single quotes in the service:

Code: Select all

check_command                   check_pgactivity!'-s backends -w 80% -c 95%'
If you still have problems, lets reboot the entire server.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
wolf57
Posts: 20
Joined: Tue Dec 22, 2015 11:49 am

Re: errors in config - CHECK_PGACTIVITY plugin

Post by wolf57 »

Thanks for trying but still the same output in Nagios
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: errors in config - CHECK_PGACTIVITY plugin

Post by rkennedy »

Can you check the permissions on the plugin and post the results?
Former Nagios Employee
Locked