[Nagios-users] nagios-users@lists.sourceforge.net and false Razor anti-spam

2009-05-15 Thread David Ford
Someone on this list has been reporting a fair selection of nagios-users 
emails as spam to the Razor tool.

X-Razor2-Warning: SPAM
X-Razor2-Sig: 1.0 e4: 0rOhnO08FGbKR-oj-QwmGDbSHzEA, ep4: 7542-10 1.0 e8: 
fihggQZqp-AA 1.0 e8: 2z1OXlWFp-AA 1.1 e4: IHwNzYZxVlrCMRevqOM9lZqwptgA, ep4: 
7542-10 1.1 e8: fihggQZqx0AA 1.1 e8: 2z1OXlWFx0AA 1.2 e4: 
um_sB0WogRHwe9mMm6wG7z_i5S0A, ep4: 7542-10 1.2 e8: 2z1OXlWFdGkA 1.3 e4: 
y1cOh5Qs3lNbsbJ4FwaOXyGXwK8A, ep4: 7542-10 1.3 e8: FP58Ms26dGkA

It has been going on since before I joined the list a couple years ago.

I've sent emails to Razor admins a few times with no replies.  It seems 
the administrators of Vipul's Razor are deaf to the world.  There are 
days where I think more of the list ends up in $bitbucket than in $mailbox.

Would each of you please check your setup and make sure you're not 
telling Razor that this list mail is spam?

Thank you,
-david


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
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] nagios-users list and Razor2 tagging

2009-03-11 Thread David Ford
Somebody please fix their procmail rules, you're sending nagios-users
email signatures to Razor2 as spam.

X-Razor2-Warning: SPAM
X-Razor2-Sig: 1.0 e4: uFKK6tHzMIx_07U5qvqm0YEWA30A, ep4: 7542-10 1.1 e4: 
fR-puWwnQxXoUaOd6iTNm8rbJvYA, ep4: 7542-10 1.2 e4: 
HHJkOE8_FYHqGUDD4cWpWO_fB8MA, ep4: 7542-10 1.2 e8: 2z1OXlWFXe8A 1.3 e4: 
y1cOh5Qs3lNbsbJ4FwaOXyGXwK8A, ep4: 7542-10 1.3 e8: FP58Ms26dGkA 


-david

-- 
Linux: freedom to build is good
Please top-post and trim when replying to my messages. I most often read mail 
on a small device.

VERY NOT-IMPORTANT NOT-LEGAL NOTICES:
Recalling a message does in no way delete it from my computer.  Rather, it 
brings attention to your original email and recalling it causes me to search 
for a reason to find embarrassment.  Please don't send message recall messages. 
 It's silly and obnoxious and wastes even more bandwidth and patience.

Regardless of what legal message you append to your email message, I am not 
obligated or constrained in any way shape or form. If I feel like printing it 
outand taping it up at the local gym, or mass mailing it to 15,000 people, I 
will.  I feel especially inclined to do so the longer your "legal" advisory is. 
 Such notices are unenforceable and do not protect you or your company from 
things you say, or things others do with the email.

"Millions of innocent men, women and children, since the introduction of 
Christianity, have been burnt, tortured, fined, imprisoned; yet we have not 
advancedone inch towards uniformity. What has been the effect of coercion? To 
make half the world fools, and the other half hypocrites." --Thomas Jefferson

