Specific Linux Cpu Monitoring to graph

Specific Linux Cpu Monitoring to graph

Helo, im trying to create a custon linux monitor that shows the iowait, system, and user cpu of my RHEL40 servers. But im not able to add the monitors after add them to the hostresource.xml and opmanager_graphinfo.xml

Example for wait cpu :

Hostresourece.xml

<CATEGORY ID="Wait CPU Utilization" command="top b n 1 | grep -i 'Cpu(s)'" parseAll="false" description="Percentage of CPU used is monitored periodically and displayed.">
<ENTITY ID="WaitCPUUtilization" applyThresholdOver="curValue" threshold="Th6" storeHistory="true" units="%" storeValue="100 -curValue" comparePreValue="false">
<PARSE line="1" token="1" name="Processor" isEntityName="true"/>
<PARSE line="1" token="9" name="curValue">
<OPTIONS ignoreCharsFrom="%"/>
</PARSE>
</ENTITY>
</CATEGORY>








opmanager_graphinfo.xml

<DEFAULTGRAPH Name="Telnet-WaitCPUUtilization">
<YAXISTEXT>Percentage</YAXISTEXT>
<DISPLAYNAME>Wait CPU Utilization</DISPLAYNAME>
<name>WaitCPUUtilization</name>
<Vendor>Telnet</Vendor>
<Monitor>Resource</Monitor>
<Description>Monitors the Wait CPU Utilization using Telnet</Description>
<oid>Wait CPU Utilization</oid>
<Provider>CLI</Provider>
<type>multiple</type>
<interval>900</interval>
<THRESHOLDENABLED>false</THRESHOLDENABLED>
<DIAGNOSTICNAME>Lin-Win-Sol-CPU</DIAGNOSTICNAME>
</DEFAULTGRAPH>















Then restart the opmanager server -> add a custom monitor -> Monitor of Wait Cpu doesn't appear to add.

Can you help me please?













                  New to ADSelfService Plus?