I have a Problem with categories.xml and viewdisplay.xml, too :-(
My OpenNMS Version is 1.3.3-SNAPSHOT (svn-version)
All Servers in Customer1 was find and monitored fine, but not correctly
sorted in the Customer1 profiles :-(
Have anyone an idea what's the error ?
Here is my viewsdisplay.xml:
<?xml version="1.0"?>
<viewinfo>
<view>
<view-name>WebConsoleView</view-name>
<section>
<section-name><![CDATA[Customer
Related]]></section-name>
<category><![CDATA[Customer1]]></category>
<category><![CDATA[Customer1
SQL-Server]]></category>
<category><![CDATA[Customer1
Web-Server]]></category>
<!--category><![CDATA[Customer2]]></category-->
<!--category><![CDATA[Customer2
SQL-Server]]></category-->
<!--category><![CDATA[Customer2
Web-Server]]></category-->
</section>
<section>
<section-name><![CDATA[Categories]]></section-name>
<category><![CDATA[Network Interfaces]]></category>
<category><![CDATA[Web Servers]]></category>
<category><![CDATA[Email Servers]]></category>
<category><![CDATA[DNS & DHCP Servers]]></category>
<category><![CDATA[Database Servers]]></category>
<category><![CDATA[JMX Servers]]></category>
<category><![CDATA[Other Servers]]></category>
</section>
<section>
<section-name><![CDATA[Total]]></section-name>
<category><![CDATA[Overall Service
Availability]]></category>
</section>
</view>
</viewinfo>
Here is my catagories.xml:
<catinfo>
<header>
<rev>1.3</rev>
<created>Wednesday, February 6, 2002 10:10:00 AM EST</created>
<mstation>checkers</mstation>
</header>
<categorygroup>
<name>WebConsole</name>
<comment>Service Level Availability by Functional Group</comment>
<common>
<rule><![CDATA[ipaddr IPLIKE *.*.*.*]]></rule>
</common>
<categories>
<category>
<label><![CDATA[Overall Service Availability]]></label>
<comment>This category reflects availability of all
services currently being monitored by OpenNMS.</comment>
<normal>99.99</normal>
<warning>97</warning>
<rule><![CDATA[ipaddr IPLIKE *.*.*.*]]></rule>
</category>
<category>
<label><![CDATA[Network Interfaces]]></label>
<comment>This category reflects the ability to 'ping'
managed devices and SNMP agents. 'Ping', using the ICMP protocol, tests
a devices network connectivity/availability.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>ICMP</service>
<service>SNMP</service>
<rule><![CDATA[(isICMP | isSNMP) & (ipaddr !=
"0.0.0.0")]]></rule>
</category>
<category>
<label><![CDATA[Email Servers]]></label>
<comment>This category includes all managed interfaces
which are running an Email service, including SMTP, POP3, or IMAP. This
will include MS Exchange servers running these protocols.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>SMTP</service>
<service>POP3</service>
<service>IMAP</service>
<rule><![CDATA[isSMTP | isPOP3 | isIMAP]]></rule>
</category>
<category>
<label><![CDATA[Web Servers]]></label>
<comment>This category includes all managed interfaces
which are running an HTTP (Web) server on port 80 or other common
ports.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>HTTP</service>
<service>HTTPS</service>
<service>HTTP-8000</service>
<service>HTTP-8080</service>
<rule><![CDATA[isHTTP | isHTTPS | isHTTP-8000 |
isHTTP-8080]]></rule>
</category>
<category>
<label><![CDATA[JMX Servers]]></label>
<comment>This category includes all managed interfaces
which are running JMX servers.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>JBoss4</service>
<service>JBoss32</service>
<service>JVM</service>
<rule><![CDATA[isJBoss4 | isJBoss32 | isJVM]]></rule>
</category>
<category>
<label><![CDATA[DNS & DHCP Servers]]></label>
<comment>This category includes all managed interfaces
which are running either DNS (name resolution) servers or DHCP
servers.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>DNS</service>
<service>DHCP</service>
<rule><![CDATA[isDNS | isDHCP]]></rule>
</category>
<category>
<label><![CDATA[Database Servers]]></label>
<comment>This category includes all managed interfaces
which are currently running PostgreSQL, MSSQL or MySQL database
servers.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>Postgres</service>
<service>MySQL</service>
<service>SQLServer</service>
<service>SQL-Server</service>
<rule><![CDATA[isPostgres | isMySQL | isSQLServer |
isSQL-Server]]></rule>
</category>
<category>
<label><![CDATA[Other Servers]]></label>
<comment>This category includes all managed interfaces
which are running FTP (file transfer protocol) servers or SSH (secure
shell) servers.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>FTP</service>
<service>SSH</service>
<rule><![CDATA[isFTP | isSSH]]></rule>
</category>
<category>
<label><![CDATA[Internet Connectivity]]></label>
<comment>This category reflects the ability to 'ping'
the router at the ISP-end of your Internet connection.</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>ICMP</service>
<rule><![CDATA[ipaddr IPLIKE 10.42.0.1]]></rule>
</category>
<category>
<label><![CDATA[Customer1]]></label>
<comment>This category includes all Customer1
Servers</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>ICMP</service>
<rule><![CDATA[(isICMP) & (ipaddr IPLIKE
10.42.0.140 | ipaddr IPLIKE 10.42.0.153 | ipaddr IPLIKE 10.42.0.193 |
ipaddr IPLIKE 10.42.0.195 | ipaddr IPLIKE 10.42.0.200 | ipaddr IPLIKE
10.42.0.202 | ipaddr IPLIKE 10.42.0.203 | ipaddr IPLIKE 10.42.0.204 |
ipaddr IPLIKE 10.42.0.205 | ipaddr IPLIKE 10.42.0.206 | ipaddr IPLIKE
10.42.0.207 | ipaddr IPLIKE 10.42.0.208 | ipaddr IPLIKE 10.42.0.209 |
ipaddr IPLIKE 10.42.0.210 | ipaddr IPLIKE 10.42.0.212 | ipaddr IPLIKE
10.42.0.213)]]></rule>
</category>
<category>
<label><![CDATA[Customer1 SQL-Server]]></label>
<comment>This category includes all Customer1
SQL-Servers</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>SQLServer</service>
<service>SQL-Server</service>
<rule><![CDATA[(isSQLServer | isSQL-Server) &
(ipaddr IPLIKE 10.42.0.140)]]></rule>
</category>
<category>
<label><![CDATA[Customer1 Web-Server]]></label>
<comment>This category includes all Customer1
Web-Servers</comment>
<normal>99.99</normal>
<warning>97</warning>
<service>HTTP</service>
<service>HTTPS</service>
<service>HTTP-8000</service>
<service>HTTP-8080</service>
<rule><![CDATA[(isICMP | isHTTP | isHTTPS |
isHTTP-8000 | isHTTP-8080) & (ipaddr IPLIKE 10.42.0.153 | ipaddr IPLIKE
10.42.0.193 | ipaddr IPLIKE 10.42.0.195 | ipaddr IPLIKE 10.42.0.200 |
ipaddr IPLIKE 10.42.0.202 | ipaddr IPLIKE 10.42.0.203 | ipaddr IPLIKE
10.42.0.204 | ipaddr IPLIKE 10.42.0.205 | ipaddr IPLIKE 10.42.0.206 |
ipaddr IPLIKE 10.42.0.207 | ipaddr IPLIKE 10.42.0.208 | ipaddr IPLIKE
10.42.0.209 | ipaddr IPLIKE 10.42.0.210 | ipaddr IPLIKE 10.42.0.212 |
ipaddr IPLIKE 10.42.0.213)]]></rule>
</category>
</categories>
</categorygroup>
</catinfo>
David Hustace schrieb:
>
> On Mar 2, 2007, at 1:52 PM, diouf awa wrote:
>
>> Can someone please send me the original categories.xml and
>> viewdisplay.xml files. I have done some modifications and my web
>> console display an error related to the categories.
>
> Which version of OpenNMS?
>
>
> -David
>
>
> David Hustace
> The OpenNMS Group, Inc.
> Main : +1 919 533 0160 Fax: +1 503-961-7746
> Direct: +1 919 827 1201 Skype: dhustace
> Key Fingerprint: 8EC1 F319 2C1D 3197 AAB9 580F FACD 1D19 175E D903
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> Please read the OpenNMS Mailing List FAQ:
> http://www.opennms.org/index.php/Mailing_List_FAQ
>
> opennms-discuss mailing list
>
> To *unsubscribe* or change your subscription options, see the bottom of this page:
> https://lists.sourceforge.net/lists/listinfo/opennms-discuss
|