Xymon Mailing List Archive search

Critical System Editor

2 messages in this thread

list Steve Mbs Newton · Tue, 28 Sep 2010 13:28:07 -0400 ·
Hello,

            I'm trying to configure the Critical Systems Page and would like to know if there is a way to add a group of host all at once? I have about 400 hosts to add and adding one at a time will take forever. Any suggestions would be appreciated

Steve Newton
PHH Corporation
Desk XXX-XXX-XXXX
Cell XXX-XXX-XXXX
list Henrik Størner · Tue, 28 Sep 2010 17:46:49 +0000 (UTC) ·
In <user-fb30efe4b4da@xymon.invalid> "Newton, Steve (MBS)" <user-0f7bfdde23c1@xymon.invalid> writes:
           I'm trying to configure the Critical Systems Page and would lik=
e to know if there is a way to add a group of host all at once? I have abou=
t 400 hosts to add and adding one at a time will take forever. Any suggesti=
ons would be appreciated
It's a text file, so as long as you stick to the format it'll be allright.

Add one host using the editor, then look at hobbit-nkview.cfg to see
what it looks like (do a "grep" for the hostname in that file). Then
use whatever scripting tool you prefer to add the rest, just changing
the hostname.


Regards,
Henrik

(who would really like to write a better editor for that file).