How to import modified host and service files in DB from CLI
Alex Griffin
agriffin at nagios.com
Wed Mar 14 15:56:31 CET 2012
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
agriffin at 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 at 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 at 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
More information about the Users
mailing list