The snmptt has HIT the FAN!

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: The snmptt has HIT the FAN!

Post by sreinhardt »

Well now, did we just discover the issue? It seems that the snmptt user does not have permission to write to the nagios.cmd file. Lets try adding the snmptt user to the nagcmd group.

Code: Select all

usermod -a -G nagcmd snmptt
I don't think you should have to restart anything. The only other part I might mention, would be removing the files in /var/spool/snmptt/ if they don't start clearing out.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: The snmptt has HIT the FAN!

Post by benhank »

dude do you know that one of my good friends here (thank god) asked me how I was going and no lie i said "I am good" and they told me I said "I am coo coo for coco puffs"? snmpTT is a beast..
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: The snmptt has HIT the FAN!

Post by sreinhardt »

so... I take it we are in business? :D but yes, you might just be a bit crazy for snmptraps ha!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: The snmptt has HIT the FAN!

Post by benhank »

no, still not happenin.
Is there a command that I could run that would display the permissions and owners for the needed directories?
i am still getting the permissions error when I try to import a mib from nagios, as well as our other issues.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: The snmptt has HIT the FAN!

Post by sreinhardt »

Tell ya what man. How about if we do a remote session this week. I'd like to wait until nscott is in just to be sure if I have any questions I cannot answer directly. Hopefully we should be able to get this worked out within an hour or so.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: The snmptt has HIT the FAN!

Post by benhank »

thanks bro. anytime in the next 2 mins works for me. =d when might we hook up? gotta give the big guys an estimate, nothing set in stone youknowhowitis =( in the meantime should I just leave everything as is, or try that step by step reinstall I had this working on the 30th.. i know I am missing THAT setp, the OOOOOOHHHH thats it! step of doom.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: The snmptt has HIT the FAN!

Post by sreinhardt »

2 minutes eh? bit short of a timeframe for me. Nick is in through 1:30 tomorrow and all day friday, so whatever time after 9am CST either of those days is fine with me. Also I would not think we need to reinstall. Let's get your current install working since it does seem so close.

Edit: I may have found it, as there was an issue with sending % signs to syslog, and some of your traps do have them. which iirc your setup is doing by default. let me see about a resolve.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: The snmptt has HIT the FAN!

Post by benhank »

9am is what 11 here? how about 1130 12ish?
man...Linux is for hardworking thinkers....we windows guys have very easy to remember guide lines:


1. He who reboots the fastest wins =D
2.if there is an issue, and the answer nobody knows,
well my brotha time for the hose =d
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: The snmptt has HIT the FAN!

Post by sreinhardt »

Ah windows land, so much easier, until you can only fix stuff in hidden registry settings. Sent you a link for the connection.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: The snmptt has HIT the FAN!

Post by benhank »

regiwhat? =D I was saying that working with linux makes you think more than with windows. No insult intended. I actually like linux over windows, I just don't understand it yet. Windows is like driving someone else car, or growing up with an aunt who hasnt taken the plastic off the couches. Linux is driving or living in the car\house that you built. give me 30 and we can get this resolved.
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked