Failed to restart snmptt service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eclypse
Posts: 50
Joined: Thu Dec 01, 2011 4:55 pm

Failed to restart snmptt service

Post by eclypse »

I receive this message when I attempt to add and process MIB's. I'm wondering if some file permissions are incorrect.

Code: Select all

Total translations: 37
Successful translations: 37
Failed translations: 0

Failed to restart snmptt service
Does the init.d script need to be owned by the nagios group?

Code: Select all

# ls -al /etc/init.d/snmptt
-rwxr-xr-x 1 root root 1720 Nov  1 17:02 /etc/init.d/snmptt
I have already made the following changes per the interface's suggestion:

Code: Select all

chown root.nagios /etc/snmp/snmptt.ini /etc/snmp
 1534  chmod g+w /etc/snmp/snmptt.ini /etc/snmp
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Failed to restart snmptt service

Post by scottwilkerson »

eclypse wrote:Does the init.d script need to be owned by the nagios group?
No, this should be set via sudo

Was the service running already?

Code: Select all

service snmptt status
open

Code: Select all

visudo
At the bottom verify you have a line

Code: Select all

NAGIOSXIWEB ALL = NOPASSWD:/etc/init.d/snmptt restart
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked