huge description when restart nagios
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
huge description when restart nagios
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.
.
.
.
.
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.
.
.
.
.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: huge description when restart nagios
Do you mean when running:
From an ssh session? Where are you seeing this output? Is nagios restarting correctly regardless?
Code: Select all
service nagios restart
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: huge description when restart nagios
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?"
"From an ssh session? Where are you seeing this output? Is nagios restarting correctly regardless?"
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: huge description when restart nagios
from ssh session when I run the following command
service nagios restart:
gives me huge mibs description:
service nagios restart:
gives me huge mibs description:
You do not have the required permissions to view the files attached to this post.
Re: huge description when restart nagios
Please run the following and send us the resulting /tmp/nagios_restart.txt file:
Code: Select all
service nagios restart > /tmp/nagios_restart.txtFormer Nagios employee
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: huge description when restart nagios
please check the attached
You do not have the required permissions to view the files attached to this post.
Re: huge description when restart nagios
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:Stopping snmptt: [60G[[0;32m OK [0;39m]
Code: Select all
/etc/rc.d/init.d/nagiosFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
hanya.radwan
- Posts: 194
- Joined: Tue Feb 25, 2014 6:12 am
- Location: palestine
Re: huge description when restart nagios
I think one of nagios support work on that for fixing issue before.
You do not have the required permissions to view the files attached to this post.
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: huge description when restart nagios
Code: Select all
# ADDED By Ahmad
sudo /etc/init.d/snmptt restart
exit 0You 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.