12-05-2014
Your ftpd is likely ruuning under a chrooted environment.
10 More Discussions You Might Find Interesting
1. Solaris
Is there a imbedded command (Solaris v8 ksh) that will send an administrative alert/alarm. Or is it just triggering a mail message via shell script? If no, is there a good open-source code someone knows about?
Thanks so much in advance for any replies.
...Gozer13 (3 Replies)
Discussion started by: gozer13
3 Replies
2. Shell Programming and Scripting
Hi
I have been trying to set up alarms on my Solaris box (Sun OS 5.8)
The objective is to present the user an audible alarm every hour or so.
I have so far done this:
#!/bin/sh
val=1
while
do
printf "\a"
val=`expr $val + 1`
done
I have put this in my crontab to run hourly.... (2 Replies)
Discussion started by: run_time_error
2 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I'm kind of new to autosys, but I'm assuming there is a way to have Alarms be emailed instead of having to run jobscape and click the Alarm button to see what jobs have failed? Does anyone have an insight onto how this can be done? Thanks. (14 Replies)
Discussion started by: rpiller
14 Replies
4. UNIX Desktop Questions & Answers
Hi All,
I am ftping a file from unix to mainframe. Now the problem arises that i want to check if the file was ftpd or not. Is there any way i could do this? (4 Replies)
Discussion started by: vikas.rao11
4 Replies
5. Infrastructure Monitoring
Hi all,
I have a Sun Solaris 9 box which acts as a firewall. Sometimes if multiple actions which cause snmp traps occur very close together, a single snmp trap that is sent containing the text for multiple alarms. I would like to prevent that and have a trap sent for each action which would... (0 Replies)
Discussion started by: g0ld2k
0 Replies
6. Solaris
Hello,
I have been receiving following alarms in /var/adm/messages
dtcp: WARNING DB (db_tcp.c,363) db_alloc_connid: lp && lp->serverlist error for service 20
It seems like this message is related to LP print service. Since I am not using any print service, is there any way to switch it... (2 Replies)
Discussion started by: aalishan
2 Replies
7. Solaris
Hi I am trying to configure the Hardware alarms on HP server.
I have refer to "HP ProLiant Health Monitor User Guide" and installed
HPQacucli-3.5.0-solaris10-i386
HPQhealth-4.4.0-solaris10-i386
HPQhma-5.7.0-solaris10-i386
HPQilo-1.4.5-solaris10-i386
HPQsmh-5.5.0-solaris10-i386
... (2 Replies)
Discussion started by: anand87
2 Replies
8. Solaris
Hi folks,
I encountered this alarms on a solaris server:
04/21/12 23:17:55 MNP-PGW-A_bge3 mnp 231748 Power Supply Unit 0 is faulty
04/21/12 23:17:55 MNP-PGW-A_bge3 mnp 231748 Power Supply Unit 1 is faulty
04/21/12 23:18:26 MNP-PGW-A_bge3 mnp 231822 Power Supply Unit 0 is faulty:CLEAR... (0 Replies)
Discussion started by: kimurayuki
0 Replies
9. Solaris
Hi,
I am getting service busy alarms on my machines which are using MongoDB every now and then. When the service busy alarm appears, I get the following errors on my mongo router logs.
Tue Apr 7 08:01:08.445 dbclient_rs nodes.ok = true hxcslc-b05:27014
Tue Apr 7 08:01:08.445 dbclient_rs... (0 Replies)
Discussion started by: sni_engineer
0 Replies
10. UNIX for Beginners Questions & Answers
Greetings,
I have been facing one issue here and I am not understanding what is causing.
I am getting a lot of alarms complaining that the partition for example /proc/12345 , is full, but the partition does not existe on the server. Which is not supposed to happen, because /proc is not a real... (10 Replies)
Discussion started by: Yagami_Sama
10 Replies
LEARN ABOUT LINUX
alarm_handler
alarm_handler(3erl) Erlang Module Definition alarm_handler(3erl)
NAME
alarm_handler - An Alarm Handling Process
DESCRIPTION
The alarm handler process is a gen_event event manager process which receives alarms in the system. This process is not intended to be a
complete alarm handler. It defines a place to which alarms can be sent. One simple event handler is installed in the alarm handler at
start-up, but users are encouraged to write and install their own handlers.
The simple event handler sends all alarms as info reports to the error logger, and saves all of them in a list which can be passed to a
user defined event handler, which may be installed at a later stage. The list can grow large if many alarms are generated. So it is a good
reason to install a better user defined handler.
There are functions to set and clear alarms. The format of alarms are defined by the user. For example, an event handler for SNMP could be
defined, together with an alarm MIB.
The alarm handler is part of the SASL application.
When writing new event handlers for the alarm handler, the following events must be handled:
{set_alarm, {AlarmId, AlarmDescr}} :
This event is generated by alarm_handler:set_alarm({AlarmId, AlarmDecsr}) .
{clear_alarm, AlarmId} :
This event is generated by alarm_handler:clear_alarm(AlarmId) .
The default simple handler is called alarm_handler and it may be exchanged by calling gen_event:swap_handler/3 as gen_event:swap_han-
dler(alarm_handler, {alarm_handler, swap}, {NewHandler, Args}) . NewHandler:init({Args, {alarm_handler, Alarms}}) is called. Refer to
gen_event(3erl) for further details.
EXPORTS
clear_alarm(AlarmId) -> void()
Types AlarmId = term()
Clears all alarms with id AlarmId .
get_alarms() -> [alarm()]
Returns a list of all active alarms. This function can only be used when the simple handler is installed.
set_alarm(alarm())
Types alarm() = {AlarmId, AlarmDescription}
AlarmId = term()
AlarmDescription = term()
Sets an alarm with id AlarmId . This id is used at a later stage when the alarm is cleared.
SEE ALSO
error_logger(3erl), gen_event(3erl)
Ericsson AB sasl 2.1.9.3 alarm_handler(3erl)