10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys
Today I have been working on a script to execute to view entries within a log file.
I have successfully got the command I want to execute within the script itself. I want to view the last 5 entries within a log file and see just the last numbers. The file name would change depending... (5 Replies)
Discussion started by: simpsa27
5 Replies
2. What is on Your Mind?
See attached video for a demo on how to move back and forth from the desktop view to the mobile view.
Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on.
Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies
3. Shell Programming and Scripting
I have a function like this
validate()
{
/* Inside this I will do some activites
}
How I can redirect this function to a log file , so that If I look into that log file I can understand ,is there any error happened inside the function or not (3 Replies)
Discussion started by: saj
3 Replies
4. UNIX for Dummies Questions & Answers
Hello i have Plesk 9.5.4 CentOS 5 and after updating to 9.5.4 plesk told me there were some errors and to view a log file.
Some problems occured during upgrade. You need to *
* check log file *
* ... (0 Replies)
Discussion started by: basslion
0 Replies
5. AIX
Hi,
I would like to find out where the system will display the server was shutdown due to power fluctuation.
I have check the command errpt and alog -o -t boot |more but not getting the requred information.
alog -o -t boot command is not showing the time
Time: 9 LEDS: 0x538
invoking... (4 Replies)
Discussion started by: manoj.solaris
4 Replies
6. Shell Programming and Scripting
How can view log messages between two time frame from /var/log/message or any type of log files.
when logfiles are very big and especially many messages with in few minutes, I would like to display log messages between 5 minute interval.
Could you pls give me the command? (1 Reply)
Discussion started by: johnveslin
1 Replies
7. UNIX for Dummies Questions & Answers
I want to view the content of /etc/log..I logged in as root and tried to open /etc/log using the command "gedit /etc/log" but didn't work out.How can i go about it?Thanks in advance.. (1 Reply)
Discussion started by: jois
1 Replies
8. AIX
Hi,
I am new to AIX, I have to install HP Open View on AIX OS and I would appreciate if anyone can guide me how to install it step be step, any pointer in the direction would also help.
I thank all in advance ! (1 Reply)
Discussion started by: Rookie_newbie
1 Replies
9. UNIX for Dummies Questions & Answers
In OSX, I have created some custom... well.. I guess you'd call them Macros?? within the .profile file. Some of these "Macros" are to open specific directories in a Finder window.
Does anyone know what commands need to be used to have these folders open in LIST view, and maybe even be... (1 Reply)
Discussion started by: RiDE
1 Replies
10. UNIX for Dummies Questions & Answers
i have this unix version "unix v/386" and i want to view the log files how i can do it?
regards (5 Replies)
Discussion started by: sak900354
5 Replies
cmsnmpd(1m) cmsnmpd(1m)
NAME
cmsnmpd - SNMP subAgent that services the High Availability cluster MIB objects
SYNOPSIS
cmsnmpd
DESCRIPTION
cmsnmpd is a subAgent that together with the SNMP Master Agent (snmpdm), form the SNMP Agent for a particular system. The cmsnmpd provides
the instrumentation for the High Availability cluster MIB objects. The cmsnmpd is a separate process, yet registers with the SNMP Master
Agent, and the two share a procedural interface.
Traps
The cmsnmpd sends asynchronous event notifications called "traps". By default, SNMP traps are not sent to any destination. To configure
the agent to send traps to one or more specific destinations, add the trap destinations to /etc/SnmpAgent.d/snmpd.conf.
The SNMP Master Agent and the cmsnmpd collaborate to send High Availability cluster-related traps and information. For example, a trap is
sent when the cluster configuration changes, or when a Highly Available package has failed. A complete list of all the cluster-related
traps can be found on systems with OpenView installed. On an OpenView management station, the trap descriptions can be found in
/etc/opt/OV/share/conf/$LANG/trapd.conf.
Supported MIB Objects
The Management Information Base (MIB) is a conceptual database of values on the agent system. The cmsnmpd implements the hp-cluster and
hp-sgcluster MIB objects. Included in these MIBs are descriptions of the cluster configuration, as well as the current status of each
cluster component. A complete list of all the High Availability MIB objects can be found on systems with OpenView installed. On an Open-
View management station, the MIB object descriptors can be found in /etc/opt/OV/share/conf/snmpmib.
cmsnmpd Startup
Startup is controlled by the setting of the AUTOSTART_CMSNMPD variable in the /etc/rc.config.d/cmsnmpagt file. If AUTOSTART_CMSNMPD is set
to 1, the cmsnmpd is started automatically each time the system boots. The variable should be set to 1 if you will be using ClusterView to
monitor your Highly Available clusters through OpenView. If AUTOSTART_CMSNMPD is set to 0, the cmsnmpd is not started automatically when
the system boots.
If configured for autostart, the cmsnmpd should startup automatically, after the SNMP Master Agent starts, each time the system reboots, or
any time the system transitions from run level 1 to run level 2. When the system enters run level 2, the system will execute
/sbin/init.d/SnmpMaster which will start the Master Agent. Similarly, /sbin/init.d/cmsnmpagt will start the cmsnmpd immediately after the
Master Agent is started.
Prior to executing these startup scripts the system will examine all scripts in /etc/rc.config.d for environment variables which could
potentially influence the startup of the Master Agent and the cmsnmpd. See the specific startup script or configuration file for details
on supported environment variables. The user should never modify scripts in /sbin/init.d. Instead, the startup behavior should be con-
trolled by adjusting values in the configuration script /etc/rc.config.d/cmsnmpd.
There are two ways to start the SNMP Master Agent and the cmsnmpd manually. The first way is to execute snmpdm and then start cmsnmpd by
invoking the cmsnmpd executable (/usr/lbin/cmsnmpd).
The second and simplest way to start the SNMP Agent manually is to execute the snmpd startup script which will invoke the Master Agent and
all subAgents who have been installed and designed to operate in this paradigm. The snmpd startup script is layered upon the V.4 startup
paradigm and so makes use of the component startup scripts in /sbin/init.d and configuration scripts in /etc/rc.config.d. When snmpd is
invoked it passes all its command line arguments to snmpdm and then executes each script found in /sbin/SnmpAgtStart.d.
DEPENDENCIES
None.
AUTHOR
cmsnmpd was developed by Hewlett-Packard.
FILES
/usr/lbin/cmsnmpd
/sbin/init.d/cmsnmpagt
/etc/rc.config.d/cmsnmpagt
/var/adm/SGsnmpsuba.log
SEE ALSO
snmpd(1m), snmpd.conf(4).
Requires Optional Serviceguard Software cmsnmpd(1m)