XYMON-XMH(5)
okay so bestie β welcome to Xymon-XMH-variables, straight outta the File Formats Manual. this is your group chat with the xymond daemon, fr fr. π
πΈ NAME πΈ
Xymon-XMH-variables β configuration items available online. that's the whole vibe. π
β¨ DESCRIPTION β¨
okay so first thing: the hosts.cfg(5) file is THE most important config file for literally every single Xymon program. no cap. it holds the full list of all the systems Xymon monitors, plus the set of tests and other config items stored for each host. it's the main character of config files, periodt. π
so the file is plain text, which is great, and you can search it with stuff like xymongrep(1) β but ngl, picking specific fields out of it is kind of a nightmare because of quoting and other text-parsing drama. π so Xymon lets you ask for this info directly from the xymond daemon using the "xymondboard" command. that way the info can come back together with the current status of a host and/or test. and how do you do that? you add a "fields" definition to the "xymondboard" command. iconic. β¨
π XMH items π
except where it says otherwise below, every item returns the text of a particular setting from the hosts.cfg file β or an empty string if that setting hasn't been set for the host you're querying. no setting, no tea, empty string, moving on. π«Ά
XMH_ALLPAGEPATHSβ list of all the pages where the host is found, using the filename hierarchy page path. π¦XMH_BROWSERβ value of the"browser"tag.XMH_CLASSβ the hostclass(if a Xymon client reported it), or the value of theCLASStag.XMH_CLIENTALIASβ value of theCLIENTtag.XMH_COMMENTβ value of theCOMMENTtag.XMH_COMPACTβ value of theCOMPACTtag.XMH_DEPENDSβ value of theDEPENDStag.XMH_DESCRIPTIONβ value of theDESCRtag.XMH_DGNAMEβ the text string from thehosts.cfg"group"definition (that'sgroup,group-only,group-except) where the host is defined. πXMH_DISPLAYNAMEβ value of theNAMEtag.XMH_DOCURLβ value of theDOCtag.XMH_DOWNTIMEβ value of theDOWNTIMEtag.XMH_PULLDATAβ value of thePULLDATAtag (includingIP:PORT, if there is any). πXMH_FLAG_DIALUPβ value of the"dialup"tag.XMH_FLAG_HIDEHTTPβ value of theHIDEHTTPtag.XMH_FLAG_LDAPFAILYELLOWβ value of the"ldapyellowfail"tag.XMH_FLAG_MULTIHOMEDβ value of theMULTIHOMEDtag.XMH_FLAG_NOBB2β value of the"nobb2"tag. > β οΈ deprecated bestie β useNONONGREENinstead.XMH_FLAG_NOCLEARβ value of theNOCLEARtag.XMH_FLAG_NOCLIENTβ value of the"noclient"tag.XMH_FLAG_NOCONNβ value of the"noconn"tag.XMH_FLAG_NODISPβ value of the"nodisp"tag.XMH_FLAG_NOINFOβ value of the"noinfo"tag.XMH_FLAG_NONONGREENβ value of the"nonongreen"tag.XMH_FLAG_NOPINGβ value of the"noping"tag.XMH_FLAG_NOSSLCERTβ value of the"nosslcert"tag.XMH_FLAG_NOTRACEβ value of the"notrace"tag.XMH_FLAG_NOTRENDSβ value of the"notrends"tag.XMH_FLAG_PREFERβ value of the"prefer"tag.XMH_FLAG_TESTIPβ value of the"testip"tag.XMH_FLAG_TRACEβ value of the"trace"tag.XMH_GROUPIDβ the number of the group where the host is listed β first group is0. and if a host shows up on multiple pages, this is the number of the group for the first page where the host is found. π’XMH_HOLIDAYSβ value of the"holidays"tag.XMH_HOSTNAMEβ the name of the host. yes, the whole point. πXMH_HTTPHEADERSβ value of the"httphdr"tag.XMH_IPβ the IP-address of the host (as specified inhosts.cfg).XMH_LDAPLOGINβ value of the"ldaplogin"tag.XMH_NETβ value of theNETtag.XMH_NKβ value of theNKtag. > β οΈ deprecated, just so you know.XMH_NKTIMEβ value of theNKTIMEtag. > β οΈ also deprecated. both of these are giving "old era" ngl.XMH_NOCOLUMNSβ value of theNOCOLUMNStag.XMH_NOPROPβ value of theNOPROPtag.XMH_NOPROPACKβ value of theNOPROPACKtag.XMH_NOPROPPURPLEβ value of theNOPROPPURPLEtag.XMH_NOPROPREDβ value of theNOPROPREDtag.XMH_NOPROPYELLOWβ value of theNOPROPYELLOWtag.XMH_NOTAFTERβ value of theNOTAFTERtag.XMH_NOTBEFOREβ value of theNOTBEFOREtag.XMH_OSβ the host operating system (if a Xymon client reported it), or the value of theOStag. πXMH_PAGEINDEXβ the index of the host on the page where it's shown β the first host has index0. π’XMH_PAGENAMEβ name of the page where the host is shown (peepXMH_PAGEPATHtoo, they're a duo). π«ΆXMH_PAGEPATHβ file path to the page where the host is shown.XMH_PAGEPATHTITLEβ title of the full path to the page where the host is shown.XMH_PAGETITLEβ title of the page where the host is shown.XMH_RAWβ literally all the configuration settings for the host. settings are separated by a pipe-sign (|). π₯XMH_REPORTTIMEβ value of theREPORTTIMEtag.XMH_SSLDAYSβ value of the"ssldays"tag.XMH_SSLMINBITSβ value of the"sslbits"tag.XMH_TRENDSβ value of theTRENDStag.XMH_WARNPCTβ value of theWARNPCTtag.XMH_WARNSTOPSβ value of theWARNSTOPStag.XMH_WMLβ value of theWMLtag.
π SEE ALSO π
and that's the whole page bestie, you ate it. π
this whole thing ships under the Xymon name, Version 4.3.30, dated 4 Sep 2019 β and the manual itself is XYMON-XMH(5). go forth and query your hosts, mwah. πβ¨π
π¦ where this page comes from
- debian bookworm: xymon 4.3.30-1+b2 Β· GPL-2.0-only WITH OpenSSL exception
- debian trixie: xymon 4.3.30-4 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon 4.3.30-1build2 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu jammy: xymon 4.3.30-1ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon 4.3.30-2build3 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu noble: xymon 4.3.30-2ubuntu0.1 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu questing: xymon 4.3.30-4
- ubuntu resolute: xymon 4.3.30-5 Β· GPL-2.0-only WITH OpenSSL exception
- ubuntu stonking: xymon 4.3.30-6 Β· GPL-2.0-only WITH OpenSSL exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms