huge description when restart nagios

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

huge description when restart nagios

Post 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.
.
.
.
.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: huge description when restart nagios

Post 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?
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: huge description when restart nagios

Post by hanya.radwan »

yes
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: huge description when restart nagios

Post 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?"
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: huge description when restart nagios

Post by hanya.radwan »

ssh.png
from ssh session when I run the following command
service nagios restart:
gives me huge mibs description:
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: huge description when restart nagios

Post 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
Former Nagios employee
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: huge description when restart nagios

Post by hanya.radwan »

please check the attached
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: huge description when restart nagios

Post 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
Former 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.
hanya.radwan
Posts: 194
Joined: Tue Feb 25, 2014 6:12 am
Location: palestine

Re: huge description when restart nagios

Post by hanya.radwan »

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

Post 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.
Locked