Search found 10 matches

by bostonangus
Tue Jul 07, 2015 12:23 pm
Forum: Open Source Nagios Projects
Topic: How to use `Nagios::Plugin::WWW::Mechanize`
Replies: 1
Views: 1409

How to use `Nagios::Plugin::WWW::Mechanize`

I'm writing a simple Perl plugin to check the response times of a few different webpages. I want to extract links from a url using Mechanize. The documentation seems pretty straight forward but my test is already failing to run with only a few simple lines: This test runs fine: #!/usr/bin/perl use s...
by bostonangus
Tue Jul 07, 2015 12:08 pm
Forum: Open Source Nagios Projects
Topic: Plugin not showing up in online dashboard
Replies: 7
Views: 2660

Re: Plugin not showing up in online dashboard

Fixed this finally. For some reason the 'service nagios-nrpe-server restart' wasn't sufficient in refreshing the online dashboard & showing new plugins. To fix this I had to restart nagios form within the dashboard. Click on process info in the left menu, then choose to restart nagios process . ...
by bostonangus
Wed Jul 01, 2015 4:17 pm
Forum: Open Source Nagios Projects
Topic: Plugin not showing up in online dashboard
Replies: 7
Views: 2660

Re: Plugin not showing up in online dashboard

Everything looks good in there, strange...
by bostonangus
Wed Jul 01, 2015 2:14 pm
Forum: Open Source Nagios Projects
Topic: Plugin not showing up in online dashboard
Replies: 7
Views: 2660

Re: Plugin not showing up in online dashboard

Yes, I've been restarting steadily thinking that might be the issue.
by bostonangus
Wed Jul 01, 2015 2:05 pm
Forum: Open Source Nagios Projects
Topic: Plugin not showing up in online dashboard
Replies: 7
Views: 2660

Plugin not showing up in online dashboard

I'm attempting to configure a plugin that tests the response status of a particular webpage every n minutes. In /usr/lib/nagios/plugins I've added the plugin: nameof-test.sh . In /etc/nagios-plugins/config/nameof-test.cfg I've put the command definition: define command { command_name check_specific ...
by bostonangus
Tue Jun 30, 2015 2:56 pm
Forum: Open Source Nagios Projects
Topic: Not possible to send test notifications?
Replies: 3
Views: 898

Not possible to send test notifications?

I'm looking for a straight forward way to send test notifications.

I'd like to do this without having to write a custom check/test, and without having to purposely trigger a real problem to force the notification.

Is there a way of doing this?

Thanks in advance!
by bostonangus
Tue Jun 30, 2015 2:40 pm
Forum: Open Source Nagios Projects
Topic: How to show HOSTNAME in service notifications?
Replies: 5
Views: 1229

Re: How to show HOSTNAME in service notifications?

Thanks so much for the quick reply.

Could you confirm where I set the variables, such as: $HOSTADDRESS$. Or are they globally set by nagios and stay the same for everyone?
by bostonangus
Tue Jun 30, 2015 2:29 pm
Forum: Open Source Nagios Projects
Topic: How to show HOSTNAME in service notifications?
Replies: 5
Views: 1229

How to show HOSTNAME in service notifications?

I have Nagios setup and e-mail notifications are being sent successfully, however, currently notifications don't tell me which host is having problems. I have multiple servers running, and would like to have notifications tell me specifically which server is down/having trouble. So basically, how do...