Page 1 of 1

Integration between NagiosXI & OTRS

Posted: Thu Aug 18, 2011 2:20 am
by lntinfo
Hi,

does anyone has tried Integration betwenn NagiosXI and OTRS. if yes please share your views.
i would like to integrate NagiosXi alerts with OTRS.

Re: Integration between NagiosXI & OTRS

Posted: Thu Aug 18, 2011 9:29 am
by agriffin
There are several OTRS-related plugins here. They are geared towards Nagios Core but should work just as well with Nagios XI.

Re: Integration between NagiosXI & OTRS

Posted: Mon Aug 22, 2011 12:54 am
by lntinfo
how to use above plugin in linux (NagiosXI).
i have never used NagiosXI before. if you plese elaborate moe on this.
thnx in advance.

Re: Integration between NagiosXI & OTRS

Posted: Mon Aug 22, 2011 10:04 am
by nscott
lnt,

There is a good write-up here:

http://assets.nagios.com/downloads/nagi ... lugins.pdf

It walks you through how to integrate those plugins with Nagios XI. Let me know if this helps.

Re: Integration between NagiosXI & OTRS

Posted: Wed Aug 24, 2011 1:02 am
by lntinfo
thnx for reply.

i have uploaded plugins also refered document above. but still i am not able to get nagios alerts in otrs.
below error i have come across while ading new command defination
Warning: configuration file is out of date!
check my configuration file below is output. everything is ok
Total Warnings: 0
Total Errors: 0


Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/Vshodc-Raju.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/OTRS.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/Vshodc-Amey.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/Vshodc-Raju.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/OTRS.cfg'...
Processing object config file '/usr/local/nagios/etc/services/Vshodc-Amey.cfg'...
Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Checked 23 services.
Checking hosts...
Checked 4 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 4 contacts.
Checking contact groups...
Checked 2 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 0 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 67 commands.
Checking time periods...
Checked 10 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check



Written configuration files are valid. Nagios can be restarted!


is there any way to fix this problem.
my main concern is that i want to see nagios alerts in OTRS. please help if you find any solution.

Re: Integration between NagiosXI & OTRS

Posted: Wed Aug 24, 2011 10:10 am
by agriffin
We can't really help you much with seeing Nagios alerts in OTRS. There is that one community OTRS integration addon, but it contains no documentation, no contact information, and hasn't been updated since 2008.

As for the error about your configuration being out of date, how did you add the command? Did you edit the config files by hand? If you added the command through XI's interface, did you remember to apply configuration? Where did this error appear?

Re: Integration between NagiosXI & OTRS

Posted: Thu Aug 25, 2011 1:23 am
by lntinfo
yes i have added the command through XI interface,error occured when i click on apply configuration.

Re: Integration between NagiosXI & OTRS

Posted: Thu Aug 25, 2011 11:53 am
by nscott
lnt,

Thats a pretty specific error. This FAQ entry deals with it explicitly:

http://support.nagios.com/wiki/index.ph ... e.22_Error

Give that a shot, let use know if it fixes the issue.