Page 1 of 1
is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 6:04 am
by xpertech
I look at another NagiosXI server which has check_afs_tablespace plugin (our resigned colleague setted it up), but I can't find in the Exchange site or Google, is it real exist?
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 9:12 am
by scottwilkerson
Your colleague probably made it themselves. Anyone who can write programs in any language can create nagios plugins
Here are the guidelines
https://nagios-plugins.org/doc/guidelines.html
I would guess that of all the Nagios plugins ever created less than 1% are public or on the exchange, many are created for use internally.
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 9:55 am
by xpertech
Can I download the plugin from that NagiosXI server and then upload to another NagiosXI server?
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 10:23 am
by scottwilkerson
xpertech wrote:Can I download the plugin from that NagiosXI server and then upload to another NagiosXI server?
Yes, almost always without issue.
You will need to create the commands in the CCM also to replicate what you have on the original server.
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 10:24 am
by scottwilkerson
scottwilkerson wrote:Yes, almost always without issue.
I should mention the only time there would be an issue is if the plugin requires dependencies that aren't on the new server, and then you can just install them.
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 11:48 am
by xpertech
If it's a plugin and I look at the plugin scripts on the old server and has no dependencies consideration, then I can just download the plugin from old server and then upload to new server?
If it's a command then I just copy the scripts and add a new command on the new server?
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 11:53 am
by scottwilkerson
Correct except you are going to need to add the command on the new server to match the command on the old server no matter what.
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 12:04 pm
by xpertech
got it, thanks, can lock post.
Re: is there a check_afs_tablespace plugin?
Posted: Wed Jun 20, 2018 12:05 pm
by scottwilkerson
xpertech wrote:got it, thanks, can lock post.
Great! Locking