Additional information about services

Subhendu Ghosh sghosh at sghosh.org
Sun Sep 29 20:12:27 CEST 2002


On Sat, 28 Sep 2002, Atul Gosain wrote:

> hi
> 
> I have been trying to send traceroute snapshots with the mails sent when
> ping service is critical and ps snapshot when cpu load is critical. I have
> made a script for that andcalled that from notify-by-email command.
> The difficult part is while sending the ps snapshots of the remote host
> from which information is coming through nrpe.
> 
> How do i send ps snapshot of remote host back to nagios host?
> 
> Any ideas or suggestions.
> 
> 
> 

if by a ps snapshot you are talking about list of all process - that has 
to be done outside of the nrpe setup because it is quite a bit of data.

you might what to have your notify script call for a ps listing using 
"check_by_ssh" and wrap the results into the email.


-- 

-sg



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list