Page 1 of 1

check_bluecoat_sg not graphing?

Posted: Wed Jul 27, 2011 5:37 am
by Malcz86
Hello,

I'm using the "check_bluecoat_sg" plugin to monitor HTTP connections on our bluecoat system via SNMP. Even know the plugin retrieves the number of connections and outputs as performance data the Nagios graphs are blank. The third graph for "clientcon_idle" does not load.
bluecoat_sg.jpg
bleucoat_sg2.jpg
Also is it possible to get Nagios to put all three pieces of data on one graph?

Re: check_bluecoat_sg not graphing?

Posted: Wed Jul 27, 2011 12:30 pm
by nscott
It doesn't look like the RRDs are getting populated with data.

Do you see an RRD in the

/usr/local/nagios/share/perfdata/$YOUR_BLUECOAT_HOST

directory that is labeled your HTTP requests? If so, check the permissions on these files. They should all be 666 and owner.group should be nagios.nagios

Re: check_bluecoat_sg not graphing?

Posted: Thu Jul 28, 2011 4:44 am
by Malcz86
Yep RRD file is there and permissions/owner are correct. Know the modified shows 8th July which is probably when I first tried to use the plugin.

Re: check_bluecoat_sg not graphing?

Posted: Thu Jul 28, 2011 9:35 am
by nscott
What is the name of the plugin that you are using for the checking your bluecoat device? I'm gonna open it up and see if its returning proper performance data.

Re: check_bluecoat_sg not graphing?

Posted: Thu Jul 28, 2011 9:43 am
by Malcz86
Plugin is check_snmp_BlueCoatSG_usage

Re: check_bluecoat_sg not graphing?

Posted: Thu Jul 28, 2011 1:13 pm
by nscott
Alright, it does appear that that plugin is returning proper performance data. Can you check the log files for anything suspicious?

/usr/local/nagios/var/npcd.log

/usr/local/nagiosxi/var/perfdataproc.log # This is a binary so you'll have to tail it

Re: check_bluecoat_sg not graphing?

Posted: Fri Jul 29, 2011 3:31 am
by Malcz86
Not really sure what I'm looking for, there's no big "error!" warnings anywhere.

There's quite a bit in the NPCD log file. Here's a few minutes.
[07-29-2011 09:24:46] NPCD: ThreadCounter 0/5 File is .
[07-29-2011 09:24:46] NPCD: DEBUG: load 0.990000/10.000000
[07-29-2011 09:24:46] NPCD: ThreadCounter 0/5 File is ..
[07-29-2011 09:24:46] NPCD: DEBUG: load 0.990000/10.000000
[07-29-2011 09:24:46] NPCD: ThreadCounter 0/5 File is host-perfdata.1311927871
[07-29-2011 09:24:46] NPCD: Regular File: host-perfdata.1311927871
[07-29-2011 09:24:46] NPCD: A thread was started on thread_counter = 0
[07-29-2011 09:24:46] NPCD: DEBUG: load 0.990000/10.000000
[07-29-2011 09:24:46] NPCD: ThreadCounter 1/5 File is service-perfdata.1311927871
[07-29-2011 09:24:46] NPCD: Regular File: service-perfdata.1311927871
[07-29-2011 09:24:46] NPCD: A thread was started on thread_counter = 1
[07-29-2011 09:24:46] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[07-29-2011 09:24:46] NPCD: Processing file host-perfdata.1311927871 with ID -1208267888 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/lo$
[07-29-2011 09:24:46] NPCD: Processing file 'host-perfdata.1311927871'
[07-29-2011 09:24:46] NPCD: Processing file service-perfdata.1311927871 with ID -1218757744 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr$
[07-29-2011 09:24:46] NPCD: Processing file 'service-perfdata.1311927871'
[07-29-2011 09:24:46] NPCD: No more files to process... waiting for 15 seconds
[07-29-2011 09:25:01] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[07-29-2011 09:25:01] NPCD: DEBUG: load 2.170000/10.000000
[07-29-2011 09:25:01] NPCD: ThreadCounter 0/5 File is .
[07-29-2011 09:25:01] NPCD: DEBUG: load 2.170000/10.000000
[07-29-2011 09:25:01] NPCD: ThreadCounter 0/5 File is ..
[07-29-2011 09:25:01] NPCD: DEBUG: load 2.170000/10.000000
[07-29-2011 09:25:01] NPCD: ThreadCounter 0/5 File is host-perfdata.1311927886
[07-29-2011 09:25:01] NPCD: Regular File: host-perfdata.1311927886
[07-29-2011 09:25:01] NPCD: A thread was started on thread_counter = 0
[07-29-2011 09:25:01] NPCD: DEBUG: load 2.170000/10.000000
[07-29-2011 09:25:01] NPCD: ThreadCounter 1/5 File is service-perfdata.1311927886
[07-29-2011 09:25:01] NPCD: Regular File: service-perfdata.1311927886
[07-29-2011 09:25:01] NPCD: A thread was started on thread_counter = 1
[07-29-2011 09:25:01] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[07-29-2011 09:25:01] NPCD: Processing file host-perfdata.1311927886 with ID -1208267888 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/lo$
[07-29-2011 09:25:01] NPCD: Processing file 'host-perfdata.1311927886'
[07-29-2011 09:25:01] NPCD: Processing file service-perfdata.1311927886 with ID -1218757744 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr$
[07-29-2011 09:25:01] NPCD: Processing file 'service-perfdata.1311927886'
[07-29-2011 09:25:01] NPCD: No more files to process... waiting for 15 seconds
[07-29-2011 09:25:16] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[07-29-2011 09:25:16] NPCD: DEBUG: load 3.510000/10.000000
[07-29-2011 09:25:16] NPCD: ThreadCounter 0/5 File is .
[07-29-2011 09:25:16] NPCD: DEBUG: load 3.510000/10.000000
[07-29-2011 09:25:16] NPCD: ThreadCounter 0/5 File is ..
[07-29-2011 09:25:16] NPCD: DEBUG: load 3.510000/10.000000
[07-29-2011 09:25:16] NPCD: ThreadCounter 0/5 File is host-perfdata.1311927901
[07-29-2011 09:25:16] NPCD: Regular File: host-perfdata.1311927901
[07-29-2011 09:25:16] NPCD: A thread was started on thread_counter = 0
[07-29-2011 09:25:16] NPCD: DEBUG: load 3.510000/10.000000
[07-29-2011 09:25:16] NPCD: ThreadCounter 1/5 File is service-perfdata.1311927901
[07-29-2011 09:25:16] NPCD: Regular File: service-perfdata.1311927901

