Search found 16 matches

by dgatlas
Wed Jul 22, 2015 1:20 pm
Forum: Nagios Log Server
Topic: Timestamp incorrect
Replies: 3
Views: 426

Re: Timestamp incorrect

Thanks for the response, @joison I have the correct date and timezone set for the system as well as PHP. # date Wed Jul 22 11:11:50 PDT 2015 # grep timezone /etc/php.ini date.timezone = America/Los_Angeles hwclock won't work as this is on AWS. Thanks for the clarification and yes I'm aware that #1 i...
by dgatlas
Tue Jul 21, 2015 6:49 pm
Forum: Nagios Log Server
Topic: Timestamp incorrect
Replies: 3
Views: 426

Timestamp incorrect

The timestamp displayed in the GUI is off by 3 hours. The host sending their syslog is a mac if that's important. In the image, the timestamp at #1 is 3 hours behind the actual time in the timezone (PDT) and the UTC time at #2 is also behind by 3 hours. #3 is the correct time. The syslog file at /va...
by dgatlas
Fri Mar 27, 2015 3:19 pm
Forum: Nagios XI
Topic: Radius check broken in nagios vm template (august 2014 relea
Replies: 2
Views: 276

Re: Radius check broken in nagios vm template (august 2014 r

Try

Code: Select all

yum install glibc.i686
i.e. without the explicit version numbers.

or

Code: Select all

yum install glibc-2.12-1.149.el6_6.5.i686
by dgatlas
Fri Mar 27, 2015 2:37 pm
Forum: Nagios XI
Topic: NRDS check needs multiple files
Replies: 2
Views: 208

NRDS check needs multiple files

I have an NRDS check which requires the presence of 2 files to be downloaded to the plugins directory of the monitored host.

How is this accomplished?
by dgatlas
Tue Feb 10, 2015 10:33 pm
Forum: Nagios XI
Topic: Adding plugins to monitored NRPE hosts
Replies: 1
Views: 196

Adding plugins to monitored NRPE hosts

This may must be my lack of understanding on how NRPE functions. Say that I have 100 linux nodes monitored and I wrote a new plugin to check bandwidth usage. How/when (if?) does NRPE upload this plugin to all the monitored hosts? For example: check_nrpe -H $HOSTADDRESS$ -t 30 -c check_bandwidth $ARG...
by dgatlas
Fri Feb 06, 2015 5:17 pm
Forum: Nagios XI
Topic: Highcharts custom axis and time period for Nagios XI
Replies: 8
Views: 1839

Re: Highcharts custom axis and time period for Nagios XI

I'm fine with changing PHP files. Can you tell me the files I'd need to edit?
by dgatlas
Wed Feb 04, 2015 1:46 am
Forum: Nagios XI
Topic: Service check timed out after 60.04 seconds
Replies: 10
Views: 819

Re: Service check timed out after 60.04 seconds

So here is the solution. There was nothing wrong with my script. The issue was that the host was added via one of the monitoring wizards and the it made the rather big assumption to use the name of the host as it's address. The monitored server is not publicly accessible and there is no internal DNS...
by dgatlas
Tue Feb 03, 2015 10:00 pm
Forum: Nagios XI
Topic: Service check timed out after 60.04 seconds
Replies: 10
Views: 819

Re: Service check timed out after 60.04 seconds

Be wary of using the Test Check Command button as those commands are executed as the user apache instead of nagios and some funny character escaping can occur. Use the "force an immediate check" on the service screen for a true test. Running as "nagios" still outputs correctly. ...
by dgatlas
Tue Feb 03, 2015 9:55 pm
Forum: Nagios XI
Topic: Service check timed out after 60.04 seconds
Replies: 10
Views: 819

Re: Service check timed out after 60.04 seconds

I've removed CURLOPT_COOKIEJAR => $cookiejar already, that was just for debug. The script seems to pass all that after I changed: CURLOPT_CONNECTTIMEOUT => 30, CURLOPT_TIMEOUT => 30, to CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_TIMEOUT => 10, Now it doesn't display any output: (No output returned from p...
by dgatlas
Tue Feb 03, 2015 9:39 pm
Forum: Nagios XI
Topic: Service check timed out after 60.04 seconds
Replies: 10
Views: 819

Re: Service check timed out after 60.04 seconds

Now the plugin seems to run but shows (No output returned from plugin) Also when defining the service, there is a "Test Check Command" button, which also outputs correctly. COMMAND: /usr/local/nagios/libexec/my_plugin.php -H 192.168.100.100 -S OUTPUT: Running The plugin was uploaded throug...