Hi All,
My OS is redhat 7.1. How can I start my own service (e.g. simple scripts) when the system is started?
I found something like /etc/rc.d, /etc/rc.init ...
But I have no idea on them, have anyone can help me?
regards
wilson (6 Replies)
Hi,
I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX?
Greetings,
Dennis (1 Reply)
I am trying to locate the proper MIB and OID location, to determine if the system attention light is on IBM-702x servers running 5.x.
Currently, we get this on our Blade Centers Management Modules at location: 1.3.6.1.4.1.2.3.51.2.2.8.2.1.1.7.xx were xx is the actual Blade number. A value of 1... (0 Replies)
Solaris 10 Server refuse to connect :wall:
fork: Resource temporarily unavailable , server unexpectedly unavailable network connection , refuse error, disconnect message, fatal error type2, (protocol error type2)
Issue has been resolved after taken few steps :b:
First of all need to check... (1 Reply)
Greetings,
I've got a Zenoss v2.5 server monitoring a large video encoding farm. Needless to say, these systems are under high bandwidth and CPU utilization the majority of the time.
What I'm running into is that, occasionally, these systems will fail to respond to a standard SNMP request,... (1 Reply)
Hi,
I am running on Ubuntu 12 (precise) 64 bit and came to know that i cannot install any packages using apt-get and aptitude.
Linux test01 3.5.0-23-generic #35~precise1-Ubuntu SMP Fri Jan 25 17:13:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
But the same /etc/apt/sources.list file is... (20 Replies)
Hey everyone, so I recently installed sma and disabled snmpdx for system monitoring in Solarwinds on 7 Oracle servers running Solaris 10. It was running just fine until we had to shutdown all systems and power back up (hurricane). Since then I cannot get the sma service to start, it goes into... (4 Replies)
Discussion started by: Zeus18
4 Replies
LEARN ABOUT SUNOS
snmp_config
snmp_config(4) File Formats snmp_config(4)NAME
snmp_config - overview of Net-SNMP configuration files
SYNOPSIS
snmp_config
DESCRIPTION
This page gives an overview of the various configuration files used by the Net-SNMP software that is shipped with the Solaris operating
system.
In a configuration file, lines beginning with a hash character (#) are treated as a comment and are not parsed.
Search Order
By default, the Net-SNMP applications look for configuration files in the following directories in the order listed:
1. /etc/sma/snmp
2. /usr/sfw/lib
3. $HOME/.snmp
In each of these directories, the Net-SNMP applications look for files with the extensions .conf and local.conf, in that order.
The default search path described above can be overridden by setting the environment variable SNMPCONFPATH to a colon-separated list of
directories. SNMPCONFPATH is used to allow users to place configuration files in specific directories for their application needs. Cur-
rently defaulted to /etc/sma/snmp and /usr/local/share/snmp.
Applications that store persistent data will also look in the /var/net-snmp directory for configuration files.
Switching Configuration Types in Mid-File
You can switch in mid-file the configuration type that the parser is supposed to be reading. For example, assume you want to turn on packet
dumping output for the agent by default, but you do not want to turn on packet dumping for the rest of the applications (such as snmpget
and snmpwalk). Normally, to enable packet dumping, you would enter a line such as the one below in the snmp.conf file:
dumpPacket true
Such a line turns on packet dumping for all of the applications. Instead, you can put the same line in the snmpd.conf file so that it
applies only to the snmpd daemon. However, you need to tell the parser to expect this line. You do this by putting a special, type-specifi-
cation token inside square brackets. For example, inside your snmpd.conf file you can enter:
[snmp] dumpPacket true
This tells the parser to parse the line as if it were inside a snmp.conf file instead of an snmpd.conf file. If you want to parse multiple
lines rather than just one, you can make the context switch apply to the remainder of the file or until the next context switch directive
by putting the special token on a line by itself:
# make this file handle snmp.conf tokens:
[snmp]
dumpPacket true
logTimestamp true
# return to our original snmpd.conf tokens:
[snmpd]
rocommunity mypublic
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWsmcmd |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO snmpd.conf(4), attributes(5), sma_snmp(5)SunOS 5.10 16 Jan 2004 snmp_config(4)