[Nagios-users] Working check radius plugin?

2013-09-04 Thread Mike W
I've been trying to sort out radius monitors and ran into a problem. 
I've tried multiple check radius plugins (check_radius from plugin, 
check_radius.pl, check_radius_ih/etc) but all of them fail. When 
monitoring the logs on the radius host they all fail password checks 
when I know for a fact they work (I login using apache httpd via 
radius/auth with same creds).

Anyone have any thoughts and/or suggestions?

-- 

Mike Wilson

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

2013-09-04 Thread Jason Gauthier
It’s a bug in the version of lilac I am using. I finally traced it down.  What 
a mess!
I have to explicitly set it to \”`\”.
The next time changes are made to the ”Other” area, it gets written as just a 
backslash.



From: Jason Gauthier [mailto:jgauth...@lastar.com]
Sent: Wednesday, September 04, 2013 3:51 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

Well, I’m not really sure what changed.  But it was an issue with 
illegal_macro_output_chars=\"`\"
It somehow got set incorrectly.



From: Jon Adcock [mailto:adco...@leoncountyfl.gov]
Sent: Wednesday, September 04, 2013 1:53 PM
To: 
nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

Jason,

  Looking at your notify-by-email definition, there are a lot of escape 
sequences ( \" ).  I think that's what's messing you up.  My 
notify-service-by-email definition is shown below.  Start with that and tweak 
it to your taste.
# 'notify-service-by-email' command definition
define command{
command_namenotify-service-by-email
command_line/usr/bin/printf "%b" "\nDate/Time: 
$LONGDATETIME$\n\nService: $SERVICEDESC$\n\nService check res
ults: $SERVICEOUTPUT$\n\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
$SERVICESTATE$\n\n* Nagios *\n\nNotif
ication Type: $NOTIFICATIONTYPE$\n\nAdditional Info:\n" | /usr/bin/mail -s "** 
$NOTIFICATIONTYPE$ Service Alert: $HOSTAL
IAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}

Jon

Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL  32301
Office:  (850) 606-5518
http://www.leoncountyfl.gov
"People Focused.  Performance Driven."


Please note that under Florida's Public Records laws, most written 
communications
to or from county staff or officials regarding county business are public 
records
available to the public and media upon request.  Your e-mail communications may
therefore be subject to public disclosure.


>>> On 9/4/2013 at 1:11 PM, Jason Gauthier 
>>> mailto:jgauth...@lastar.com>> wrote:
To follow up on my own email. It looks like this is not just the upgrade. I 
moved my 3.2.1 binary back in, and it still happens.

And I’ve found that it’s not limited to the notification commands:

[1378314473] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;SOFT;1;check_ping: 
Invalid hostname/address - 19216874204
[1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP 
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid 
hostname/address - 19216874204
[1378314533] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;HARD;2;check_ping: 
Invalid hostname/address - 19216874204
[1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid 
hostname/address - 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP 
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 - Load;WARNING;HARD;10;85% CPU 
load.
[1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid 
hostname/address - 19216874204
[1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid 
hostname/address – 19216874204

(the periods are removed from the IPs)
I really have no idea what caused this, but I am reviewing my config and 
changes I made while testing splunk, and opsgenie integration.


From: Jason Gauthier
Sent: Wednesday, September 04, 2013 10:28 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: Upgraded from 3.2.1 to 3.5 - macros broke?

Greetings,

It seems during a recent upgrade, my notifications broke!  Well, I did digging 
and found notification themselves are working, but the macro variables are 
completely botched.

I took “notify-by-email”, and changed it to this:
/usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ 
($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** 
$NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" 
$CONTACTEMAIL$" >> /tmp/nagiosnotify.log

So, it will write the contents to a file instead of just directly piped to 
mail.  Here is what I see:

"Notification Type: RECOVERY ($)

Service: $
Host: v-ww7b2
Address: 19216876178
State: $

Date/Time: W Sp 4 10:18:11 EDT 2013

Additional Info:

$

Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv


It seems like all of the variable are wrong. For instance, the host is 
v-windows7lab2.
The email address starts with “bv”, but it ends with a whole lot more!

I’m not sure what would be causing this, and would appreciate any input.

Thanks!




Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

2013-09-04 Thread Jason Gauthier
Well, I’m not really sure what changed.  But it was an issue with 
illegal_macro_output_chars=\"`\"
It somehow got set incorrectly.



From: Jon Adcock [mailto:adco...@leoncountyfl.gov]
Sent: Wednesday, September 04, 2013 1:53 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

Jason,

  Looking at your notify-by-email definition, there are a lot of escape 
sequences ( \" ).  I think that's what's messing you up.  My 
notify-service-by-email definition is shown below.  Start with that and tweak 
it to your taste.
# 'notify-service-by-email' command definition
define command{
command_namenotify-service-by-email
command_line/usr/bin/printf "%b" "\nDate/Time: 
$LONGDATETIME$\n\nService: $SERVICEDESC$\n\nService check res
ults: $SERVICEOUTPUT$\n\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: 
$SERVICESTATE$\n\n* Nagios *\n\nNotif
ication Type: $NOTIFICATIONTYPE$\n\nAdditional Info:\n" | /usr/bin/mail -s "** 
$NOTIFICATIONTYPE$ Service Alert: $HOSTAL
IAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}

Jon


Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL  32301
Office:  (850) 606-5518
http://www.leoncountyfl.gov
"People Focused.  Performance Driven."


Please note that under Florida's Public Records laws, most written 
communications
to or from county staff or officials regarding county business are public 
records
available to the public and media upon request.  Your e-mail communications may
therefore be subject to public disclosure.


>>> On 9/4/2013 at 1:11 PM, Jason Gauthier  wrote:
To follow up on my own email. It looks like this is not just the upgrade. I 
moved my 3.2.1 binary back in, and it still happens.

And I’ve found that it’s not limited to the notification commands:

[1378314473] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;SOFT;1;check_ping: 
Invalid hostname/address - 19216874204
[1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP 
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid 
hostname/address - 19216874204
[1378314533] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;HARD;2;check_ping: 
Invalid hostname/address - 19216874204
[1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid 
hostname/address - 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP 
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 - Load;WARNING;HARD;10;85% CPU 
load.
[1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid 
hostname/address - 19216874204
[1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid 
hostname/address – 19216874204

(the periods are removed from the IPs)
I really have no idea what caused this, but I am reviewing my config and 
changes I made while testing splunk, and opsgenie integration.


From: Jason Gauthier
Sent: Wednesday, September 04, 2013 10:28 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: Upgraded from 3.2.1 to 3.5 - macros broke?

Greetings,

It seems during a recent upgrade, my notifications broke!  Well, I did digging 
and found notification themselves are working, but the macro variables are 
completely botched.

I took “notify-by-email”, and changed it to this:
/usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ 
($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** 
$NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" 
$CONTACTEMAIL$" >> /tmp/nagiosnotify.log

So, it will write the contents to a file instead of just directly piped to 
mail.  Here is what I see:

"Notification Type: RECOVERY ($)

Service: $
Host: v-ww7b2
Address: 19216876178
State: $

Date/Time: W Sp 4 10:18:11 EDT 2013

Additional Info:

$

Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv


It seems like all of the variable are wrong. For instance, the host is 
v-windows7lab2.
The email address starts with “bv”, but it ends with a whole lot more!

I’m not sure what would be causing this, and would appreciate any input.

Thanks!



--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.s

Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

2013-09-04 Thread Jon Adcock
Jason,
 
  Looking at your notify-by-email definition, there are a lot of escape
sequences ( \" ).  I think that's what's messing you up.  My
notify-service-by-email definition is shown below.  Start with that and
tweak it to your taste.
# 'notify-service-by-email' command definition
define command{
command_namenotify-service-by-email
command_line/usr/bin/printf "%b" "\nDate/Time:
$LONGDATETIME$\n\nService: $SERVICEDESC$\n\nService check res
ults: $SERVICEOUTPUT$\n\nHost: $HOSTALIAS$\nAddress:
$HOSTADDRESS$\nState: $SERVICESTATE$\n\n* Nagios *\n\nNotif
ication Type: $NOTIFICATIONTYPE$\n\nAdditional Info:\n" | /usr/bin/mail
-s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTAL
IAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
}
 
Jon




Jon Adcock
Network Systems Administrator
Leon County MIS
301 S. Monroe St.
Tallahassee, FL  32301
Office:  (850) 606-5518
http://www.leoncountyfl.gov
"People Focused.  Performance Driven."
 
 
Please note that under Florida's Public Records laws, most written
communications 
to or from county staff or officials regarding county business are
public records 
available to the public and media upon request.  Your e-mail
communications may 
therefore be subject to public disclosure.



>>> On 9/4/2013 at 1:11 PM, Jason Gauthier 
wrote:


To follow up on my own email. It looks like this is not just the
upgrade. I moved my 3.2.1 binary back in, and it still happens.
 
And I’ve found that it’s not limited to the notification commands:
 
[1378314473] SERVICE ALERT: Server86;Server86 -
Ping;UNKNOWN;SOFT;1;check_ping: Invalid hostname/address - 19216874204
[1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid
hostname/address - 19216874204
[1378314533] SERVICE ALERT: Server86;Server86 -
Ping;UNKNOWN;HARD;2;check_ping: Invalid hostname/address - 19216874204
[1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid
hostname/address - 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 -
Load;WARNING;HARD;10;85% CPU load.
[1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid
hostname/address - 19216874204
[1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid
hostname/address – 19216874204
 
(the periods are removed from the IPs)
I really have no idea what caused this, but I am reviewing my config
and changes I made while testing splunk, and opsgenie integration.
 
 

From: Jason Gauthier 
Sent: Wednesday, September 04, 2013 10:28 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: Upgraded from 3.2.1 to 3.5 - macros broke?

 
Greetings,
 
It seems during a recent upgrade, my notifications broke!  Well, I did
digging and found notification themselves are working, but the macro
variables are completely botched.
 
I took “notify-by-email”, and changed it to this:
/usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$
($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost:
$HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nComment:
$SERVICEACKCOMMENT$\" | /bin/mail -s \"** $NOTIFICATIONTYPE$ alert -
$HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" $CONTACTEMAIL$" >>
/tmp/nagiosnotify.log
 
So, it will write the contents to a file instead of just directly piped
to mail.  Here is what I see:
 
"Notification Type: RECOVERY ($)
 
Service: $
Host: v-ww7b2
Address: 19216876178
State: $
 
Date/Time: W Sp 4 10:18:11 EDT 2013
 
Additional Info:
 
$
 
Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv
 
 
It seems like all of the variable are wrong. For instance, the host is
v-windows7lab2. 
The email address starts with “bv”, but it ends with a whole lot more!
 
I’m not sure what would be causing this, and would appreciate any
input.
 
Thanks!
 
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

2013-09-04 Thread Jason Gauthier
Greetings,

It seems during a recent upgrade, my notifications broke!  Well, I did digging 
and found notification themselves are working, but the macro variables are 
completely botched.

I took "notify-by-email", and changed it to this:
/usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ 
($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** 
$NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" 
$CONTACTEMAIL$" >> /tmp/nagiosnotify.log

So, it will write the contents to a file instead of just directly piped to 
mail.  Here is what I see:

"Notification Type: RECOVERY ($)

Service: $
Host: v-ww7b2
Address: 19216876178
State: $

Date/Time: W Sp 4 10:18:11 EDT 2013

Additional Info:

$

Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv


It seems like all of the variable are wrong. For instance, the host is 
v-windows7lab2.
The email address starts with "bv", but it ends with a whole lot more!

I'm not sure what would be causing this, and would appreciate any input.

Thanks!

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Upgraded from 3.2.1 to 3.5 - macros broke?

2013-09-04 Thread Jason Gauthier
To follow up on my own email. It looks like this is not just the upgrade. I 
moved my 3.2.1 binary back in, and it still happens.

And I've found that it's not limited to the notification commands:

[1378314473] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;SOFT;1;check_ping: 
Invalid hostname/address - 19216874204
[1378314493] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;SOFT;1;TCP 
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314503] HOST ALERT: Server86;DOWN;SOFT;1;check_ping: Invalid 
hostname/address - 19216874204
[1378314533] SERVICE ALERT: Server86;Server86 - Ping;UNKNOWN;HARD;2;check_ping: 
Invalid hostname/address - 19216874204
[1378314543] HOST ALERT: Server86;DOWN;SOFT;2;check_ping: Invalid 
hostname/address - 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 - SAP;CRITICAL;HARD;2;TCP 
CRITICAL - Invalid hostname, address or socket: 19216874204
[1378314553] SERVICE ALERT: Server86;Server86 - Load;WARNING;HARD;10;85% CPU 
load.
[1378314563] HOST ALERT: Server86;DOWN;SOFT;3;check_ping: Invalid 
hostname/address - 19216874204
[1378314573] HOST ALERT: Server86;DOWN;SOFT;4;check_ping: Invalid 
hostname/address - 19216874204

(the periods are removed from the IPs)
I really have no idea what caused this, but I am reviewing my config and 
changes I made while testing splunk, and opsgenie integration.


From: Jason Gauthier
Sent: Wednesday, September 04, 2013 10:28 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: Upgraded from 3.2.1 to 3.5 - macros broke?

Greetings,

It seems during a recent upgrade, my notifications broke!  Well, I did digging 
and found notification themselves are working, but the macro variables are 
completely botched.

I took "notify-by-email", and changed it to this:
/usr/bin/printf "\"%b\" \"Notification Type: $NOTIFICATIONTYPE$ 
($SERVICEACKAUTHOR$)\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$\n\nComment: $SERVICEACKCOMMENT$\" | /bin/mail -s \"** 
$NOTIFICATIONTYPE$ alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **\" 
$CONTACTEMAIL$" >> /tmp/nagiosnotify.log

So, it will write the contents to a file instead of just directly piped to 
mail.  Here is what I see:

"Notification Type: RECOVERY ($)

Service: $
Host: v-ww7b2
Address: 19216876178
State: $

Date/Time: W Sp 4 10:18:11 EDT 2013

Additional Info:

$

Comment: $" | /bin/mail -s "** RECOVERY alert - v-ww7b2/$ is $ **" bv


It seems like all of the variable are wrong. For instance, the host is 
v-windows7lab2.
The email address starts with "bv", but it ends with a whole lot more!

I'm not sure what would be causing this, and would appreciate any input.

Thanks!

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Ziproxy - Nagios check

2013-09-04 Thread Sunil Sankar
There are multiple ways to check you can use
 check_procs -c 1: -w 3: -C 

or

check_tcp -H $HOSTADDRESS -p 



On Mon, Sep 2, 2013 at 5:20 PM, Paul Simons  wrote:

>  Hello
>
> Has anyone developed a check to confirm that Ziproxy (useful compression
> proxy) is running (under xinetd)?
>
> I would like to use a standard plugin if possible, I have been playing
> with the ‘check_http’ but without success.
>
> Regards
>
> Paul
>
> --
>
> Disclaimer: This e-mail (and any attachments to it) is confidential and
> intended solely for the named person/s to whom it is addressed. If you are
> not an intended recipient, please notify us immediately and delete the
> email from your system. Any review, dissemination or other use of it in
> these circumstances is prohibited.
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>



-- 
Regards
Sunil Sankar
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Monitoring Asterisk Dundi Peers

2013-09-04 Thread Bruno Martins | Grupo Rumos
Hello list,

I am currently using our Nagios 3.5.0 server to monitor our Asterisk servers.
Our monitored services include SIP peers, like, to see if a certain peer is 
alive and well through Nagios, using NRPE. However, this only works for a local 
peer.

Is there any way for me to monitor remote peers? Asterisk's CLI can do this, 
but I suspect I don't have enough knowledge to change the Perl/Bash/whatever 
script I am using.

Checking if one Asterisk server can reach another is not sufficient, since they 
can talk to each other through ICMP but not make calls between each other.

Thanks a lot.

Best regards,

Bruno Martins
INFORMATION SYSTEMS
Helpdesk Support Engineer


 
Tel. (+351) 217 824 150   Ext. 2150
 
Campo Grande, 56
1700-093 LISBOA
 
www.gruporumos.com


--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null