Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

lug-bg: snmp problem.


  • Subject: lug-bg: snmp problem.
  • From: teodor@xxxxxxxxxxxxxxx (Teodor Georgiev)
  • Date: Tue, 20 Nov 2001 15:33:39 +0100



    Nachi,  tova koeto pravia e, che izpolzvam "exec" feature-to pri  snmp.
T.e. snmp daemona mi izpulniava edin script
na mashinata i az posle si chopvam izhoda ot toia script  ot druga mashina s
snmp.
Pravil sum go i predi.

Ama toia put zapunah.

Pisha go kakto si trebe:

exec df /bin/sh df         (primerno, da ne kaite che scripta mi e greshen).

obache ne stava... puskam snmpwalk i gleite kvo stava:

enterprises.ucdavis.50.1.1 = 1
enterprises.ucdavis.50.2.1 = "df"
enterprises.ucdavis.50.3.1 = "/bin/sh df"
enterprises.ucdavis.50.100.1 = 0
enterprises.ucdavis.50.101.1 = ""
enterprises.ucdavis.50.101.2 = ""
enterprises.ucdavis.50.101.3 = ""
enterprises.ucdavis.50.101.4 = ""
enterprises.ucdavis.50.101.5 = ""
enterprises.ucdavis.50.101.6 = ""
enterprises.ucdavis.50.101.7 = ""

i taka do na mainata si

a kato dam ps -aux na mashinata sus snmpd stava tova:

nmp      1204  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]
snmp      1205  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]
snmp      1206  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]
snmp      1207  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]
snmp      1208  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]
snmp      1209  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]
snmp      1210  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]
snmp      1211  0.0  0.0     0    0 pts/2    Z    15:35   0:00 [sh
<defunct>]

i oshte ima.. ... :)))

SNMP:  UCD-SNMP 4.2.2

===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.