Search found 2 matches
- Thu Mar 18, 2004 3:56 pm
- Forum: Scripts and Templates
- Topic: Cacti & NetSaint/Nagios NSClient Scripts to monitor Wind
- Replies: 51
- Views: 97892
new plugins, new output
in the RPM package nagios-plugins-1.3.1-7 the output is as follows: CPU Load 4% (10 min average) so I modified the script : #!/usr/bin/perl $response = `/usr/lib/nagios/plugins/check_nt -H $ARGV[0] -p 1248 -v CPULOAD -l 10,80,95`; chomp $response; ($load) = ($response =~ /Load (\d+)/); print "$...
- Thu Mar 18, 2004 3:44 pm
- Forum: Scripts and Templates
- Topic: Cacti & NetSaint/Nagios NSClient Scripts to monitor Wind
- Replies: 51
- Views: 97892
new plugins, new output
the version of the plugins I'm running output the cpu load check as such:
CPU Load 4% (10 min average)
how do I modify ($load) = ($response =~ /oad. (\d+)\%\)/); to fix this?
CPU Load 4% (10 min average)
how do I modify ($load) = ($response =~ /oad. (\d+)\%\)/); to fix this?