This message is confidential to the Internet at large, unless otherwise 
indicated or apparent from its nature. It may not be reproduced on Mars unless 
it has previously been printed on Uranus. This message is directed to the 
intended recipient only (usually everyone, but sometimes nobody and once in a 
blue moon, just somebody), who may be readily determined by the sender of this 
message and its contents. This email message (including any attachments) is not 
for the sole use of the intended recipient(s) and may or may not contain 
confidential, proprietary and privileged information. It may include sarcastic 
holier than tho content.  If the reader of this message is not the intended 
recipient, or an employee or agent responsible for delivering this message to 
the intended recipient: (a) any dissemination or copying of this message is 
strictly prohibited unless you feel otherwise; and (b) immediately notify the 
sender by return message (but only if the sun has gone black) and destroy any 
copies of this message in any form (electronic, paper or carved in stone) that 
you have. Please destroy by smashing your computer with a 21lb sledge hammer 
approximately 17 times to ensure destruction of your system. Any unauthorized 
review, use, disclosure or distribution is most assuredly not prohibited and 
you will not IMMEDIATELY be PROSECUTED to the fullest ... or emptiest ... 
extent of the law. If you are not the intended recipient, please immediately 
notify some random person of your age, sex, and location and your undying 
desire to fornicate with them by email and destroy all copies of the original 
message if you sent it to an underage person.  Oh, and definitely don't tell me 
about it. The delivery of this message and its information is neither intended 
to be nor constitutes a disclosure or waiver of any trade secrets, intellectual 
property, attorney work product, or attorney-client communications. If you 
happen to be a corporation that uses lawyer-think-speak-asinine-thoughts well 
then please sit your ass back down and we will promptly ignore the hell out of 
you and your disclaimers.  Wait, no we won't.  We have this urgent primal need 
to publicly make fun of you, and then we'll repost your message in blazing full 
frontal nudity across the internet. The authority of the individual sending 
this message to legally bind any entity is neither apparent nor implied, and 
must be independently verified - uh ... duh? Isn't that obvious?  Of course 
not.  Only people with intelligence recognize such simple facts. Thank you for 
standing in the back yard and whining your ass off holding up tiny little 
posters forbidding mosquitoes from biting you.  Does a whole hell of a lot of 
good.  Right?  Yeah, you keep up with the delusions.  Keeping up with the Jones 
is good after all.  Holy hell Batman sleeps with Robin -- This disclaimer is 
short!



--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread David Ford
This is branching off topic, but using ssh with keys is hardly a
security hole.  Please don't be throwing a bucket of red herrings into
the crowd.  You can configure sub processing for ssh in a similar
function.  AFAIK, the encryption and use of keys is far more hefty of a
standards bar than using snmp.

This use of snmp may be a handy alternative, but using SSH is not
inherently flawed.

-david

Gary Every wrote:
> I, for one, am against any use of check_by_ssh as it requires
> authorized keys, hence opening a security hole. All scripts can be
> executed thru snmp. Install it on your servers and use the exec
> directive to remotely execute the script. The output will return the
> last line and the exit code from the call, so the check_snmp plugin
> can work.
> NOTE: Unless snmp was already installed on your nagios server prior to
> installing nagios, you'll need to re-run the ./configure, make and
> make install commands for the plugins, so check_snmp will be compiled in.
>
> A simple line in your snmpd.conf file like the one below can be
> executed from the nagios server:
>
> 
> exec checkrootpartition /usr/local/nagios/libexec/check_disk -w 1000
> -c 500 -p / -u MB
> 
>
> Subsequent exec directives can be added as well.
>
> Of course, you'll need to copy the libexec directory over to the
> remote server (although it's not necessary, you can write your own
> scripts if you'd like)
>
> All parameters will need to be on the line in the snmpd.conf file.
> Then write a little script on the nagios server to check it. Here's
> the contents of that script. It DOES require the community name be the
> same on both servers. In snmpd.conf, edit this line:
>
> com2sec readonly  default 
>
> and replace  with your made-up string
>
> 

Re: [Nagios-users] single command, multiple disks to monitor

2008-08-28 Thread David Ford
do you have something against using command[check_disk1] and
command[check_disk2]? :)

   command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 10% -c
5% -p /dev/sda1
   command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 10% -c
5% -p /dev/sda3

-david

Chandra Bahadur wrote:
> Hi
>I would like to monitor two partitions(/dev/sda1 and /dev/sda3) 
> with the same command..
> How do I specify those ? Is it by separating with commas or by just
> space as below ??
>
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5%
> -p /dev/sda3 /dev/sda1
>
> or
>
> command[check_disk]=/usr/local/nagios/libexec/check_disk -w 10% -c 5%
> -p /dev/sda3,/dev/sda1
>
> Thank you
>


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] nagios upgrade NRPE issues

