For some reason after a while my internet connection dies. I just moved on to Debian from Ubuntu and I can't find the dhclient-program to reconfigure dhcp. Pretty new to *nix's. ONe thing I noticed while rebooting (do get my connection back) is that it configures dhcp and says: reconfigure (or... (1 Reply)
Hi,
(First post, please be gental!)
I have a java app that I am running on unix (centos)
But it keeps dying randomly. The times seem random from anything between 3 hours and 3 days.
I have a cronjob running to restart it when ever it dies but I would rather this happened less often.
... (2 Replies)
Hi folks,
Friendly router geek wanting to be a programmer here...
So I worked with another guy here and came up with this to capture Unix admin data:
#!/bin/ksh
#
#
# Set Default Paths
#
PATH=/usr/apps/client/bin:$PATH; export PATH... (4 Replies)
hi moring everyone,
i has used systemd-timer running the task, i set every 5 second execute 1 times,but the systemd-timer don't by that also random times execute.
what's reason.
testest.timer configure
------------------------------------------------------------------------
... (2 Replies)
Hi,
I hope somebody can help me. I wand to Move my NIS server on Solaris 10
(there are 2 Slaves on Linux) to CentOS7.
Do you have any procedures or experience to do this?
Thanking in anticipation! (2 Replies)
I would like the smb and nmb to start on boot.
In the terminal (as root) I did:
/sbin/chkconfig smb --addor
chkconfig --add sambaor
chkconfig --add /sbin/smbdresault is message like below :
error reading information on service smb: No such file or directory
Please use CODE tags as... (2 Replies)
Source
a quick google search making clear that this isn't really new, and if we look at our bsd Forum we see that its the only operation systems forum with the last comment dated to June last year, whereas all the others have more recent comments.
One comment dated to 2014 is exactly what I... (10 Replies)
Quite an obscure question I think.
We have a rebuild process for remote sites that allows us to PXE rebuild a till (actually a PC with a touch screen and various fancy bits) running CentOS. The current CentOS5 tills work just fine with a tar image restore and some personalisation. Sadly,... (4 Replies)
Can anyone explain me why yum still working when I stop http service on my localmachine.
If I'm not wrong, yum repository use port 80 and 443, so stop http service should technicly stop possibility to install packages ? (6 Replies)
Discussion started by: veloxcbr
6 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)