Re: [Nagios-users] How to import modified host and service files in DB from CLI

2012-03-14 Thread Alex Griffin
You can simply run /usr/local/nagiosxi/scripts/reconfigure_nagios.sh 
after dropping your config files into /usr/local/nagios/etc/import/.

Alex Griffin
---
Tech Team
agrif...@nagios.com

Manish_Kmr wrote:
 Hi,

 We are using NagiosXI, but still we prefer to do most of the things from
 CLI. Most often we are adding or removing some service from a no. of
 files and again we need to import these modified files into DB using
 NagiosXI UI. Its very difficult to search and import a large no. of
 these files using UI. Is there any way i can import these modified files
 into NagiosXI DB from command line without using NagiosXI User Interface.

 Thanks,
 Manish Kumar,
 Mahindra Satyam, Tools Team


 

 DISCLAIMER:
 This email (including any attachments) is intended for the sole use of
 the intended recipient/s and may contain material that is CONFIDENTIAL
 AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or
 copying or distribution or forwarding of any or all of the contents in
 this message is STRICTLY PROHIBITED. If you are not the intended
 recipient, please contact the sender by email and delete all copies;
 your cooperation in this regard is appreciated.



 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d



 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] How to import modified host and service files in DB from CLI

2012-03-13 Thread Manish_Kmr
Hi,

We are using NagiosXI, but still we prefer to do most of the things from CLI. 
Most often we are adding or removing some service from a no. of files and again 
we need to import these modified files into DB using NagiosXI UI. Its very 
difficult to search and import a large no. of these files using UI. Is there 
any way i can import these modified files into NagiosXI DB from command line 
without using NagiosXI User Interface.

Thanks,
Manish Kumar,
Mahindra Satyam, Tools Team



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] How to import modified host and service files in DB from CLI

2012-03-13 Thread Andreas Ericsson
On 03/13/2012 10:19 AM, Manish_Kmr wrote:
 Hi,
 
 We are using NagiosXI, but still we prefer to do most of the things
 from CLI. Most often we are adding or removing some service from a
 no. of files and again we need to import these modified files into DB
 using NagiosXI UI. Its very difficult to search and import a large
 no. of these files using UI. Is there any way i can import these
 modified files into NagiosXI DB from command line without using
 NagiosXI User Interface.
 

You'll want to ask the Nagios XI forums for things concerning
everything but the Nagios core.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null