Page 1 of 1
mod_gearman with pnp
Posted: Mon Jun 03, 2013 12:27 am
by zaji_nms
Dear Support,
we are running XI2012R1.8 with mod_gearman master/slave but all perfdata check are done by master .
we would like to have perfdata to be monitored from mod_gearman plugin using another slave. what will be the setup/config and how we can achieve it?
Regards,
Yusuf
Re: mod_gearman with pnp
Posted: Mon Jun 03, 2013 12:45 pm
by slansing
To enable perfdata queuing set the following in the modgearman config file:
perfdata=yes
Then you have two options for the mode:
perfdata_mode
There will be only a single job for each host or servier when putting performance data onto the perfdata_queue in overwrite mode. In append mode perfdata will be stored as long as there is memory left. Setting this to overwrite helps preventing the perf_data queue from getting to big. Monitor your perfdata carefully when using the append mode. Possible values are:
1 – overwrite
2 – append
Then you will need to restart gearman to take the cfg file changes.
Let us know how well this works out for you.
Re: mod_gearman with pnp
Posted: Mon Jun 03, 2013 3:52 pm
by zaji_nms
will it support on pnp4nagios v 0.4 which is part of XI2012R1.8 component have u tested it in your lab enviromnet ? from the internet source perf_mod_gearman work with pnp 0.6.12 or higher and nagios team not recommended to upgrade individual component. usually all upgrade should come with new releases..
Re: mod_gearman with pnp
Posted: Mon Jun 03, 2013 4:15 pm
by slansing
You should not upgrade PNP, as the new version has not been properly tested, and it may not be compatible, keep in mind splitting perfdata with mod_gearman may or may not work, we are unsure of this and the creators of mod_gearman have expressed the same views.
usually all upgrade should come with new releases..
This is not correct, for a great number of reasons, one is that new third party packages may not be tested by us yet, another is that they may break current pieces of our software due to incompatibility, another still is that many software suites update to add in new features, and these features may have nothing to do with how nagios uses the software. It is often said that you should not instantly or always upgrade to a new edition simply because it has a bigger number, there can be many problems behind that number.