2008-08-05 Thread David Ford
isn't that /var/run/nrpe/nrpe.pid? :)  are you using the new binary?

-david

gregorcy wrote:
> Hi,
>
> I recently upgraded nagios to 3.0.3 and I am having some trouble starting 
> after the upgrade, the error I get:
>
>   
>> Error: Unexpected token or statement in file '/etc/nagios/nrpe.cfg' on line 
>> 19.
>> 
>
>
> And line 19 of my nrpe.cfg is:
>
>   
>> pid_file=/var/run/nrpe.pid
>> 
>
>
> I tried change the directory to /var/run/nagios/nrpe.pid and then chowning 
> the new directory to nagios:nagios but it is 
> giving me the same error.
>
> Any ideas?
>
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] New user with nagios 3.0.3 hanging.

2008-08-01 Thread David Ford
Do you by chance have a pipe output defined, such as the nagios irc
bot?  And, is that bot not running on the other side of the pipe to read
what is written through the pipe?

If you have a pipe defined for an output, 3.x will hang if nothing is
reading from the other side of the pipe.

-david


Jose Luis Garcia wrote:
> Hello again,
>
> Has anybody else experienced this behaviour?
>
> I'm suffering it every few days.
>
> Thank you very much
>
> Jose Luis


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] CPU Usage for Linux

2008-07-17 Thread David Ford
on a tangent; you don't need [e]grep:

/usr/bin/vmstat 1 1 | awk '/[0-9]/ {print $15}'

-david

[EMAIL PROTECTED] wrote:
> i wrote a very simple one using vmstat to check the idle percentage
>
> /usr/bin/vmstat 1 1 | egrep '[0-9]' |awk '{print $15}'
>   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] problems with nagios spinning on notification

2008-07-03 Thread David Ford
When a service goes offline, nagios is supposed to tell nagios ircbot
about it.  The message gets to nagircbot but nagios is stuck in a dead
heat run at 100% cpu on read()

[1215140088.267404] [256.1] [pid=12801] Running command '/bin/echo
"PROBLEM DispatchBuddy Internal_PING_WAP_Dayroom CRITICAL $OUTPUT$
$DATETIME$" > /etc/nagios/nagiosbot.pipe &'...
[1215140088.274510] [064.1] [pid=12801] Making callbacks (type 10)...
[1215140088.284985] [001.0] [pid=20014] process_macros()
[1215140088.285654] [001.0] [pid=20014] process_macros()
[1215140088.285925] [001.0] [pid=20014] process_macros()
[1215140088.286113] [001.0] [pid=20014] process_macros()
[1215140088.286279] [001.0] [pid=20014] process_macros()
[1215140088.286455] [001.0] [pid=20014] process_macros()
[1215140088.290542] [001.0] [pid=20014] process_macros()
[1215140088.290890] [001.0] [pid=20014] process_macros()
[1215140088.291084] [001.0] [pid=20014] process_macros()


This was about 2.5 hours ago, the time now is +9400 seconds (2h36m)

nagios is doing nothing else but:

[...]
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
read(7, 0xbfa75b1c, 1023)   = -1 EAGAIN (Resource
temporarily unavailable)
[...]

Ranger data # ls -l /proc/12801/fd/7
lr-x--+ 1 root root 64 Jul  4 01:32 /proc/12801/fd/7 -> pipe:[65450357]

Ranger data # lsof|grep 65450357
nagios12801 nagios7r FIFO0,5
65450357 pipe
sh20016 nagios8w FIFO0,5
65450357 pipe

Ranger data # ps auxww|grep 20016
nagios   20016  0.0  0.0   2816   560 ?SJul03   0:00 sh -c
/bin/echo "PROBLEM DispatchBuddy Internal_PING_WAP_Dayroom CRITICAL
$OUTPUT$ $DATETIME$" > /etc/nagios/nagiosbot.pipe &



nagios won't do anything further.  I have to restart it.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
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