Importing new cutom config files

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Importing new cutom config files

Post by MSPk »

Hi,

We are trying to monitor a dominos server parameters dead mail and pending mail, fortunately we have found some plugins as well. Now we are trying to configure these plugins into nagios. I have gone through the nagios admin guide to see the process of importing the config files into nagios which isn't clear. Can some help me with the process of configuring these plugins into nagios so as to see the cfg files in the list of files that can be imported into nagios sucessfully.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Importing new cutom config files

Post by mguthrie »

Can you maybe post the configs that you have so far, and also what plugin you're trying to use?
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Importing new cutom config files

Post by MSPk »

Hi,

Please find the link below which has the cfg files i'm refering to (See lotus-commands.cfg and lotus-services.cfg).

http://ajitabhpandey.info/2007/04/monit ... o-servers/

most of the commands use check_snmp plugin, others include check_tcp and lotus plugins available in nagios exchnage website.

Also, is it possible that I can import commands that are relevent to our environment(we are jus monitoring the deadmail and pending mail queue's)

Thank you
You do not have the required permissions to view the files attached to this post.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Importing new cutom config files

Post by agriffin »

Are you talking about importing these configs into Nagios XI, or using them in Nagios Core?
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Importing new cutom config files

Post by MSPk »

I want to import them into nagios xi
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Importing new cutom config files

Post by mguthrie »

From reviewing your configs, there doesn't appear to be any reason why you couldn't import those configs into XI using our documented method in the Admin manual. Just make sure you've also copied over the check plugins to the /usr/local/nagios/libexec directory, and from the looks of it you'll need to add the $USER2$ macro to your resource.cfg file.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Importing new cutom config files

Post by MSPk »

$user2$ macro is already defined to path /usr/local/nagios/libexec/eventhandlers

Another thing i have noticed now in the cfg file lotus-services is the use of the plugin/command check_snmp_proc, I have checked on my nagios server and dont find this plugin, instead we have check_snmp_process. Also, in the commnds cfg file there is no command defined for check_snmp_proc. Can you please suggest if we can replace check_snmp_proc with check_snmp_process in the services config file to acheive the desired results i.e. to check if a service is up and running.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Importing new cutom config files

Post by mguthrie »

I guess I would start by checking on exchange.nagios.org and see if you can find that exact plugin that you had before. With thousands of community plugins out there, I don't really know if that's the same plugin or if it will work the same. If you had those plugins on a previous Nagios server, I would just copy them over from that machine.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Importing new cutom config files

Post by MSPk »

well, this is the cfg files I found over the web while trying to find a plugin to monitor lotus notes parameters
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Importing new cutom config files

Post by scottwilkerson »

My guess would be that the command is referring to using the plugins from the page you referenced.

http://ajitabhpandey.info/wp-content/up ... ringtar.gz

You would need to create new commands for them...

You will be somewhat on your own as these are 3rd party plugins and we do not have a notes server to test against..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked