Hi,
I try to change the hostname in the hosts.cfg, but in the second time that srv02 is in the file, the name "Server Xymon" don't change in the web page.
I have Xymon 4.3.28.
This is my hosts.cfg:
page INICIO <H5> INICIO </H5> roup-except test 10.111.112.28 srv02 # NAME:"Server Xymon" prefer
page PRODUCCION <H5>PRODUCCION</H5>
subpage SG <H5> SG </H5> subparent SG PPGA <H5> PPGA </H5> subparent test <H5> test </H5> group-only TEST1 <font size="+1">test</font> 10.111.112.28 srv02 # NAME:"test"
What is wrong? Thanks.
Ive recently installed 4.3.28.
Ive copied over various files from the existing 4.2.3 I now notice that the main view and any sub pages all have what I would expect from the top level menu - Views/Reports/Administration/Help. those menus all drop down as normal displaying sub categories below them
But if/when i then open a particular alert (any individual server's alert eg conn) I then get the top menu displayed all in text, with all the options visible also, but no format. So what I see is
Views: Main view | All non-green view | Critical systems Reports: Event log Report | Top Changes | Availability Report | Snapshot Report | Config Report | Config Report (Critical) | Metrics Report | Ghost Clients | Notification Report Acknowledgements Administration: Find host | Acknowledge alert | Enable/disable | Edit critical systems Help: About Xymon | Installing Xymon | Configuring Monitoring | Configuring Alerts | Critical systems | Known problems | Tips and Tricks | Custom graphs | Xymon man-pages
Anybody know how I get that back to the normal menu? Im guessing its one of the files Ive copied from the "old" setup to the "new" ? (ocntents of etc basically I suspect) didds
The "NAME" directive is not doing what you think it is doing.
Each host is defined once in Xymon. It may appear on several lines, but there is only _one_ entry for the host in the "database". Which line Xymon uses depends on what is on the line. Look at the "PREFER" directive for more information on that decision. You may change the NAME of the host, but only one time.
Your host "srv02.foo.com" can be displayed as "Server Xymon", but it can not be displayed elsewhere as "Test"
I've used "combo tests" to work around this limitation. If I had an actual host named "foo.bar.com", for which I wanted both display names "A" and "B", I'd do something like:
:: hosts.cfg :: 0.0.0.0 foo.bar.com # name:A 0.0.0.0 foo.bar.com.local # name:B testip noconn
:: combo.cfg :: foo.bar.com.local.msgs = foo.bar.com.msgs
The "testip noconn" combination keeps xymonnet from trying to perform name resolution for my fake hostname. The entry in combo.cfg populates the msgs test for my fake hostname.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Department of Administration State of Alaska
On 12/11/2017 5:39 PM, Jimmy Aulestia wrote:
Hi,
I try to change the hostname in the hosts.cfg, but in the second time that srv02 is in the file, the name "Server Xymon" don't change
in the web page.I have Xymon 4.3.28.**
This is my hosts.cfg:
page INICIO <H5> INICIO </H5> roup-except test 10.111.112.28 srv02 # NAME:"Server Xymon" prefer
page PRODUCCION <H5>PRODUCCION</H5>
subpage SG <H5> SG </H5> subparent SG PPGA <H5> PPGA </H5> subparent test <H5> test </H5> group-only TEST1 <font size="+1">test</font> 10.111.112.28 srv02 # NAME:"test"
What is wrong? Thanks.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Thanks, i will use the combo.cfg procedure
De: Xymon <xymon-bounces at xymon.com> en nombre de John Thurston <john.thurston at alaska.gov> Enviado: martes, 12 de diciembre de 2017 12:38 Para: xymon at xymon.com Asunto: Re: [Xymon] NAME directe isn't working
The "NAME" directive is not doing what you think it is doing.
Each host is defined once in Xymon. It may appear on several lines, but there is only _one_ entry for the host in the "database". Which line Xymon uses depends on what is on the line. Look at the "PREFER" directive for more information on that decision. You may change the NAME of the host, but only one time.
Your host "srv02.foo.com" can be displayed as "Server Xymon", but it can not be displayed elsewhere as "Test"
I've used "combo tests" to work around this limitation. If I had an actual host named "foo.bar.com", for which I wanted both display names "A" and "B", I'd do something like:
:: hosts.cfg :: 0.0.0.0 foo.bar.com # name:A 0.0.0.0 foo.bar.com.local # name:B testip noconn
:: combo.cfg :: foo.bar.com.local.msgs = foo.bar.com.msgs
The "testip noconn" combination keeps xymonnet from trying to perform name resolution for my fake hostname. The entry in combo.cfg populates the msgs test for my fake hostname.
-- Do things because you should, not just because you can.
John Thurston 907-465-8591 John.Thurston at alaska.gov Department of Administration State of Alaska
On 12/11/2017 5:39 PM, Jimmy Aulestia wrote:
Hi,
I try to change the hostname in the hosts.cfg, but in the second time that srv02 is in the file, the name "Server Xymon" don't change in the web page.
I have Xymon 4.3.28.**
This is my hosts.cfg:
page INICIO <H5> INICIO </H5> roup-except test 10.111.112.28 srv02 # NAME:"Server Xymon" prefer
page PRODUCCION <H5>PRODUCCION</H5>
subpage SG <H5> SG </H5> subparent SG PPGA <H5> PPGA </H5> subparent test <H5> test </H5> group-only TEST1 <font size="+1">test</font> 10.111.112.28 srv02 # NAME:"test"
What is wrong? Thanks.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon Xymon -- Discussions about the Xymon monitor<http://lists.xymon.com/mailman/listinfo/xymon> lists.xymon.com The Xymon monitor - www.xymon.com - is an Open Source (GPL) licensed monitoring system. This mailing list is for discussions about installing and using Xymon.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon Xymon -- Discussions about the Xymon monitor<http://lists.xymon.com/mailman/listinfo/xymon> lists.xymon.com The Xymon monitor - www.xymon.com - is an Open Source (GPL) licensed monitoring system. This mailing list is for discussions about installing and using Xymon.
participants (3)
-
didds3@yahoo.co.uk
-
jimmy.aulestia@hotmail.com
-
john.thurston@alaska.gov