Page 1 of 1

huge description when restart nagios

Posted: Wed Aug 20, 2014 4:24 am
by hanya.radwan
hi,

when I tried to restart nagios from server it gives large description by this command [service nagios start]:



DESC line: Syntax="OCTETSTR"
DESC line: Descr="A text string containing the chassis serial number. When combined
DESC line: with the sunHwTrapProductName, it unambiguously identifies the
DESC line: system. If the source of the trap is a blade, the text string will
DESC line: contain the chassis serial number and the blade serial number, in
DESC line: the following format <chassis-serial-number::blade-serial-number>"
DESC line: 3: sunHwTrapProductName
DESC line: Syntax="OCTETSTR"
DESC line: Descr="A text string containing the product name. When combined with the
DESC line: sunHwTrapChassisId, it unambiguously identifies the system. If the
DESC line: source of the trap is a blade, the text string will contain the
DESC line: chassis product name and the blade product name, in the following
DESC line: format <chassis-name>::<blade-name>"
DESC line: 4: sunHwTrapSuspectComponentName
DESC line: Syntax="OCTETSTR"
DESC line: Descr="Contains the name of a component that is suspected of causing
DESC line: a fault."
DESC line: 5: sunHwTrapFaultClass
DESC line: Syntax="OCTETSTR"
DESC line: Descr="The class represents a hierarchical classification string indicating
DESC line: the type of problem detected, as reported by the fault management
DESC line: subsystem, such as, for instance the Solaris fault manager.
DESC line: Information on the Solaris fault manager can be found at
DESC line: http://www.opensolaris.org/os/community/fm.
.
.
.
.

Re: huge description when restart nagios

Posted: Wed Aug 20, 2014 9:28 am
by slansing
Do you mean when running:

Code: Select all

service nagios restart
From an ssh session? Where are you seeing this output? Is nagios restarting correctly regardless?

Re: huge description when restart nagios

Posted: Wed Sep 03, 2014 2:43 am
by hanya.radwan
yes

Re: huge description when restart nagios

Posted: Wed Sep 03, 2014 9:17 am
by slansing
Once again, please answer all of the questions posed to you, otherwise we won't have the information to help:

"From an ssh session? Where are you seeing this output? Is nagios restarting correctly regardless?"

Re: huge description when restart nagios

Posted: Thu Sep 04, 2014 3:58 am
by hanya.radwan
ssh.png
from ssh session when I run the following command
service nagios restart:
gives me huge mibs description:

Re: huge description when restart nagios

Posted: Thu Sep 04, 2014 9:22 am
by tmcdonald
Please run the following and send us the resulting /tmp/nagios_restart.txt file:

Code: Select all

service nagios restart > /tmp/nagios_restart.txt

Re: huge description when restart nagios

Posted: Mon Sep 08, 2014 7:56 am
by hanya.radwan
please check the attached

Re: huge description when restart nagios

Posted: Mon Sep 08, 2014 12:04 pm
by abrist
Stopping snmptt: [60G[[0;32m OK [0;39m]
snmptt should not restart when nagios is restarted. Have you altered the init scripts? Can you attach your nagios init script to your next post, it should be located at:

Code: Select all

/etc/rc.d/init.d/nagios

Re: huge description when restart nagios

Posted: Thu Sep 11, 2014 4:31 am
by hanya.radwan
I think one of nagios support work on that for fixing issue before.

Re: huge description when restart nagios

Posted: Thu Sep 11, 2014 9:13 am
by slansing

Code: Select all

# ADDED By Ahmad
			sudo /etc/init.d/snmptt restart
			exit 0
That is not one of us...

You will want to remove that restart command from the init script, or ask the person who put it there, why they felt they needed to add it, and for what reason.