[07-29-2011 09:25:16] NPCD: ThreadCounter 1/5 File is service-perfdata.1311927901
[07-29-2011 09:25:16] NPCD: Regular File: service-perfdata.1311927901
[07-29-2011 09:25:16] NPCD: A thread was started on thread_counter = 1
[07-29-2011 09:25:16] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[07-29-2011 09:25:16] NPCD: Processing file host-perfdata.1311927901 with ID -1208267888 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/lo$
[07-29-2011 09:25:16] NPCD: Processing file 'host-perfdata.1311927901'
[07-29-2011 09:25:16] NPCD: Processing file service-perfdata.1311927901 with ID -1218757744 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr$
[07-29-2011 09:25:16] NPCD: Processing file 'service-perfdata.1311927901'
[07-29-2011 09:25:16] NPCD: No more files to process... waiting for 15 seconds
[07-29-2011 09:25:31] NPCD: Found 4 files in /usr/local/nagios/var/spool/perfdata/
[07-29-2011 09:25:31] NPCD: DEBUG: load 3.610000/10.000000
[07-29-2011 09:25:31] NPCD: ThreadCounter 0/5 File is .
[07-29-2011 09:25:31] NPCD: DEBUG: load 3.610000/10.000000
[07-29-2011 09:25:31] NPCD: ThreadCounter 0/5 File is ..
[07-29-2011 09:25:31] NPCD: DEBUG: load 3.610000/10.000000
[07-29-2011 09:25:31] NPCD: ThreadCounter 0/5 File is host-perfdata.1311927916
[07-29-2011 09:25:31] NPCD: Regular File: host-perfdata.1311927916
[07-29-2011 09:25:31] NPCD: A thread was started on thread_counter = 0
[07-29-2011 09:25:31] NPCD: DEBUG: load 3.610000/10.000000
[07-29-2011 09:25:31] NPCD: ThreadCounter 1/5 File is service-perfdata.1311927916
[07-29-2011 09:25:31] NPCD: Regular File: service-perfdata.1311927916
[07-29-2011 09:25:31] NPCD: A thread was started on thread_counter = 1
[07-29-2011 09:25:31] NPCD: Have to wait: Filecounter = 2 - thread_counter = 2
[07-29-2011 09:25:31] NPCD: Processing file host-perfdata.1311927916 with ID -1208267888 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr/lo$
[07-29-2011 09:25:31] NPCD: Processing file 'host-perfdata.1311927916'
[07-29-2011 09:25:31] NPCD: Processing file service-perfdata.1311927916 with ID -1218757744 - going to exec /usr/local/nagios/libexec/process_perfdata.pl -n -b /usr$
[07-29-2011 09:25:31] NPCD: Processing file 'service-perfdata.1311927916'
[07-29-2011 09:25:31] NPCD: No more files to process... waiting for 15 seconds
The perfdataproc.log has a bit less so posted the whole file
Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927781.perfdata.service'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/service-perfdata.1311927781
Outbound data DISABLED - Data will not be send via NSCA or NRDP.

Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927781.perfdata.host'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/host-perfdata.1311927781
Outbound data DISABLED - Data will not be send via NSCA or NRDP.
...
Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927796.perfdata.service'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/service-perfdata.1311927796
Outbound data DISABLED - Data will not be send via NSCA or NRDP.

Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927796.perfdata.host'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/host-perfdata.1311927796
Outbound data DISABLED - Data will not be send via NSCA or NRDP.
...
Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927811.perfdata.service'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/service-perfdata.1311927811
Outbound data DISABLED - Data will not be send via NSCA or NRDP.

Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927811.perfdata.host'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/host-perfdata.1311927811
Outbound data DISABLED - Data will not be send via NSCA or NRDP.
...
Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927826.perfdata.service'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/service-perfdata.1311927826
Outbound data DISABLED - Data will not be send via NSCA or NRDP.

Processing perfdata file '/usr/local/nagios/var/spool/xidpe/1311927826.perfdata.host'
Copying perfdata file to /usr/local/nagios/var/spool/perfdata/host-perfdata.1311927826
Outbound data DISABLED - Data will not be send via NSCA or NRDP.
..^@
DONE. Processed 8 files.

Re: check_bluecoat_sg not graphing?

Posted: Fri Jul 29, 2011 10:06 am
by lmiltchev
I wonder if you've configured your outbound checks properly, because of the error you are getting: "Outbound data DISABLED - Data will not be send via NSCA or NRDP."

We have a document dealing with these issues:
Outbound check transfers are disabled by default. In order
to enable outbound checks using either the NRDP or NSCA
APIs, you must first enable outbound transfers.
To do this check the Enable Outbound Transfers option
and click the Update Settings button.
You can review the whole document here:

http://library.nagios.com/library/produ ... -nagios-xi