question about new subroutine like config structure
Atul Gosain
atul at mindsw.com
Fri Oct 4 09:09:53 CEST 2002
Hey dont put ur hard work into converting netsaint conf into nagios conf
manually. There is allready a script in contrib directory of nagios
distribution which does that for u in elegant manner.
Enjoy
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hello folks,
>
> We have been using netsaint for quite a while and have lots of host and
> services defined in the old structure, basically in one line
> format.
>
> I just installed "nagios" in one of our test machines to test
> out before upgrading our main monitoring server running RH 7.1 and
> Netsaint 0.0.6 to RH 7.3 and nagios (latest version).
>
> I have seen that nagios has a major config change over netsaint where
> now the host/service and the rest is defined in a subroutine (chunk)
> like format.
>
> define host {
> something
> something
> ....
> }
>
> I was trying to find a way to read the data from netsaint-0.0.6 config
> files (in one line format) to nagios in the subroutine like format. I
> looked at the nagios FAQ but failed to find a less painful way then hand
> copy each definition from netsaint by hand. Has anyone devised a way to
> do this, however as I am writing this email, I think that
> "auto-converting" to nagios format might not be efficient way to go,
> specially in terms of the new "templates" format.
>
> If anyone of the old nagios guys can provide some guidance it would be
> great. On my own I will be thinking of different ways to easily and
> efficiently do this change. If I hit upon something worth while I will
> report back.
>
> BTW, kudos to the programmer of the "template" system config, If I am
> not wrong it should be "Ethan". I started reading the docs and more I
> read it the more it makes perfect sense on why this should be the way
> nagios or any other tool should be configured.
>
> Regards,
>
>
> - --
> Amar S. Bhatti
> GM Powertrain
> General Motors Corporation
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE9nH2Af5nrtLFqbwoRAvnzAJ99R+2N96/qV0gy63bQ1TBy0GLmcwCfUkK4
> aEMk72DIxz271/8xo/ACmSg=
> =rZnX
> -----END PGP SIGNATURE-----
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
--
Atul Gosain
Mindframe Software and Services Pvt. Ltd.
A-50, Sector-39
Noida(UP).
ph no: 4500369,4575991
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
More information about the Users
mailing list