[Nagiosplug-help] Nagios Plugin

Kaushal Shriyan kaushalshriyan at gmail.com
Tue Jul 15 16:29:18 CEST 2008


Hi,

$ netstat -an|grep 12001|wc -l
3
$ netstat -an|grep 12001|cut -c69-|sort|uniq -c
      2 ESTABLISHED
      1 LISTEN
alert will be, if command1 returns more than 200, than send the output of
command2.

Can somebody here can point me to any bash script example. I would develop
on it

Thanks and Regards

Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080715/b1e37920/attachment.html>


More information about the Help mailing list