Patch Name: PHSS_31005 Patch Description: s700_800 11.X OV ITO7.1X Msg/Act Solaris Agent A.07.25 Creation Date: 04/06/29 Post Date: 04/07/01 Hardware Platforms - OS Releases: s700: 11.00 11.11 s800: 11.00 11.11 Products: ITO7.1X Msg/Act Solaris Agent Filesets: OVOPC-CLT.OVOPC-SOL-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64,v=HP OVOPC-CLT.OVOPC-SOL-CLT,fr=A.07.10,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: Yes PHSS_31005: ABORT PHSS_30205: ABORT Category Tags: defect_repair general_release critical halts_system Path Name: /hp-ux_patches/s700_800/11.X/PHSS_31005 Symptoms: PHSS_31005: Change Request: 8606353730 opcmsga may log OpC20-184 warning in opcerror while starting the agent at anytime (even if there was no message removed): 03/03/04 17:36:47 WARNING opcmsga (Message Agent)(2592) [genmsga.c:789]: Removing messages with lower severity from buffer file successful. (OpC20-184) Change Request: H555013082 opcmona could abort if OPC_MON_MSGOBJ_COND_FIRST TRUE is set and there is no condition default msg_object. Change Request: H555012193 Logging to opcerror file may fail if a process has more than 256 file descriptors open due to a bug in operating system. Change Request: B555022783, B555022709 opc_inst script does not have user friendly interface and does not log error messages during installation. Furthermore when error occurs it continues to execute without notice. Change Request: 8606346413 The manual agent installation with opc_inst does not update the component version numbers in the agents opcinfo file and does not set the management server name automatically. Change Request: B555015566 It should be possible to use variables for the policy name when specifying program sources. Change Request: H555011117 OVO8 HTTPS based agent are overwritten by OVO7 agent installation. Change Request: H555011875 opcctla core dumps during agent registration (opcagtreg -add regfile.reg) if AGENT ID is the same as the one of already registered agent. Change Request: H555011802 After rebooting, the OVOA can not start automatically. The command "opcagt -start" displays "Error opcctla (Control Agent)(13988) : Cannot read contents of file /var/lpp/OV/tmp/OpC/pids. (OpC20-64)". File: /var/lpp/OV/tmp/OpC/pids has ZERO size. Change Request: H555013432 Agent installation could fail due to incorrect disk space checking. In case there is not enough disk space on / filesystem, it is allowed to create symbolic link pointing to a filesystem with enough disk space: mkdir -p /bigdisk/OV ln -s /bigdisk/OV /opt/OV When agent package is being installed, pkgadd checks for sufficient disk space on $BASEDIR and if there is not enough disk space, installation would fail. Change Request: 8606348297 opcnetchk is designed to test basic types of communication like TCP, ICMP and SNMP in one step without having the possibility to select/test each type of communication individually. Change Request: B555030766 If an agent is running as a non-root user (changed with opcswitchuser.sh), opceca and other MSI programs that are running as agent user cannot connect to the MSI. Change Request: 8606347268 OVO does not offer Java APIs for opcmsg and opcmon similiar to the ones that are available for C. Change Request: R555026293 In case the agent is running in cluster aware mode, the distributed ServiceDiscovery policies do not get updated during runtime, but it is necessary to restart the agent to activate the policies. Change Request: B555032445 Usually, all sub-agents are terminated if the node type is changed from 'controlled' to 'unmanaged'. All the sub-agents are not restarted if the "unmanaged" node is changed back to "controlled". Change Request: B555026161 opcapm stops right after startup. It may send the message Opc30-3220. Change Request: B555028360 opcapm reports error opc30-3280 with an empty cluster name. Change Request: H555010797 Opcapm aborts on Veritas cluster nodes or fails to enable/disable templates at application failover on Sun Cluster. Change Request: B552001603 opcactivate/opcdeactivate usage text did not reflect current state of supported features by these tools. Change Request: B555029983 There is a typo within error message OpC30-1139 (operaition instead operation). Change Request: 8606355743 opctemplate exits with this error on nodes using the RPC_DCE_UDP communication type: Can't convert location: Protocol sequence not supported (dce / rpc). (OpC20-122) Change Request: B555022224 State-Based Advanced Monitoring of CODA values does not send Msgs to reflect the current state. Change Request: B555032246 The message storm circuit may not detect a second message storm and later on, you may see that opcecm even aborts. Change Request: B555031796, 8606182742 Temporarily unavailable logfiles (e.g. NFS umounted) are treated as empty and you get the OpC30-108 error: Logfile ... doesn't exist. Treating as empty. Once they are available again they are read from the beginning. Change Request: B555023880 Some Coda Policies generate an operator initiated action to show the Fileystem graph. This action sometimes fails, and displays: Error in generating report No data found in the selected date range Change Request: 8606351529 Problem with message forwarding between OVO/W 7.x and OVO/U 6.x. Change Request: B555017592 An application that uses the opcmsg() or opcmon() API calls and that is linked with the -Bimmidate flag will abort, reporting that there is an unresolved symbol GetLastError(). Change Request: 8606327444 Processes started by the agent inherit environment variables from the parent processes. There is no way to specify which variables are allowed and which should be unset. Change Request: H555012990 In case of monitor messages with reset message generation, the value of MSG_TIME_CREATED for the reset-message gets the same value as the message generated after exceeding the threshold value. The value of "Time First Created on Managed Node" in message details is the same for both messages. Change Request: H555012991 Messages of monitor templates are still arriving to management server, although templates have been disabled by opctemplate -d command. Change Request: B555028060 opcmona places the OVO paths at end of $PATH instead of in front which causes a delay in application starts if the PATH contains NFS mounted directories. Change Request: B555027814 The agent could not send proxied messages for switchable addresses in a cluster environment. Change Request: 8606359109 opcnetchk -p does not display info for each configured port in opcinfo Change Request: 8606358227 The cpu_mon.sh script does not return an error even if the data collection fails. PHSS_30673: Change Request: H555012683, B555031808 Installation of HPlwdce does not remove old startup/shutdown scripts from the managed node. PHSS_30205: Change Request: R555026193 An Advanced Monitor only sends one message per threshold the first time the threshold is reached in a monitor template with multiple conditions. Change Request: 8606321177 The size of the buffer file msgagtdf is not set to zero, nor is msgagtdf deleted, after connection to the management server is re-established and agents are stopped and restarted. Change Request: 8606310908 If a logfile size is increasing rapidly, faster than opcle can process it, duplicate messages may not be suppressed. Change Request: B555015967 The control agent may restart the service discovery or llbserver sub-agent endless in case they abort. Change Request: B555026668 <$MSG_OBJECT> is never replaced with the Object set in the template condition that is producing the message. Change Request: B555021669, B555024574 opctrapi/opcevti may fall behind during storms of traps, and as a result it is disconnected from pmd. Change Request: 8606322495 opctemplate returns always exit code zero, even if it fails or a template does not exist. Change Request: B555017581 The monitor agent may produce very large error messages each time policies are redeployed. Change Request: H555011985 osspi-linux-logins_2 policy creates a file in /tmp every minute if the destination file for opcfwtmp binary is not on the same file-system Change Request: B555023264 <$MSG_OBJECT> is never replaced with the Object set in the template condition that is producing the message. Change Request: 8606331393 The version of sar on Solaris 9 server does not work with the monitor for CPU utilization, cpu_mon.sh. It looks like the average line record for the overall value is not being returned which is what cpu_mon.sh expects to get. Change Request: B555018953 In trap conditions, $MSG_NODE_NAME is replaced by the trap sender's name, not the trap's agent address name. These names can differ in a proxied environment. Change Request: H555008553 itochecker was only able to collect information from the management server. There was no possibility to collect information from the managed nodes. Checking the kernel parameters did not return the correct values. No information about opcerror was gathered by itochecker. Change Request: B555018506 Want a command to return the type of agent. Change Request: B553010671 Postinstall script failes and does not finish installing. As a consequence when opcagt -start is issued similar output is produced: ----------------------------------------------- ld.so.1: /opt/OV/bin/OpC/install/opcnls: fatal: libnsp.so: open failed: No such file or directory /opt/OV/bin/OpC/opcagt[373]: 22636 Killed ----------------------------------------- Change Request: R555026123 The monitor agent may not do threshold checking on multiple source policies in case there are no instance names that match and the policy is configured to process all instances separately. Change Request: 8606343025 When tracing is enabled, the command "opctemplate -d" returns the error "OpC20-186" and it cannot do disable templates. Change Request: 8606315885 If a resource group on an active cluster node is taken offline then the policies configured in the XML file do not get disabled. Change Request: B555015548 The built-in ECS annotation server (opcecaas/opcecmas) may start looping or even abort. Change Request: B555020612 Duplicate suppressing is inconsistent, when using a mix of counter/timer or when default settings are set and more settings are added in the conditions. Change Request: H555011381 The Message Agent may occasionally abort on a fast multiprocessor system. Change Request: B555022945 Distribution of monitors fails with OpC20-65/66 if system resources are low and memory allocation fails for the monitor file. Change Request: B555018732 You may receive the error "Illegal value( function ) (OpC10-13)" in the opcerror file reported by the process opcecaas or opcecmas. Change Request: H555011662 A forked opcmona process might abort if tracing is enabled although OPC_TRACE_CHILD is NOT set in the opcinfo file. Change Request: 8606323486 opcswitchuser.sh only works if the specified group is the primary group of the specified user. All other groups are rejected: "ERROR: Group ... does not exist". Change Request: 8606314327 When deleting the OVO agent on Solaris or Tru64 system the file /etc/group "group" name changes (ownership). This should not occur. Change Request: R555022489 opcle may generate garbled messages in Japanese environments. Change Request: 8606325445, B555021772 opctemplate help information is incorrect. opctemplate - enable is shown in the help, but the correct command is opctemplate -e. Change Request: B555018987 opcagt -status and opctemplate may erroneously report: Error opctemplate(24470) : opcctla not running on node . (OpC30-3002) Cannot connect to RPC service at system 'ncacn_ip_tcp:[]'. Local port configuration has been consulted - rpcd/llbd on remote system not queried. (OpC20-186) Change Request: 8606333207 The Logfile Encapsulator may lose messages when monitoring files that periodically get renamed. Change Request: 8606323492 OVO 7.20 agent on Solaris the man-page of opcswitchuser states: To always start the agents under the new user account after a system reboot, modify the agent startup scripts, for example /sbin/init.d/opcagt on HP-UX and /etc/init.d/opcagt on Solaris. Add the same user you have specified with opcswitchuser.sh to the line "USER=". Checking /sbin/init.d/opcagt on HP-UX you can properly find this "USER=" line and a respective if-clause for the startup of the agent. However on Solaris in /etc/init.d/opcagt this variable does not exist at all and there is also no built-in possibility to start the agent as different than root-user at boot-time. Change Request: H555010925 The following error message appears in opcerror file: >> Cannot retrieve value of type 'MDT_UINT32' in column '4' of interval '0'(OpC30-762) << Change Request: B555023808 opcmona does not replace <$MSG_OBJECT> properly. Change Request: B555025523 Enhance opcagt for coexistence with future versions of components. Change Request: H555011234 opcacta often reports a mutex error (OpC20-1055) and a wait(2) error (OpC20-413). After the error, opcacta is running and can execute the request. But it cannot return the action result to the requester. Therefore OVO operators cannot receive the action result. Change Request: B555019025 opcswitchuser.sh allows for a non existent group to be assigned. Change Request: R555025398 The logfile encapsulator loses one file handle per configured interval, if all of the following conditions are met: - the logfile name is dynamically evaluated via a script - the script returns file names that cannot be opened - the logfile template defines a 'file to be read' Under these conditions the 'file to be read' will be opened over and over. Change Request: H555009905 If the agent is manually installed on the node, opc_inst does not cleanup after itself once the installation is completed. The installation packages remain in the installation directory as does the opc_inst script. Change Request: H555011688 Messages are sent with wrong ip address from agent to mgmt_sv. Messages are forwarded with the ip address specified in /etc/hosts instead of using the value in OPC_IP_ADDRESS. Change Request: 8606342477 Agent installation fails on nodes where /opt is automounted. Change Request: 8606259930 By default the communication type for Solaris nodes is NCS and is not a hand shaking protocol. Change Request: 8606321611 opctemplate fails under NAT configuration if using comm type of NCS. It works for DCE nodes. PHSS_29645: Change Request: B555019974 The corrupted message catalogue file for 'ja' locale is included in PHSS_29355 and ITOSOL_00241 patches. Because of that agent can not be started if configured for 'ja'locale. Change Request: H555010800 DCE daemon stops or hangs on the system when it gets invalid data. PHSS_29355: Change Request: H555009399 opcmona cores if invalid string is tried to be converted. Change Request: B555014574 opcagt -start/-stop/-status doesn't work correctly, if the currently running agent can't be reached over RPC. Change Request: R555023646 opcmona aborts when executing Perl Scheduled actions or Advanced Monitors that use perl. Change Request: B555016456 Customer used opcswitchuser to change identity under which the OVO agent runs. After that the coda process does not start anymore writes the following error to the logfile. CODA database access denied, check permissions. Change Request: B555014691 In case the node attribute in automatic and oper-init actions in msgi templates was empty, the value of <$MSG_NODE_NAME> was used, which is misleading. Now <$MSG_GEN_NODE_NAME> is used instead. Change Request: 8606298307 If there are many messages in the console that have a big original message text (like from WMI: WINOSSPI- ADS_DomainChange), the Console grows in memory usage. Change Request: R555018044 The monitor scheduled command policy will be executed only once. Change Request: B555015199 If OPC_IP_ADDRESS (nodeinfo) and OPC_NAMESRV_LOCAL_NAME (opcinfo) were used in combination the entry in OPC_IP_ADDRESS was not used in the right way. Change Request: B555012869 Instead of using the trap's UUID, the trap interceptor created a new message id for all but the first trap template. The original message id was not set correctly in these cases. Change Request: 8606300991 Logfile Encapsulator policy version is not updated in message details after deployment of new version, but policy is already working with the newest version. Change Request: R555022806 The Monitor Agent may abort when using VB or Perl scripting to write data into CODA. Change Request: B555016324 Coda does not restart after using opcswitchuser. Change Request: H555010496 When changing subagent registration data, opcagtreg informs the Control Agent of the change (if it is running). The Control Agent then reads the new registration file and stops/starts the processes based on the new data. During comparison of old and new data, a NULL pointer could be used in a strcmp() call which caused crashes. Change Request: H555008548 Program using opcagtmsg_send() repeatedly dies when opcagt is killed. Change Request: B555006064 opc(r)agt does not support -cleanstart option. Change Request: H555010571 Message agent could die when sending message in NAT environment. Change Request: H555008582 LANG value in start-up script is not set correctly for Tru64, AIX, Solaris and Linux agent. Change Request: B555017068 A.07.12 changed the behavior of opcle: Newly created logfiles that are discovered by the dynamic logfile discovery functionality are now read from begin. But often this is not what is desired, for example if using DBSPI with new instances that need to be monitored. Change Request: B555016477 Monitor agent aborts with signal 4 if a CODA policy is assigned, but CODA is not running. Change Request: B555017407 The process opcmona shows memory leaks in different areas. 1. When using WMI sources in the Measurement Threshold Policies 2. In case the monitoring of CODA sources fails and needs a reinitialization. 3. When either using the Policy.SourceEx method of scripting or upgrading policies very often. Change Request: H555010422 opcmsga binds to NATed IP causing long delays in message sent. Change Request: 8606304320 The <$LOGFILE> variable is not expanded if used in the message key field. The correlation will not work as expected. Change Request: 8606290675 Agent should report 'agent start' into the opcerror file. Change Request: 8606301574 If values are assigned to a user defined variable in a rule of a logfile policy, this variable could not be used in the Message Default Settings. Change Request: R555018185 If the agent is started in Simplified Chinese codeset, monitor agent, logfile encapsulator and message interceptor processes will fail. Change Request: B555015592 Child processes of opcmona may hang indefinitely. Message OpC30-610 "Can't start monitor script for object .... Script still running." is generated. Change Request: 8606313801 If the server entries in mgrconf are not all resolvable. When the agent restarts, the initialization fails. Change Request: B555015155 Errors in the opcerror file are not written to the trace file. This makes it difficult to find the place in the trace file where the error occured. Change Request: B555017631 OVO/Unix should support ECS 3.2. Change Request: B555018498 A measurement threshold policy with a single external source that is deployed from a OVO Windows Management Server may miss the first value send through an opcmon call. Change Request: H555010468 opc(r)agt does not have an option to remove queue and temporary files. Change Request: H555010494 When Solaris agent is installed on managed node that has Japanese-EUC character set, during agent installation a warning message is displayed saying: WARNING: Unsupported language euc received from Management Server, C assumed locally on Managed Node. Change Request: H555010231 opcctla aborts when certain policy is deployed on the node. Change Request: 8606300119 The logfile encapsulator does not return the last line of a logfile immediately, if there is no carriage return in this line. Change Request: H555010288 Lightweigth DCE unnecessarily queries LDAP server. Stopping lwDCE stops the queries and starting the lwDCE starts the queries again. PHSS_28948: Change Request: B555015785 opcecaas may report that it runs out of free process slots and therefore can't start anymore process. Change Request: B555008674 The opcagt and the opcragt commands have a new option '-version'. In both man pages, this was not documented. The new option was not part of the usage strings of opcagt and opcragt. Change Request: B555015479 When executing opcagt -kill there sometimes still remains an entry for the Control Agent (opcctla) in the pids file. This should not happen because the opcctla isn't running anymore. Change Request: B555015626 opcif_read() doesn't return data if the signal pipe is empty, but there is still more data in the queue file. This can for example happen if the maximum pipe size of 8192 bytes was reached and therefore no more signal bytes could be written into the signal pipe. Change Request: B555015496 Queue file handling was inefficient for larger queue files. Change Request: B555015449 Monitor agent may abort while receiving templates/policies. Change Request: B555015047 opcecaas (Annotation Server) might log error "Illegal NULL parameter (function ) (OpC10-11)" with many similar lines. Change Request: B555015557 The current implementation of the control agent does not allow to restart aborted sub agent processes. Change Request: 8606282247 Logfile Encapsulator does not perform variable replacement for all Message Defaults fields. Change Request: B555015331 The monitor agent, opcmona, may report wrong results of executed monitor scripts or programs when using many 'advanced monitors' such as OVPERF. In some of these cases opcmona might even abort. Change Request: B555015712 The trap/event interceptor forwards traps with the source address 127.0.0.1 unchanged, therefore they are discarded by the management server due to the unknown source address. Change Request: B555015758 opcmsgi aborts if one of the set attributes has an unmatched '<'. Change Request: B555015349 The monitor agent might abort while using templates/policies that have an external source specified. Change Request: B555015325 opcmsga wrongly generates a message OpC30-3002 'opcctla not running on node localhost.' when receiving a reconfigure signal, or at exit time. Change Request: 8606297998 The ECS engine (opcecm & opceca) might have problems when a circuit is using global dictionaries. (This is the case for the MessageStorm detection ECS circuit). PHSS_27544: Change Request: 8606189243 Utility for checking basic types of communication between OVO server and agents is missing. Change Request: H555008602 If setting OPC_RPC_ONLY to TRUE in opcinfo, after a while the message agent core dumps. Change Request: R555019153 When deplying policies from a Windows management server and using the "StoreCollection" method within the Perl or VBScript, the monitor agent might show the Policy name instead of the given metricname or may abort. Change Request: B555014591 When the OPC_INT_MSG_FLT is set to TRUE then the filtered message is received corrupted on the server in a Japanese environment. Change Request: B553003927 opcmsgi leaks memory when handling messages with custom message attributes. Change Request: B555014942 The opcle process loops if a logfile is removed while it is read. Change Request: H555006719 If the agent is running as a non-root user and the management server processes are restarted, the agent does not resume sending messages but continues to buffer the messages. Change Request: B555014851 opcmsga sends the same message operation (e.g. an acknowledge request created by opcmack(1) ) again and again if the related message is not in the cache and one of the target managers can not be reached. Change Request: B555013891 In MoM environments, opcmsga does not return action responses to SECONDARY managers, if their name is not resolvable. Change Request: H555008631 Customer receives a lot of OpC20-61 and OpC20-63 messages in the error logfile when using NCS agents. Change Request: B555014093 opcmona may crash (UNIX) or doesn't process all SCHEDULE templates (Windows) when using SCHEDULE templates. Change Request: H555009306 Sun Cluster 3.0 was not supported by OVO management server. Change Request: 8606262299 The logfile encapsulator reports that the File to be executed for preprocessing of a logfile template failed. This error occurs randomly and only from time to time. You will get an error message similar to the following: Command 'opcfwtmp /tmp/wtmp.stat /var/adm/wtmp /tmp/wtmp.out' configured in source 'Logins (10.x/11.x HP-UX)' returns 1. Ignoring this logfile. (OpC30-107) Change Request: R555017956 The monitor agent is terminated if you use a session variable within the message text of a template followed by any other variable (for example $INSTANCE). Change Request: R555018043 Japanese characters in Perl scripts within templates don't get converted correctly into the server code set. If the Japanese characters are used as message text for example these characters are corrupted. Change Request: B555014715 The Control Agent slowly grows in memory usage. Change Request: B555014215 The port should be configurable where opctrapi listens for incoming traps. Change Request: H555006934 After agent installation internal messages are sent with wrong codeset. Change Request: B555013719 Message agent doesn't stop message buffering when the management server is available again after a network outage, fixed DNS problem or similar. This can happen when the agent restarts/the machine reboots during the network problem occurred. Change Request: H555008275 Message Agent can hang for no apparent reason and stop sending all messages to the Management Server regardless of its state. Change Request: 8606187183 After deploy/undeploy of opcmsg policies/templates the suppressing times are lost. Messages that should be suppressed after a deploy/undeploy of policies/templates are shown. Change Request: B555014667 The first lines of a logfile are not forwarded to the message browser when using a command to discover logfiles and the logfile was created after the first polling interval. Change Request: 8606232431 VPO tries to resolve node name that only contains only blanks because of typo in template definition or variable assignment. Change Request: B555014873 The exit code of commands executed through an ECS annotate node and the OVO annotation server is always 0. Change Request: B555014771 The opcqchk support utility dumps message operations (e.g. acknowledge requests from opcmack) only as hex dump so it would be nice to have some readable output. Change Request: B555014132 During a distribution the agent may report an error like: ITO responsible manager configuration. (OpC30-1203) System Error Number: 13 (d) - The data is invalid. (OpC20-63) Change Request: B555013548 The manual agent installation script opc_inst expects compressed packages. So if you run it a second time nothing happens because the packages are already uncompressed. Change Request: B555009284 The authorization verification for remote start and stop requests of the agent was sometimes unreliable. Possibly this allowed more OVO servers to start or stop the agent, than specified in the MoM configuration. Change Request: 8606242614 Messages are incorrectly suppressed by the logfile encapsulator if "suppress identical output messages" is specified and the messages differ only in the values of <$LOGFILE> and/or <$LOGPATH>. Change Request: B555013620 Support for pmd's "u" option needed in opctrapi: use the UDP packet's address as source of the trap. Change Request: B555014759 When enabling/disabling policies you might discover a memory leak in the agent processes. Change Request: H555008529 If a process dies immediately after being started by the Control Agent, it is possible that OpC30-1094 messages start appearing in the error logfile. Defect Description: PHSS_31005: Change Request: 8606353730 The agent may report OpC20-184 during startup or after a management server reboot. This message can be safely ignored. This message indicates, that the opcmsga performed a cleanup of the msgagtdf file to remove empty entries, but it doesn't remove any messages. Change Request: H555013082 opcmona could abort if OPC_MON_MSGOBJ_COND_FIRST TRUE is set and there is no message condition default set. Handling of message conditions was improved in order to prevent opcmona from aborting. OPC_MON_MSGOBJ_COND_FIRST is FALSE by default. Change Request: H555012193 A workaround has been added to the code by using regular write calls instead of streams related ones if fdopen() fails. Change Request: B555022783, B555022709 User friendly interface was added. Outputs of the installation are recorded in opc_inst.log file in installation directory. When error occurs user is asked whether he would like to continue despite of the error. If "Yes" installation continues otherwise user is asked if installation should be removed. After that, user is also asked if installation files should be deleted. All three answers can be specified as command line arguments as described in usage obtained by issuing opc_inst -h. Change Request: 8606346413 The agent component versions have to be updated in the opcinfo file and the user has to get a note that the agent has to be activated with opcactivate(1m) to set the name of the management server. Change Request: B555015566 The execute command made by the monitor agent does allow additional processing now, this allows special opc defined variables for the policy/monitor/source name to be resolved. Variables: <$NAME> name of the template or policy <$SRCNAME> name of the source for a template this would return nothing, i.e. empty string <$FULLNAME> name of the policy and the source (concatenated with -) as defined for policies for templates this would return the same as <$NAME> The <$ character combination can be suppressed with the \ escape character. If the <$ character combination is found, but the variable is unknown or no closing bracket (>) is found, then no substitution is preformed. Parsing for escape characters would be limited to the characters directly before a known variable. (i.e. see examples 3,4 It would be possible to disable this for a node via the OPCINFO/NODEINFO key; OPC_MON_DISABLE_PROG_VARS TRUE Examples: Policy: SNMP-service-Win2k with source name service Example: 1 Definition: ovntprocs SNMP <$NAME>-<$SRCNAME> Resolved: ovntprocs SNMP SNMP-service-Win2k-service Notes: Create required name for opcmon from both the policy name and source name variables Example: 2 Definition: ovntprocs SNMP <$FULLNAME> Resolved: ovntprocs SNMP SNMP-service-Win2k-service Notes: Resolves to the combined policy and source name. Example: 3 Definition: ovntprocs SNMP \<$FULLNAME> Resolved: ovntprocs SNMP <$FULLNAME> Notes: Single escape character therefore variable is ignored Example: 4 Definition: ovntprocs SNMP \\<$FULLNAME> Resolved: ovntprocs SNMP \SNMP-service-Win2k-service Notes: Double escape character, resolved to single and variables resolved. Change Request: H555011117 Agent installation will fail if OVO8 HTTPS based agent is already installed on the managed node. Change Request: H555011875 A NULL pointer is present in string comparison when executing opcagtreg -add reg, AGENT_ID is the same as already registered agent and certain fields in reg file are missing. SOLUTION: Added check for NULL pointer and set problematic string to "". Change Request: H555011802 Agent was changed not to mishandle zero sized pids file. Change Request: H555013432 It is now possible to install agent to systems with low disk space on / filesystem in case /opt/OV is linked. Disk space checking done by pkgadd is now disabled, because complete disk space checking is done by agent installation scripts. Change Request: 8606348297 It was not possible to test communication types individually. -t option has been added in order to allow the user to choose either tcp, icmp, or snmp. Change Request: B555030766 The MSI allows now access for non-root programs that run as the same user as the agent and opcswitchuser.sh will change the permissions on some more directories that are required for ECS. Change Request: 8606347268 The OVO agent now includes Java OVO API wrapper classes. To use the Java OVO API wrapper classes, your classpath variable must include the jopcagtbase.jar and jopcagtmsg.jar files and your java.library.path system variable must include the directory where the shared library files reside. See /opt/OV/www/htdocs/jdoc_agent/index.html for a javadoc style class documentation. Change Request: R555026293 The control agent doesn't inform the ServiceDiscovery subagent about newly installed/updated policies in case the agent is configured in cluster aware mode. This is caused by an invalid handling of those policies by the control agent. At the time those policies should be updated, the control agent lost track which of the existing policies have been changed and treats them all as unchanged. Change Request: B555032445 opcctla only attempts to restart subagents with the id of 1. Now it attempts to restart all subagents whenever a configuration is distributed to the agents. If the user does not want the additional subagents to be restarted, then they should deregister the subagent using opcagtreg. Change Request: B555026161 opcapm stops right after startup while sending the message Opc30-3220. The cause is a wrong handling of the specified start/stop commands for a cluster package. In case such a command fails, the opcapm just stop processing. This has been changed to handle this error without stopping the whole opcapm. Change Request: B555028360 opcapm reports error OpC30-3280. This error message is missleading, because actually it means, that this is either no cluster node or the cluster service is not running. opcapm reports a new error message OpC30-3288, which should is more meaningful, telling that it is not possible to connect to the cluster node. Change Request: H555010797 opcapm expects system name in instance name field of opcapm.xml file which is wrong, since instance name is supposed to be the name of instance as used by the application. This causes opcapm malfunction on failover (Sun Cluster) or even abort on startup (Veritas). SOLUTION System name, which is needed by opcapm, is now obtained directly from system instead from apminfo.xml file. Change Request: B552001603 Correct manpage and usage of tools Change Request: B555029983 Typo was removed. Change Request: 8606355743 opctempalte only attempted to connect to opcctla via TCP. Now it checks nodeinfo in order to decided which protocol to use. Change Request: B555022224 Advanced Monitoring only sends a msg the first time a state is entered. Currently if a template has three thresholds of 75,50, and 25 and the values of 33, 55, 88, 60, 30, and 10 are given, msgs are only sent for 33, 55, and 88. A reset msg is sent for 10 which attempts to acknowledge the 25 threshold which is no longer in the browser. Now, messages are sent for 33, 55, 88, 60, and 30. The reset message then acknowledges the correct message. OPC_MONA_MSG_PER_STATE has been added to reflect this behaviour. TRUE (default) reflects the correct behaviour. FALSE has opcmona return to it's previous behaviour of only sending one message per state. Change Request: B555032246 The message storm circuit may not detect a second message storm and later on, you may see that opcecm even aborts. Change Request: B555031796, 8606182742 There was a new opcinfo varibale introduced: OPC_LE_IGN_TEMP_UNAVAIL If it is set to TRUE within opcinfo: OPC_LE_IGN_TEMP_UNAVAIL TRUE then temporarly unavailable logfiles will not be treated as recreated/truncated logfiles when they have been unmounted and mounted again. The information about the file position will be saved during the file is unavailable. Change Request: B555023880 Some unsigned integers are printed as signed. Change Request: 8606351529 Certain attributes of the message are modified by the 7.x opcmsga and therefore, can not be read on a ITO 6.x server. Now, when OPC_MSGA_ITO6_COMPAT_MODE TRUE is set in opcinfo, opcmsga does not modify these attributes. Therefore, they can be read by an ITO6 message reciever. Change Request: B555017592 An application that uses the opcmsg() or opcmon() API calls and that is linked with the -Bimmidate flag will abort, reporting that there is an unresolved symbol GetLastError(). Change Request: 8606327444 Processes started by the agent inherit environment variables from the parent processes. There is no way to specify which variables are allowed and which should be unset. New setting has been added to opcinfo file to specify a list of environment variables that are allowed : OPC_ALLOW_ENV_VARS VAR1,VAR2,... If this option is configured, all variables that don't match any variable from the list (case is string sensitive), is unset. This means that variables are still visible by child processes, however they have empty value. The following variables are used internally and can not be unset : DMS_FORCEOFF, RPC_RESTRICTED_PORTS, HPDCE_CLIENT_DISC_TIME, PATH, LANG, LC_ALL, LC_MESSAGES, LC_CTYPE, NLSPATH, OPCLANG, DISPLAY, TZ, READFILE, OPCCTLA_IS_DAEMON, OPCCTLA_START_AGENTS_PARAM, OPCCTLA_DAEMON_STOP, OPCCTLA_DAEMON_RESTART, OPCCTLA_DAEMON_CONFIRM, OPCCTLA_DAEMON_REMOVE_QUEUE, RPC_DISABLE_LOCAL, CSMMGRCONFIG, CSMNODECONFIG, OPCICONIFY, OPCSESSION, OPCUID, OPCGID, OPCGRPGID, OV_BIN, OPCLOGIN, ITO_SYNC_ONLY, ITO_OVW_CACHE, HPUSER, HPACCOUNT, HPSYSNAME, HPRELVERSION, HPVERSION, SYSTEMROOT, WINDIR, INIT_STATE, ECEVTTRC, ORACLE_HOME, ORACLE_SID, OPC_OP_PASSWD, OPC_HOME, HOME, SHELL, XFILESEARCHPATH, OvAgentDir, OvInstallDir, OvDataDir, OVwRegDir, OPCCTRL_FIFO, OVwSessionID, OPC_TRACE_SHOW, REQUEST_METHOD, CONTENT_LENGTH, QUERY_STRING, SystemRoot, SystemDrive, OPCSETUPDRIVE Change Request: H555012990 Variable MSG_TIME_CREATED gets copied in case of monitor messages with reset message generation. The reset-message gets the same value of MSG_TIME_CREATED as original message generated by exceeding threshold. SOLUTION: MSG_TIME_CREATED property of the reset-message now gets newly set instead of just copied. Change Request: H555012991 Another reconfig request arrives when previous one is still in progress, which causes the new request to be ignored. SOLUTION: Another flag was introduced, which triggers additional reconfig, after the first one finishes. Change Request: B555028060 opcmona places the OVO paths at end of $PATH instead of in front which causes a delay in application starts if the PATH contains NFS mounted directories. Change Request: B555027814 Added an opcinfo variable, OPC_SET_PROXY_FLAG_FOR_IP_ADDRESSES where is a comma-separated list of local addresses that will be used to generate 'proxied' messages instead of local ones. Change Request: 8606359109 opcnetchk did not parse the file correctly. It now correctly parses the port configurations. Change Request: 8606358227 The cpu_mon.sh script gathers the CPU usage then feeds it into awk but only awk errors are checked and not errors during the gathering. PHSS_30673: Change Request: H555012683, B555031808 HPlwdce 1.1.4.21.3 introduces new startup/shutdown scripts, but does not remove old startup/shutdown scripts if they exists at the installation time. Because of this, status of HPlwdce could be partially installed. New Hplwdce 1.1.4.21.4 removes old startup/shutdown scripts. This way status of HPlwdce becomes "completely installed". PHSS_30205: Change Request: R555026193 An Advanced Monitor only sent a message the first time a threshold is reached. For example, if a template has three thresholds of 75, 50, and 25 and the values of 33, 55, 88, 60, 30, and 10 were given, messages were only sent for 33, 55, and 88. A reset msg is sent for 10 which attempts to acknowledge the 25 threshold which is no longer in the browser. Now, messages are sent for 33, 55, 88, 60, and 30. The reset message then acknowledges the correct message. The opcinfo variable OPC_MONA_MSG_PER_STATE has been added to reflect this behaviour: TRUE (default) reflects the new and correct behavior. FALSE has opcmona return to it's previous behaviour of only sending one message per state. Change Request: 8606321177 The message agent does remove the free entries from the double buffer file (msgagtdf) regularly. Change Request: 8606310908 Added OPC_LE_MAX_LINES_READ variable for opcinfo. If it is not set, then the default of 50 lines are read with each interval. If it is set, then the number of lines that is specified will be read. If it is set to 0, then an unlimited number of lines will be read. Change Request: B555015967 The control agent may restart the service discovery or llbserver sub-agent endless in case they abort very quickly after being started. Change Request: B555026668 <$MSG_OBJECT> is now replaced with the Object set in the template condition if it is set and OPC_MON_MSGOBJ_COND_FIRST is set to TRUE in opcinfo. Change Request: B555021669, B555024574 1. The original message text is now evaluated once per trap (no longer once per trap and template). This change can speed up opctrapi up to 50% when many trap templates are used. 2. opctrapi will now evaluate an opcinfo variable OPC_SEND_MAX_ONE_MSG_PER_TRAP. If set to TRUE, opctrapi will skip processing further templates for a trap after one template generated a message out of this trap. NOTE: Disconnection from pmd is still possible but will happen less frequently. Change Request: 8606322495 opctemplate returns always exit code zero, even if it fails or a template does not exist. Change Request: B555017581 The monitor agent may produce very large error messages each time policies are redeployed. Change Request: H555011985 libc routine move() cannot move a file across two file-systems so it fails with EXDEV errno and leaves the source file untouched. In case move() fails with EXDEV errno the custom move function will move the file across two file-systems (it will do a copy and unlink of the source). Change Request: B555023264 <$MSG_OBJECT> is now replaced with the Object set in the template condition for threshold monitors if it is set and the opcinfo variable OPC_MON_MSGOBJ_COND_FIRST is set to TRUE. Change Request: 8606331393 The sar utility output was changed for solaris 9 in a way that it no longer provides the average cpu load output. The parsing of sar output had to be changed in order to cope with the new situation. Now the cpu_mon.sh utility collects all interval values and computes the average value for cpu loads itself. Change Request: B555018953 <$MSG_NODE_NAME> is now set correctly to the trap override node name. Change Request: H555008553 itochecker_agt and its configuration file itochecker_agt.conf were introduced. Checking the kernel parameters now returns the correct values. An additional option (8) was added which gets the opcerror file on the management server. Change Request: B555018506 opcagt -type will now return the type of the agent. Change Request: B553010671 In postinstall script when checking for opcgrp entry in NIS, wrong table name was specified: password.bygroup when group.byname should be used. SOLUTION: Use correct table name: ypcat group.byname Change Request: R555026123 The monitor agent had a problem that it does thresholding against multiple source policies even when they are configured to process each instance separately. This threshold checking was done for the first set of instances found, but not for all. This behavior has been corrected, but the result is that policies that rely on this behavior will no longer work. In order to prevent this, the old behavior has been reintroduced. Two opcinfo variables exist to configure the monitor agent behavior. If no instance is available in all sources the script is called once. By setting the nodeinfo variable POLICY_NO_INST_CALL_SCRIPT to FALSE it is possible to define that the script is not called if no matching instances are available. If the nodeinfo variable POLICY_NO_INST_SEND_MSG is set to TRUE a warning message is created if no matching instances are available. The message contains also the available instances for all sources. The default is that no message is created. Change Request: 8606343025 When tracing is enabled the opcctla terminates with SEGV because of the NULL string pointer access by strlen() clib function in turn used by printf. The defect was fixed by testing for NULL value of the string pointer before it is passed to printf fucntion. If the pointer is NULL then the default string will be used instead of the missing value. Change Request: 8606315885 If a resource group on an active cluster node is taken offline then the policies configured in the XML file do not get disabled. Change Request: B555015548 opcecaas can abort or exit in situations when there are several parallel annotate nodes running. Change Request: B555020612 Default suppressing setting is now used, if the setting is not made in the condition itself. The mix of counter/timer works like it was described before: First the timer is checked - all messages that go through this go into the counter check afterwards. Change Request: H555011381 Nonreentrant library calls were used. The potential for problems is often not caught until the code is placed under heavy load on a multiprocessor machine. Calls such as ctime, gmtime, readdir, localtime... can corrupt the process' heap and cause crashes in unrelated areas. Change Request: B555022945 Distribution of monitors fails with OpC20-65/66 if system resources are low and memory allocation fails for the monitor file. Change Request: B555018732 The error "Illegal value (function ) (OpC10-13)" is accidentally reported by opcecaas/opcecmas when using the built in ECS annotate server as well as a custom annotate server. The built in annotate server misinterprets the annotate requests for the custom annotate server and logs an error instead of ignoring those requests. Now it ignores those requests and only logs a note to tracing about the rejected request. Change Request: H555011662 The trace file mutex shouldn't be reinitialized if tracing of child process is not enabled. Change Request: 8606323486 The check was modified to collect all groups, not just the primary group. Change Request: 8606314327 The de-installation process did not rely on groupdel command and removed the group entry by manipulating the /etc/group file directly. In the process of doing so it changed the /etc/group file permissions and ownership. Problem was fixed by using groupdel system utility which preserves the permissions and ownership of /etc/group file and prevents corruption of the file by locking it during I/O operations on it. Change Request: R555022489 This defect was caused by freeing memory twice. Change Request: 8606325445, B555021772 The help text for opctemplate has been corrected. Change Request: B555018987 When a port range is specified for the control agent, and the first port of that range is occupied during startup, opcctla registers on a different port within the range. Clients connecting to opcctla however, expected opcctla to always be on the first port of the range, and failed to connect in this case. Change Request: 8606333207 opcle has been modified to check to see if the file name is still the same, if the file was not modified for a few intervals. If the file name has changed, opcle attempts to reopen the logfile, reading it from begin. This only works reliably if the 'close after read' option is switched off. Change Request: 8606323492 Agent does not start with a proper user id even if explicitly directed to do so. The init scripts does not utilize switch user (su) system command for execution of the agent binaries. Fixed by adding the 'su -c' option, if alternative user is requested to be the process owner, in init script. Change Request: H555010925 FS metrics were retrieved from coda for some filesystems, for which coda values were not yet valid. Solution: Check whether the data for a specific instance is valid, before further processing the instance. Change Request: B555023808 <$MSG_OBJECT> in threshold monitor templates is now replaced consistently according to this priority: 1. Set Condition, if OPC_MON_MSGOBJ_COND_FIRST is TRUE 2. object from opcmon 3. Template Default 4. Empty String Change Request: B555025523 Enhance opcagt for coexistence with future versions of components. Change Request: H555011234 The "Process table mutex" was initialized too late. Change Request: B555019025 The opcswitchuser.sh utility checked whether the group exists, but did not detect if the group was only a substring of an existing group. Change Request: R555025398 opcle now checks if the file was already opened, and closes it if necessary before reopening it. Change Request: H555009905 A query whether to remove the installation packages was added to the opc_inst script. Change Request: H555011688 When local IP address is specified in /etc/hosts file and OPC_IP_ADDRESS is resolvable by dns but not specified in /etc/hosts, wrong IP address (from /etc/hosts instead from OPC_IP_ADDRESS)is appended to sent messages. SOLUTION: Added check for node name change after user variable replacement. If node name didn't change, there is no need for IP reset. Change Request: 8606342477 Added support for automounted /opt, with some exceptions: - Mount point can not be shared among different nodes (every node must have it's dedicated mount point) - Direct maps are not supported (only indirect mapping is supported) Change Request: 8606259930 Default communication type was changed from NCS to DCE. Change Request: 8606321611 opctemplate was fixed to to works also for NCS comm type. PHSS_29645: Change Request: B555019974 Due to a corrupted message catalog file the agent can not be started after the agent installation if it is configured for the 'ja' locale. Change Request: H555010800 DCE daemon fails when it receives invalid data. The code has been fixed to ignore such packets PHSS_29355: Change Request: H555009399 opcmona cores if invalid string is tried to be converted. Change Request: B555014574 With this changes the opcctla is now able to deal with a running opcctla that is not reachable via RPC: opcagt -status will display a warning if the currently running opcctla is not reachable over RPC, but then it will display the status according to the pids file. opcagt -stop will also kill the unresponsive opcctla and try to start a new one. If opcctla is not reachable over RPC, opcagt -start will kill all running agent processes and then start a new opcctla which starts the agent processes. But of course, the agent won't be able to start if RPC is still not available at that time. Change Request: R555023646 opcmona aborts when executing Perl Scheduled actions or Advanced Monitors that use perl. Change Request: B555016456 Customer used opcswitchuser to change identity under which the OVO agent runs. After that the coda process does not start anymore writes the following error to the logfile. CODA database access denied, check permissions. Change Request: B555014691 In case the node attribute in automatic and oper-init actions in msgi templates was empty, the value of <$MSG_NODE_NAME> was used, which is misleading. Now <$MSG_GEN_NODE_NAME> is used instead. Change Request: 8606298307 We introduced a flag to truncate the original message text to a maximum length: OPC_TRUNCATE_ORIG_TEXT <#> -1: no truncation done (Default) 0: no original message sent at all : truncation done after the n'th character this can be configured per managed node. Change Request: R555018044 Internal flag is restored after monitor schedule policy execution. Change Request: B555015199 If OPC_IP_ADDRESS (nodeinfo) and OPC_NAMESRV_LOCAL_NAME (opcinfo) were used in combination the entry in OPC_IP_ADDRESS was not used in the right way. Change Request: B555012869 Instead of using the trap's UUID, the trap interceptor created a new message id for all but the first trap template. The original message id was not set correctly in these cases. Change Request: 8606300991 Logfile Encapsulator policy version is not updated in message details after deployment of new version, but policy is already working with the newest version. Change Request: R555022806 The Monitor Agent abort is caused by the usage of a static buffer to split the CODA data path into the pieces. When two or more threads split path names at the same time, one could overwrite the other's data. Change Request: B555016324 Coda does not restart after using opcswitchuser because the /var/opt/OV/log/coda.log permissions were not changed and the new user could not write into the logfile. Change Request: H555010496 When changing subagent registration data, opcagtreg informs the Control Agent of the change (if it is running). The Control Agent then reads the new registration file and stops/starts the processes based on the new data. During comparison of old and new data, a NULL pointer could be used in a strcmp() call which caused crashes. Change Request: H555008548 Program using opcagtmsg_send() repeatedly dies when opcagt is killed. Change Request: B555006064 New option (-cleanstart) has been added to opc(r)agt command. It stops the agent, removes all files in the agent's temporary directory and starts the agent again. Trace and pids files are not removed. Change Request: H555010571 When message is sent and the agent is configured for NAT environemnt, a NULL pointer could be used in strlen() call, causing a crash of message agent. Extra check has been added to the code to prevent this. Change Request: H555008582 Agent has used system value for LANG setting in start-up script and problem was when this setting was not the same as LANG setting in database. Now installation always checks node settings in database. Change Request: B555017068 The default behavior is now again the behavior of A.07.10: If a new logfile is returned by the logfile discovery program, only new lines of the new logfile are processed. If you want, that all lines of newly added logfiles are processed, add following line to the opcinfo file: OPC_NEW_LOGFILE_FROM_BEGIN TRUE Change Request: B555016477 Monitor agent aborts with signal 4 if a CODA policy is assigned, but CODA is not running. Change Request: B555017407 The process opcmona shows memory leaks in different areas. 1. When using WMI sources in the Measurement Threshold Policies 2. In case the monitoring of CODA sources fails and needs a reinitialization. 3. When either using the Policy.SourceEx method of scripting or upgrading policies very often. Change Request: H555010422 opcmsga uses the address specified via OPC_IP_ADDRESS option instead of local IP address. Only local RPC calls are affected. Change Request: 8606304320 The <$LOGFILE> variable is not expanded if used in the message key field. The correlation will not work as expected. Change Request: 8606290675 Agent should report 'agent start' into the opcerror file. Change Request: 8606301574 If values are assigned to a user defined variable in a rule of a logfile policy, this variable could not be used in the Message Default Settings. Change Request: R555018185 Simplified Chinese codeset is now mapped as a valid codeset. Change Request: B555015592 Child processes of opcmona may hang indefinitely. Message OpC30-610 "Can't start monitor script for object .... Script still running." is generated. Change Request: 8606313801 If the server entries in mgrconf are not all resolvable. When the agent restarts, the initialization fails. Change Request: B555015155 Whenever an error is added to the internal error list, a trace line with the DEBUG area ERRLIST is written to the trace file. When the error list is written to opcerror, another trace line with the DEBUG area ERROR is written. ERROR and ERRLIST are distinguished, since some errors are added to the error list, but then later ignored and therefore never appear in the opcerror file. Change Request: B555017631 OVO/Unix includes the ECS 3.2 runtime now. The ECS 3.1 circuits can still be used with the new ECS runtime. Change Request: B555018498 A measurement threshold policy with a single external source that is deployed from a OVO Windows Management Server may miss the first value send through an opcmon call. Change Request: H555010468 A new option (-cleanstart) has been added to the opc(r)agt command. It stops the agent, removes all files in the agent's temporary directory and restarts the agent. Trace and pids files are not removed. Change Request: H555010494 opcrinst script had wrong LANG mapping and the mapping is now corrected. Change Request: H555010231 Application Package Monitor (opcapm) must be configured and running on the node. Deployment of some policies cause opcctla abort. Change Request: 8606300119 The logfile encapsulator does not return the last line of a logfile immediately, if there is no carriage return in this line. Change Request: H555010288 New option to start DCE daemon in standalone mode has been added. PHSS_28948: Change Request: B555015785 One possible cause for opcecaas to report that there are no more free process slots is, that all slots are in use by applications that are running very long or might even hang. In order to have control on this, the opcecaas retrieves the timeout set for the "Annotate Node" in the ECS circuit and kills the process in case it is beyond this timeout. Change Request: B555008674 The man pages for opcagt and opcragt now document the new option '-version'. The message catalog was updated to show the '-version' option in the usage string of the opcagt and opcragt commands. Change Request: B555015479 When executing opcagt -kill there sometimes still remains an entry for the Control Agent (opcctla) in the pids file. This should not happen because the opcctla isn't running anymore. Change Request: B555015626 opcif_read() doesn't return data if the signal pipe is empty, but there is still more data in the queue file. This can for example happen if the maximum pipe size of 8192 bytes was reached and therefore no more signal bytes could be written into the signal pipe. Change Request: B555015496 So far a queue file garbage collection was done, if more than 256 Kbyte were unused. Now the unused space has to be more than 256 Kbyte and more than a quarter of the queue file size. This drastically reduces file I/O when handling large queue files. Change Request: B555015449 Monitor agent may abort while receiving templates/policies. Change Request: B555015047 opcecaas (Annotation Server) might log error "Illegal NULL parameter (function ) (OpC10-11)" with many similar lines. Change Request: B555015557 The control agent has been changed in order to make the restart of aborted sub agent process configurable. The control agent is be configured to restart aborted sub agent processes. Furthermore it can be defined how often a process should be restarted in a certain time interval. To configure this, you can use the following opcinfo variables: OPC_RESTART_SUBAGENT If set to true, the control agent tries to restart aborted sub agent processes. The restart is done a defined number of times (OPC_RESTART_COUNT) in a specified period of time (OPC_RESTART_MINIMUM_RUN_TIME). In case the process aborts more often, it wont be restarted again. Type/Unit : TRUE|FALSE Default : TRUE OPC_RESTART_COUNT Defines how often an aborted sub agent process should be restarted. Within the specified minimum runtime. In case a process stops more often it wont be restarted. (See OPC_RESTART_SUBAGENT) Type/Unit : integer Default : 5 OPC_RESTART_DELAY Defines the time the control agent waits before it restarts an aborted sub agent process. The time is specified in seconds. Type/Unit : integer Default : 10 OPC_RESTART_MINIMUM_RUN_TIME Defines the timeframe a sub agent process should run without being restarted more than specified by OPC_RESTART_COUNT. The time is specified in minutes. Type/Unit : integer (minutes) Default : 60 Change Request: 8606282247 Variable replacement is now performed for all Message Defaults fields. Change Request: B555015331 opcmona holds a central table for all subprocess related information. Advanced monitors are executed in separate threads and could access this table in parallel, thus overwriting each other's data. The table accesses are now serialized by a mutex. Change Request: B555015712 In order to be able to correctly handle traps that have a source address 127.0.0.1 the trap/event interceptor is now able to replace the localhost address (127.0.0.1) with the IP address of the node processing the trap. In order to enable this, you need to add the following line to the opcinfo file on your managed node: OPC_RESOLVE_TRAP_LOCALHOST TRUE Change Request: B555015758 opcmsgi aborts if one of the set attributes has an unmatched '<'. Change Request: B555015349 The monitor agent aborts when using templates/policies with external sources as soon as it receives a value from the external source during checking for the threshold with a previously received value. In this case the received value is stored temporary and as soon as the monitor agent tries to process this value it aborts. The root cause is that the montior agent tries to free up already freed memory. Change Request: B555015325 During startup a timing issue prevented a connection from opcmsga to opcctla, which generated the message. This message was not immediately reported, but only after receiving a signal. Retries will now prevent the connection failure. If it still fails because opcctla is really not running, the error will be reported immediately. Change Request: 8606297998 The ECS engine (opcecm & opceca) might have problems when a circuit is using global dictionaries. (This is the case for the MessageStorm detection ECS circuit). PHSS_27544: Change Request: 8606189243 The support tool /opt/OV/contrib/OpC/opcnetchk was introduced to allow a basic ICMP check, TCP check and SNMP check. Change Request: H555008602 When using OPC_RPC_ONLY, ICMP handling is not initialized, but the message agent will call opc_pb_ping_reset() after a successful server checkalive cycle. This causes an invalid (NULL) pointer to be dereferenced and causes a core dump. opc_pb_ping_reset() now has a check to see if ICMP handling has been initialized and if not, immediately returns from the function. Change Request: R555019153 When deplying policies from a Windows management server and using the "StoreCollection" method within the Perl or VBScript, the monitor agent might show the Policy name instead of the given metricname or may abort. Change Request: B555014591 The defect was caused by the double conversion from the server code set to the internal code set, once on the agents side when it sent the internal message to opcmsga and once by opcmsgi when it forwarded the message again. Now, the message is converted back from the internal code set to the server code set in opcmsga before sending the message to the opcmsgi queue. The management server will get the message through opcmsga in the internal code set, and it will convert it into the server code set. The conversion is made only if the internal code set is different from the server code set. Change Request: B553003927 opcmsgi leaks memory when handling messages with custom message attributes. Change Request: B555014942 The opcle process loops if a logfile is removed while it is read. Change Request: H555006719 When a communication to a message receiver fails, the message agent starts buffering messages. It periodically checks if a server is alive by sending it ICMP packets. If the server cannot be reached with ICMP packets, no RPC communication is attempted. Sending ICMP packets is not possible when the agent is running as a non-root user, so the sending function cannot actually send anything. Therefore we also never receive any replies and the message agent will buffer messages forever. To fix this, the internal state of the message agent is updated after we tried to send an ICMP packet if the agent is running as a non-root user. Change Request: B555014851 opcmsga maintains an internal cache to find out the target managers per message ID. The cache expires after 1 hour (can be changed with the opcsvinfo variable OPC_STORE_TIME_FOR_MGR_INFO) and then it runs into a problem in its algorithm so that a message operation on a non-cached message is sent again and again until the last target manager in an internal list can be reached. Change Request: B555013891 Even if the IP address of the management server was specified in the mgrconf file, it was not used except for the primary manager. This behavior was changed to give the mgrconf file precedence over name resolution. Change Request: H555008631 NCS agent open() and stat() calls did not handle EINTR, so a check/loop was implemented to handle it. Change Request: B555014093 opcmona may crash (UNIX) or doesn't process all SCHEDULE templates (Windows) when using SCHEDULE templates. This can occur when there are only spaces in one of the schedule fields (Minute, Hour, Day of the Month, Month, Year, Day of the Week). You can verify this by going to the conf/OpC directory on the node and doing an opcdcode monitor. When there are entries like WEEKDAY " " the problem can occur. Now the monitor agent treats sequences of spaces like an empty string that is a wildcard and uses all valid values in the possible range. For WEEKDAY this is 0-6. Change Request: H555009306 OVO server was enhanced to run in Sun Cluster 3.0 environment. Change Request: 8606262299 The logfile encapsulator reports that the File to be executed for preprocessing of a logfile template failed. This error occurs randomly and only from time to time. You will get an error message similar to the following: Command 'opcfwtmp /tmp/wtmp.stat /var/adm/wtmp /tmp/wtmp.out' configured in source 'Logins (10.x/11.x HP-UX)' returns 1. Ignoring this logfile. (OpC30-107) Change Request: R555017956 The monitor agent is terminated if you use a session variable within the message text of a template followed by any other variable (for example $INSTANCE). Change Request: R555018043 Japanese characters in Perl scripts within templates don't get converted correctly into the server code set. If the Japanese characters are used as message text for example these characters are corrupted. Change Request: B555014715 The Control Agent slowly grows in memory usage. Change Request: B555014215 Using the new opcinfo variable SNMP_TRAP_PORT opctrapi can now be configured to listen on another port than 162. This is only effective, if traps are not received through the NNM pmd. Change Request: H555006934 It is necessary to check nodeinfo file and then set appropriate language (same like in nodeinfo) in start-up script to start agent. There are not all releases known where this defect should be included.This should be checked from time to time. Change Request: B555013719 Message agent remains in buffering mode even when the management server is available again. The reason is that the agent wasn't able to resolve the management server name to an IP address at startup and the agent doesn't try again during runtime. This has been fixed by checking for a resolvable name every time a message should be buffered till the name can be resolved, after this the normal checkalive mechanism which handles buffered message takes place. Change Request: H555008275 Signal handler for SIGIO was installed before the socket on which we receive ICMP replies was set to non-blocking mode. An unsolicited SIGIO would trigger the signal handler which would wait indefinitely on the socket for data, which would never arrive. Since NCS agent is single-threaded, all communication would stop. The fix is in setting the non-blocking mode before installing the signal handler, so it would not wait forever. Change Request: 8606187183 The opcmsg interceptor restarts after a deploy/undeploy of policies/templates. During this process all the policy/template information is cleaned and read again from a temporary file. Because suppressing times are not stored in this temporary file, this times are lost. Now the suppressing times are taken over to the new data. Change Request: B555014667 The first lines of a logfile are not forwarded to the message browser when using a command to discover logfiles and the logfile was created after the first polling interval. Change Request: 8606232431 VPO now ignores node names that contain only white space characters without contacting the name service. Change Request: B555014873 The exit code of commands executed through an ECS annotate node and the OVO annotation server is always 0. The reason is an hardcoded return value in the OVO annotation server. With this patch the annotation server passes the received exit code to ECS. Change Request: B555014771 The opcqchk support utility dumps message operations (Tag: 43, like acknowledge requests from opcmack). This tag type was not implemented in opcqchk so you only got the hex dump output. Now you get a more readable output like: Size of item 1: 76 bytes. Tag: 43 Data: Message operation = acknowledge request Msg id = >2878c8b8-d45e-71d6-00d3-c0a8f4220000< Change Request: B555014132 During a distribution the agent may report error number OPC30-1203/OPC20-63 when trying to access the cfgchg file. The cause for this problem is that there are several processes trying to get exclusive access to this file at the same time. The problem has been fixed by doing a retry for 10 times in case the error should occur with a delay of one second. Change Request: B555013548 The manual agent installation script opc_inst expects compressed packages. So if you run it a second time nothing happens because the packages are already uncompressed. Change Request: B555009284 There were two different authorization algorithms which interfered with each other. This has been consolidated and is now checked more strictly. Change Request: 8606242614 The variables <$LOGFILE> and <$LOGPATH> were replaced after the suppression rules were evaluated. Therefore the comparison did not use the actual logfile name or path, but compared the string "<$LOGFILE>" or "<$LOGPATH>". Change Request: B555013620 NNM 6.2 introduced an event option to pmd - "u". This option specifies to prefer the IP address in an SNMPv1 trap's UDP header over the contents of the SNMPv1 trap PDU's agent_addr field. A new opcinfo variable OPC_USE_UDP_AS_TRAP_SOURCE was added for opctrapi. If set to TRUE, opctrapi will use the UDP address instead of the agent_addr. Change Request: B555014759 When enabling/disabling policies you might discover a memory leak in the agent processes. Change Request: H555008529 This is a timing issue, where internal structures are not updated by the signal handler in time for proper values to be written in the PIDS file. An additional check for process presence has been implemented before writing the PIDS file. Enhancement: No SR: R555026293 R555026193 R555026123 R555025398 R555023646 R555022806 R555022489 R555019153 R555018185 R555018044 R555018043 R555017956 H555013432 H555013082 H555012991 H555012990 H555012683 H555012193 H555011985 H555011875 H555011802 H555011688 H555011662 H555011381 H555011234 H555011117 H555010925 H555010800 H555010797 H555010571 H555010496 H555010494 H555010468 H555010422 H555010288 H555010231 H555010124 H555009905 H555009399 H555009306 H555008631 H555008602 H555008582 H555008553 H555008548 H555008529 H555008275 H555006934 H555006719 B555032445 B555032246 B555031808 B555031796 B555030766 B555029983 B555028360 B555028060 B555027814 B555026668 B555026161 B555025523 B555024574 B555023880 B555023808 B555023264 B555022945 B555022783 B555022709 B555022224 B555021772 B555021669 B555020612 B555019974 B555019025 B555018987 B555018953 B555018732 B555018506 B555018498 B555017631 B555017592 B555017581 B555017407 B555017068 B555016477 B555016456 B555016326 B555016324 B555015967 B555015785 B555015758 B555015712 B555015626 B555015592 B555015566 B555015557 B555015548 B555015496 B555015479 B555015449 B555015349 B555015331 B555015325 B555015199 B555015155 B555015047 B555014942 B555014873 B555014851 B555014771 B555014759 B555014715 B555014691 B555014667 B555014591 B555014574 B555014215 B555014132 B555014093 B555013891 B555013719 B555013620 B555013548 B555012869 B555009284 B555008674 B555006064 B553010671 B553003927 B552001603 8606359109 8606358227 8606355743 8606353730 8606351529 8606348297 8606347268 8606346413 8606343025 8606342477 8606333207 8606331393 8606327444 8606325445 8606323492 8606323486 8606322495 8606321611 8606321177 8606315885 8606314327 8606313801 8606310908 8606304320 8606301574 8606300991 8606300119 8606298307 8606297998 8606290675 8606282247 8606262299 8606259930 8606242614 8606232431 8606189243 8606187183 8606182742 Patch Files: OVOPC-CLT.OVOPC-SOL-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64, v=HP: OVOPC-CLT.OVOPC-SOL-CLT,fr=A.07.10,fa=HP-UX_B.11.11_32/64, v=HP: /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/opc_pkg.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/opc_version /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/opc_inst /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/install/opcrverchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/install/opcrinst /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/monitor/cpu_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/monitor/opcfwtmp.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/opc_pkg.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/opc_version /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/opc_inst /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/install/opcrinst /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/install/opcrverchk /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/monitor/cpu_mon.sh.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/monitor/opcfwtmp.Z /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/AgentPlatform what(1) Output: OVOPC-CLT.OVOPC-SOL-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64, v=HP: /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/opc_pkg.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/opc_version: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/opc_inst: HP OpenView Operations for Sun Solaris A.07.25 (06/2 9/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/install/opcrverchk: HP OpenView Operations for Sun Solaris A.07.25 (06/1 0/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/install/opcrinst: HP OpenView Operations for Sun Solaris A.07.25 (06/1 0/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/monitor/cpu_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_DCE_TCP/monitor/opcfwtmp.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/opc_pkg.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/opc_version: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/opc_inst: HP OpenView Operations for Sun Solaris A.07.25 (06/2 9/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/install/opcrinst: HP OpenView Operations for Sun Solaris A.07.25 (06/1 0/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/install/opcrverchk: HP OpenView Operations for Sun Solaris A.07.25 (06/1 0/04) /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/monitor/cpu_mon.sh.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/A.07.10/RPC_NCS/monitor/opcfwtmp.Z: None /var/opt/OV/share/databases/OpC/mgd_node/vendor/sun/sparc/ solaris/AgentPlatform: None cksum(1) Output: OVOPC-CLT.OVOPC-SOL-CLT,fr=A.07.10,fa=HP-UX_B.11.00_32/64, v=HP: 3789781283 13003143 /var/opt/OV/share/databases/OpC/ mgd_node/vendor/sun/sparc/solaris/A.07.10/ RPC_DCE_TCP/opc_pkg.Z 4136466889 8 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_DCE_TCP/ opc_version 414259551 7158 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_DCE_TCP/ opc_inst 3302301680 29344 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_DCE_TCP/ install/opcrverchk 1399023436 150240 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_DCE_TCP/ install/opcrinst 741137036 6448 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_DCE_TCP/ monitor/cpu_mon.sh.Z 224688713 7703 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_DCE_TCP/ monitor/opcfwtmp.Z 2063580216 10447115 /var/opt/OV/share/databases/OpC/ mgd_node/vendor/sun/sparc/solaris/A.07.10/RPC_NCS/ opc_pkg.Z 4136466889 8 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_NCS/opc_version 414259551 7158 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_NCS/opc_inst 4052466615 150385 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_NCS/install/ opcrinst 3302301680 29344 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_NCS/install/ opcrverchk 741137036 6448 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_NCS/monitor/ cpu_mon.sh.Z 3885705493 6393 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/A.07.10/RPC_NCS/monitor/ opcfwtmp.Z 33370530 5925 /var/opt/OV/share/databases/OpC/mgd_node/ vendor/sun/sparc/solaris/AgentPlatform Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHSS_30673 PHSS_30205 PHSS_29645 PHSS_29355 PHSS_28948 PHSS_27544 Equivalent Patches: ITOSOL_00324: sparcSOL: 2.7 2.8 2.9 Patch Package Size: 22330 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHSS_31005 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHSS_31005.depot By default swinstall will archive the original software in /var/adm/sw/save/PHSS_31005. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHSS_31005.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHSS_31005.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHSS_31005.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: BEFORE LOADING THIS PATCH... (A) Patch Installation Instructions ------------------------------- (A1) Install the patch, following the standard installation instructions. For backing up the system before installing a patch, you may use opc_backup(1m) NOTE: MAKE SURE THAT NO AGENT OF THE PLATFORM ADDRESSED BY THIS PATCH IS DISTRIBUTED (either from the VPO Administrator's GUI or from command line using inst.sh) WHILE RUNNING SWINSTALL. NOTE: This patch must be installed on the VPO Management Server system, NOT on an VPO Managed Node directly. Changes will take effect on managed nodes by means of VPO Software Distribution (using 'Force Update' if there is already an agent installed on the managed node). See chapter 2 of the VPO Administrator's Reference manual for more information. NOTE: The VPO Agent consists of several components that are patched individually. This patch updates only the Event/Action component. Therefore the software distribution will tell, that the agent software is updated to A.07.10, not to A.07.12. Also the version of the ITOAgent bundle will still be A.07.10. You can verify the installed version of the components on the agent system using opcragt -agent_version. For example: opcragt -agent_version hpbbln8 Node hpbbln8.bbn.hp.com: OPC_INSTALLED_VERSION = A.07.12 PERF_INSTALLED_VERSION = A.07.10 COMM_INSTALLED_VERSION = 2.5.3.9 Done. (B) Patch Deinstallation Instructions --------------------------------- (B1) To deinstall the patch PHSS_31005 run swremove: NOTE: MAKE SURE THAT NO AGENT OF THE PLATFORM ADDRESSED BY THIS PATCH IS DISTRIBUTED (either from the ITO Administrator's GUI or from command line using inst.sh) WHILE RUNNING SWREMOVE. # swremove PHSS_31005