Search found 9 matches

by apredeek
Thu Jul 07, 2016 12:55 pm
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

Yep, we're good to call it resolved.

Thanks again!
by apredeek
Thu Jul 07, 2016 12:30 pm
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

I had to also delete the var/check_snmp/ directory again to force recreation with correct permissions, but it appears to be working now. Here are the current, working permissions: Plugin: ls -l | grep check_snmp$ -rwxrwxr-x. 1 apache nagios 251289 Apr 23 2015 check_snmp Directory: ls -l /usr/local/n...
by apredeek
Wed Jul 06, 2016 4:40 pm
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

check_snmp v2.0.3 (nagios-plugins 2.0.3)
by apredeek
Wed Jul 06, 2016 4:22 pm
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

Here are the /var/ permissions: ls -al /usr/local/nagios/var/ total 22524 drwxrwxr-x. 7 nagios nagios 4096 Jul 6 17:09 . drwxr-xr-x. 9 root root 4096 Apr 23 2015 .. drwxrwxr-x. 2 nagios nagios 24576 Jul 5 23:59 archives drws------ 2 nagios nagios 4096 Jul 6 16:29 check_snmp -rw-r--r-- 1 nagios nagio...
by apredeek
Wed Jul 06, 2016 3:38 pm
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

There are no files in the directory. Here's the strace output: execve("./check_snmp", ["./check_snmp", "-H", "10.64.0.1", "-o", "jnxCosIfqTxedBytes.749.6.115.105"..., "-C", "<community>", "-P", "2c", ...
by apredeek
Wed Jul 06, 2016 1:45 pm
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

No such luck. I ran the chown and fixed the ownership of the folder: ls -al /usr/local/nagios/var/check_snmp/ total 12 drws------ 2 nagios nagios 4096 Jul 5 18:26 . drwxrwxr-x. 7 nagios nagios 4096 Jul 6 14:41 .. But I still get the segmentation fault error: [nagios@<hostname> libexec]$ ./check_snmp...
by apredeek
Wed Jul 06, 2016 11:58 am
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

Looks like maybe you're on the right track?

ls -al /usr/local/nagios/var/check_snmp/
total 12
drws------ 2 apache apache 4096 Jul 5 18:26 .
drwxrwxr-x. 7 nagios nagios 4096 Jul 6 12:57 ..
by apredeek
Wed Jul 06, 2016 10:44 am
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

Re: "No output on stdout" error with check_snmp --rate

Without the --rate option, it works fine and returns the correct counter data. The community string does indeed have an @ character. Here is the CLI output running as 'nagios'. The output when running as root is identical. [nagios@<hostname> libexec]$ ./check_snmp -H 10.64.0.1 -o jnxCosIfqTxedBytes....
by apredeek
Tue Jul 05, 2016 5:23 pm
Forum: Nagios XI
Topic: "No output on stdout" error with check_snmp --rate
Replies: 17
Views: 613

"No output on stdout" error with check_snmp --rate

Hi, I've added a service using the --rate option for check_snmp and am getting this error in XI "(No output on stdout) stderr:". I've also tested from the command line as root, which returns a segmentation fault error. However, when testing the service in the Core Config Manager it works p...