- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Software to monitor system uptime
Operating System - HP-UX
1752805
Members
5808
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 06:02 AM
тАО12-02-2004 06:02 AM
Re: Software to monitor system uptime
Monitoring uptimes was quite fancy some months ago, maybe have a look at
http://www.mreriksson.net/uptimes/uptimec/ and friends.
http://www.mreriksson.net/uptimes/uptimec/ and friends.
yesterday I stood at the edge. Today I'm one step ahead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-02-2004 06:27 AM
тАО12-02-2004 06:27 AM
Re: Software to monitor system uptime
Actually - I forgot to mention - if you want management to see "live" graphs, have a look at MRTG:
http://www.ee.ethz.ch/~oetiker/webtools/mrtg
I use it to monitor CPU and Memory of my servers, but you can also do uptime as well...
Here's how I monitor HP-UX with SNMP:
######################################################################
Target[sha1.internaldomain.netcpup]:.1.3.6.1.4.1.11.2.3.1.1.15.0&.1.3.6.1.4.1.11.2.3.1.1.13.0:public@sha1.p
cacorp.net + .1.3.6.1.4.1.11.2.3.1.1.16.0&.1.3.6.1.4.1.11.2.3.1.1.14.0:public@sha1.internaldomain.net
Title[sha1.internaldomain.netcpup]: CPU Load on sha1.internaldomain.net
MaxBytes[sha1.internaldomain.netcpup]: 100
Ylegend[sha1.internaldomain.netcpup]: CPU Load
ShortLegend[sha1.internaldomain.netcpup]: %
PageTop[sha1.internaldomain.netcpup]:
Options[sha1.internaldomain.netcpup]: integer, growright, nopercent
WithPeak[sha1.internaldomain.netcpup]: wmy
LegendO[sha1.internaldomain.netcpup]: User/System:
LegendI[sha1.internaldomain.netcpup]: Idle/Nice:
Legend1[sha1.internaldomain.netcpup]: Idle/Nice CPU Time
Legend2[sha1.internaldomain.netcpup]: User/System CPU Time
Legend3[sha1.internaldomain.netcpup]: Maximal Idle/Nice CPU Time
Legend4[sha1.internaldomain.netcpup]: Maximal User/System CPU Time
######################################################################
Target[sha1.internaldomain.netmem]: .1.3.6.1.4.1.11.2.3.1.1.7.0&.1.3.6.1.4.1.11.2.3.1.1.8.0:public@sha1.pca
corp.net
Title[sha1.internaldomain.netmem]: Memory on sha1.internaldomain.net
MaxBytes[sha1.internaldomain.netmem]: 100000000
Ylegend[sha1.internaldomain.netmem]: Memory Usage
ShortLegend[sha1.internaldomain.netmem]:
PageTop[sha1.internaldomain.netmem]:
Options[sha1.internaldomain.netmem]: integer, gauge, growright, nopercent
kilo[sha1.internaldomain.netmem]: 1024
WithPeak[sha1.internaldomain.netmem]: wmy
LegendO[sha1.internaldomain.netmem]: Total:
LegendI[sha1.internaldomain.netmem]: Free:
Legend1[sha1.internaldomain.netmem]: Free System Memory
Legend2[sha1.internaldomain.netmem]: Total Available System Memory
Legend3[sha1.internaldomain.netmem]: Maximal Available System Memory
Legend4[sha1.internaldomain.netmem]: Maximal Free System Memory
######################################################################
Sun and others - you need to script (as snmp is limited).
# dns stats for mrtg
3,8,13,18,23,28,33,38,43,48,53,58 * * * * /usr/local/bin/mrtg-dns-stats >/dev/null 2>&1
#!/bin/sh
# generate mrtg file for dns stats
/usr/local/sbin/rndc stats
SERVER=`uname -n`
MRTG=/tmp/$SERVER.named.stats.mrtg
STATS=/etc/namedb/named.stats
#get success
tail -7 $STATS | head -1 |awk '{print $2}'>$MRTG
tail -2 $STATS | head -1 |awk '{print $2}'>>$MRTG
uptime | awk '{print $3,$4,$5}' |sed s/,//g >>$MRTG
echo $SERVER >>$MRTG
#generate mrtg file for cpu
MRTGcpu=/tmp/$SERVER.cpu.stats.mrtg
idle="`/usr/bin/vmstat 1 2 | tail -1 | awk '{print $NF}'`"
usersys=`expr 100 - $idle`
echo $idle >$MRTGcpu
echo $usersys >>$MRTGcpu
uptime | awk '{print $3,$4,$5}' |sed s/,//g >>$MRTGcpu
echo $SERVER >>$MRTGcpu
MRTGmem=/tmp/$SERVER.mem.stats.mrtg
/usr/local/bin/mem-swap4mrtg.sh mem >$MRTGmem
The rcp those files to your web server:
#------------------------------------------
Target[dnsdnsserver]: `cat /tmp/dnsserver.named.stats.mrtg`
Options[dnsdnsserver]: nopercent,growright,perhour
Title[dnsdnsserver]: DNS: Requests per hour on dnsserver
PageTop[dnsdnsserver]:
MaxBytes[dnsdnsserver]: 1000000000
YLegend[dnsdnsserver]: reqs/hour
ShortLegend[dnsdnsserver]: per hour
LegendI[dnsdnsserver]: Requests:
LegendO[dnsdnsserver]: Failures:
Legend1[dnsdnsserver]: Requests per hour
Legend2[dnsdnsserver]: Failures per hour
PageFoot[dnsdnsserver]:
Note:
success is the number of successful queries the server handled.
failures is the number of queries the server received that resulted in
errors other than those covered by nxrrset and nxdomain.
#------------------------------------------
Target[dnsserver.cpu]: `cat /tmp/dnsserver.cpu.stats.mrtg`
Title[dnsserver.cpu]: CPU Load on dnsserver.pcacorp.net
MaxBytes[dnsserver.cpu]: 100
Ylegend[dnsserver.cpu]: CPU Load
ShortLegend[dnsserver.cpu]: %
PageTop[dnsserver.cpu]:
Options[dnsserver.cpu]: integer, gauge, growright, nopercent
WithPeak[dnsserver.cpu]: wmy
LegendO[dnsserver.cpu]: User/System:
LegendI[dnsserver.cpu]: Idle/Nice:
Legend1[dnsserver.cpu]: Idle/Nice CPU Time
Legend2[dnsserver.cpu]: User/System CPU Time
Legend3[dnsserver.cpu]: Maximal Idle/Nice CPU Time
Legend4[dnsserver.cpu]: Maximal User/System CPU Time
Target[dnsserver.mem]: `cat /tmp/dnsserver.mem.stats.mrtg`
Title[dnsserver.mem]: Memory on dnsserver.pcacorp.net
MaxBytes[dnsserver.mem]: 1000000000
Ylegend[dnsserver.mem]: Memory Usage
ShortLegend[dnsserver.mem]:
PageTop[dnsserver.mem]:
Options[dnsserver.mem]: integer, gauge, growright, nopercent
kilo[dnsserver.mem]: 1024
WithPeak[dnsserver.mem]: wmy
kMG[dnsserver.mem]: k,M,G
LegendI[dnsserver.mem]: Free:
LegendO[dnsserver.mem]: Total:
Legend1[dnsserver.mem]: Free System Memory
Legend2[dnsserver.mem]: Total Available System Memory
Legend3[dnsserver.mem]: Maximal Free System Memory
Legend4[dnsserver.mem]: Maximal Available System Memory
Rgds...Geoff
http://www.ee.ethz.ch/~oetiker/webtools/mrtg
I use it to monitor CPU and Memory of my servers, but you can also do uptime as well...
Here's how I monitor HP-UX with SNMP:
######################################################################
Target[sha1.internaldomain.netcpup]:.1.3.6.1.4.1.11.2.3.1.1.15.0&.1.3.6.1.4.1.11.2.3.1.1.13.0:public@sha1.p
cacorp.net + .1.3.6.1.4.1.11.2.3.1.1.16.0&.1.3.6.1.4.1.11.2.3.1.1.14.0:public@sha1.internaldomain.net
Title[sha1.internaldomain.netcpup]: CPU Load on sha1.internaldomain.net
MaxBytes[sha1.internaldomain.netcpup]: 100
Ylegend[sha1.internaldomain.netcpup]: CPU Load
ShortLegend[sha1.internaldomain.netcpup]: %
PageTop[sha1.internaldomain.netcpup]:
CPU Load on sha1.internaldomain.net
Options[sha1.internaldomain.netcpup]: integer, growright, nopercent
WithPeak[sha1.internaldomain.netcpup]: wmy
LegendO[sha1.internaldomain.netcpup]: User/System:
LegendI[sha1.internaldomain.netcpup]: Idle/Nice:
Legend1[sha1.internaldomain.netcpup]: Idle/Nice CPU Time
Legend2[sha1.internaldomain.netcpup]: User/System CPU Time
Legend3[sha1.internaldomain.netcpup]: Maximal Idle/Nice CPU Time
Legend4[sha1.internaldomain.netcpup]: Maximal User/System CPU Time
######################################################################
Target[sha1.internaldomain.netmem]: .1.3.6.1.4.1.11.2.3.1.1.7.0&.1.3.6.1.4.1.11.2.3.1.1.8.0:public@sha1.pca
corp.net
Title[sha1.internaldomain.netmem]: Memory on sha1.internaldomain.net
MaxBytes[sha1.internaldomain.netmem]: 100000000
Ylegend[sha1.internaldomain.netmem]: Memory Usage
ShortLegend[sha1.internaldomain.netmem]:
PageTop[sha1.internaldomain.netmem]:
Memory on sha1.internaldomain.net
Options[sha1.internaldomain.netmem]: integer, gauge, growright, nopercent
kilo[sha1.internaldomain.netmem]: 1024
WithPeak[sha1.internaldomain.netmem]: wmy
LegendO[sha1.internaldomain.netmem]: Total:
LegendI[sha1.internaldomain.netmem]: Free:
Legend1[sha1.internaldomain.netmem]: Free System Memory
Legend2[sha1.internaldomain.netmem]: Total Available System Memory
Legend3[sha1.internaldomain.netmem]: Maximal Available System Memory
Legend4[sha1.internaldomain.netmem]: Maximal Free System Memory
######################################################################
Sun and others - you need to script (as snmp is limited).
# dns stats for mrtg
3,8,13,18,23,28,33,38,43,48,53,58 * * * * /usr/local/bin/mrtg-dns-stats >/dev/null 2>&1
#!/bin/sh
# generate mrtg file for dns stats
/usr/local/sbin/rndc stats
SERVER=`uname -n`
MRTG=/tmp/$SERVER.named.stats.mrtg
STATS=/etc/namedb/named.stats
#get success
tail -7 $STATS | head -1 |awk '{print $2}'>$MRTG
tail -2 $STATS | head -1 |awk '{print $2}'>>$MRTG
uptime | awk '{print $3,$4,$5}' |sed s/,//g >>$MRTG
echo $SERVER >>$MRTG
#generate mrtg file for cpu
MRTGcpu=/tmp/$SERVER.cpu.stats.mrtg
idle="`/usr/bin/vmstat 1 2 | tail -1 | awk '{print $NF}'`"
usersys=`expr 100 - $idle`
echo $idle >$MRTGcpu
echo $usersys >>$MRTGcpu
uptime | awk '{print $3,$4,$5}' |sed s/,//g >>$MRTGcpu
echo $SERVER >>$MRTGcpu
MRTGmem=/tmp/$SERVER.mem.stats.mrtg
/usr/local/bin/mem-swap4mrtg.sh mem >$MRTGmem
The rcp those files to your web server:
#------------------------------------------
Target[dnsdnsserver]: `cat /tmp/dnsserver.named.stats.mrtg`
Options[dnsdnsserver]: nopercent,growright,perhour
Title[dnsdnsserver]: DNS: Requests per hour on dnsserver
PageTop[dnsdnsserver]:
DNS: Requests per hour on dnsserver
MaxBytes[dnsdnsserver]: 1000000000
YLegend[dnsdnsserver]: reqs/hour
ShortLegend[dnsdnsserver]: per hour
LegendI[dnsdnsserver]: Requests:
LegendO[dnsdnsserver]: Failures:
Legend1[dnsdnsserver]: Requests per hour
Legend2[dnsdnsserver]: Failures per hour
PageFoot[dnsdnsserver]:
Note:
success is the number of successful queries the server handled.
failures is the number of queries the server received that resulted in
errors other than those covered by nxrrset and nxdomain.
#------------------------------------------
Target[dnsserver.cpu]: `cat /tmp/dnsserver.cpu.stats.mrtg`
Title[dnsserver.cpu]: CPU Load on dnsserver.pcacorp.net
MaxBytes[dnsserver.cpu]: 100
Ylegend[dnsserver.cpu]: CPU Load
ShortLegend[dnsserver.cpu]: %
PageTop[dnsserver.cpu]:
CPU Load on dnsserver
Options[dnsserver.cpu]: integer, gauge, growright, nopercent
WithPeak[dnsserver.cpu]: wmy
LegendO[dnsserver.cpu]: User/System:
LegendI[dnsserver.cpu]: Idle/Nice:
Legend1[dnsserver.cpu]: Idle/Nice CPU Time
Legend2[dnsserver.cpu]: User/System CPU Time
Legend3[dnsserver.cpu]: Maximal Idle/Nice CPU Time
Legend4[dnsserver.cpu]: Maximal User/System CPU Time
Target[dnsserver.mem]: `cat /tmp/dnsserver.mem.stats.mrtg`
Title[dnsserver.mem]: Memory on dnsserver.pcacorp.net
MaxBytes[dnsserver.mem]: 1000000000
Ylegend[dnsserver.mem]: Memory Usage
ShortLegend[dnsserver.mem]:
PageTop[dnsserver.mem]:
Memory on dnsserver
Options[dnsserver.mem]: integer, gauge, growright, nopercent
kilo[dnsserver.mem]: 1024
WithPeak[dnsserver.mem]: wmy
kMG[dnsserver.mem]: k,M,G
LegendI[dnsserver.mem]: Free:
LegendO[dnsserver.mem]: Total:
Legend1[dnsserver.mem]: Free System Memory
Legend2[dnsserver.mem]: Total Available System Memory
Legend3[dnsserver.mem]: Maximal Free System Memory
Legend4[dnsserver.mem]: Maximal Available System Memory
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2004 07:00 AM
тАО12-03-2004 07:00 AM
Re: Software to monitor system uptime
The package that used to graph the MeasureWare results used to be called PerfView, now renamed. It was sold separately. To get recent information contact your HP OpenView Sales Rep.
http://www.managementsoftware.hp.com/products/ovperf/index.html
also
http://www.managementsoftware.hp.com/products/ovpi/index.html
http://www.managementsoftware.hp.com/products/ovperf/index.html
also
http://www.managementsoftware.hp.com/products/ovpi/index.html
Mom 6
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP