Environmental

check_strings

Description:

Check value for specified string in a web page, and sends alerts for warning and critical threshold.

I used it to monitor the datacenter’s temperature and humidity.

Current Version

1.0

Last Release Date

2011-05-02

Compatible With

  • Nagios 3.x

License

GPL


Project Files
Project Notes
Utility to check values of strings on a web page. Usefull for a lot of stuff. (any kind of sensor /application that reports it's status on a web page) The value and the string must be on the same row, like this: Temperature 25.29°C Relative Humidity 28% Air Flow 29 Light Level 1 Sound Level 77 IO-1 99 IO-2 99 IO-3 99 Usage for extracting temperature: /usr/lib64/nagios/plugins/check_string -H -s "Temperature" -w 20 -c 30 WARNING Temperature 25 | Temperature=25;20;30 /usr/lib64/nagios/plugins/check_string -H 10.160.198.130 -s "Relative Humidity" -w 30 -c 40 OK Relative Humidity 29 | Relative Humidity=29;30;40 Seeing it in action: define command { command_name check_string command_line $USER1$/check_string -H $HOSTADDRESS$ -s $ARG1$ -w $ARG2$ -c $ARG3$ register 1 } check_command check_string!"Relative Humidity"!40!50
Reviews (0) Add a Review
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
5 (1)
Favorites
0
Views
97,493